Array.prototype._T2 = 0; var _U2 = { _V2: [{ _W2: ["tph_djs.js"], init: "dj_init" }], _X2: [], _Y2: [{ _Z2: "spr_cars", width: 72, height: 96, __2: 2, _03: !1, _13: !1, preload: !1, _23: 36, _33: 96, _43: 16, _53: 55, _63: 48, _73: 85, _83: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] }, { _Z2: "spr_decoration", width: 64, height: 96, _03: !1, _13: !1, preload: !1, _23: 32, _33: 96, _43: 2, _53: 60, _73: 95, _83: [20, 21, 22, 23] }, { _Z2: "spr_lines", width: 32, height: 4, _03: !1, _13: !1, preload: !1, _23: 16, _53: 31, _73: 3, _83: [24] }, { _Z2: "spr_roadline_left", width: 40, height: 40, _03: !1, _13: !1, preload: !1, _23: 20, _53: 39, _73: 39, _83: [25] }, { _Z2: "spr_roadline_right", width: 40, height: 40, _03: !1, _13: !1, preload: !1, _23: 20, _53: 39, _73: 39, _83: [26] }, { _Z2: "spr_play", width: 80, height: 80, _03: !1, _13: !1, preload: !1, _23: 40, _33: 80, _53: 79, _73: 79, _83: [27] }, { _Z2: "spr_smallplay", width: 40, height: 40, _03: !1, _13: !1, preload: !1, _23: 20, _33: 40, _53: 39, _73: 39, _83: [28] }, { _Z2: "spr_plus", width: 40, height: 40, _03: !1, _13: !1, preload: !1, _23: 20, _33: 40, _53: 39, _73: 39, _83: [29] }, { _Z2: "spr_less", width: 40, height: 40, _03: !1, _13: !1, preload: !1, _23: 20, _33: 40, _53: 39, _73: 39, _83: [30] }, { _Z2: "spr_retry", width: 80, height: 80, _03: !1, _13: !1, preload: !1, _23: 40, _33: 40, _53: 79, _73: 79, _83: [31] }, { _Z2: "spr_quit", width: 80, height: 80, _03: !1, _13: !1, preload: !1, _23: 40, _33: 40, _53: 79, _73: 79, _83: [32] }, { _Z2: "spr_sun", width: 74, height: 74, _03: !1, _13: !1, preload: !1, _23: 37, _33: 37, _53: 73, _73: 73, _83: [33] }, { _Z2: "spr_crash", width: 200, height: 150, _03: !1, _13: !1, preload: !1, _23: 100, _33: 150, _43: 1, _53: 198, _63: 11, _73: 149, _83: [34] }, { _Z2: "spr_title", width: 219, height: 107, _03: !1, _13: !1, preload: !1, _53: 218, _73: 106, _83: [35] }, { _Z2: "spr_instructions", width: 200, height: 250, _03: !1, _13: !1, preload: !1, _23: 100, _33: 250, _53: 199, _73: 249, _83: [36] }, { _Z2: "spr_logo", width: 114, height: 78, _03: !1, _13: !1, preload: !1, _53: 113, _73: 77, _83: [37] }, { _Z2: "spr_flip", width: 300, height: 200, _03: !1, _13: !1, preload: !1, _23: 150, _33: 100, _53: 299, _73: 199, _83: [38] }], _93: [{ _Z2: "bck_game", _03: !1, _13: !1, preload: !1, _83: 39 }], _a3: [{ _Z2: "pth_erratic_left", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 176, _g3: 240, _h3: 100 }, { _f3: 128, _g3: 256, _h3: 100 }, { _f3: 200, _g3: 272, _h3: 100 }, { _f3: 104, _g3: 288, _h3: 100 }, { _f3: -56, _g3: 592, _h3: 100 }] }, { _Z2: "pth_erratic_right", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 144, _g3: 240, _h3: 100 }, { _f3: 192, _g3: 256, _h3: 100 }, { _f3: 120, _g3: 272, _h3: 100 }, { _f3: 216, _g3: 288, _h3: 100 }, { _f3: 376, _g3: 592, _h3: 100 }] }, { _Z2: "pth_lefttocenter", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 144, _g3: 240, _h3: 100 }, { _f3: 104, _g3: 280, _h3: 100 }, { _f3: 160, _g3: 280, _h3: 100 }, { _f3: 160, _g3: 608, _h3: 100 }] }, { _Z2: "pth_righttocenter", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 168, _g3: 240, _h3: 100 }, { _f3: 208, _g3: 280, _h3: 100 }, { _f3: 152, _g3: 280, _h3: 100 }, { _f3: 152, _g3: 608, _h3: 100 }] }, { _Z2: "pth_lefttoright", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 136, _g3: 240, _h3: 100 }, { _f3: 360, _g3: 528, _h3: 100 }] }, { _Z2: "pth_righttoleft", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 184, _g3: 240, _h3: 100 }, { _f3: -40, _g3: 536, _h3: 100 }] }, { _Z2: "pth_centertoleft", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 160, _g3: 240, _h3: 100 }, { _f3: 160, _g3: 280, _h3: 100 }, { _f3: 120, _g3: 280, _h3: 100 }, { _f3: -40, _g3: 544, _h3: 100 }] }, { _Z2: "pth_centertoright", _b3: 0, _c3: !1, _d3: 4, _e3: [{ _f3: 160, _g3: 240, _h3: 100 }, { _f3: 160, _g3: 280, _h3: 100 }, { _f3: 200, _g3: 280, _h3: 100 }, { _f3: 368, _g3: 560, _h3: 100 }] }], _i3: [_j3, _k3, _l3, _m3, _n3, _o3, _p3, _q3, _r3, _s3, _t3, _u3], _v3: [], _w3: [{ _Z2: "fnt_game", _x3: 18, bold: !1, _y3: !1, _z3: 32, _A3: 57, _B3: 1, antialias: 3, _C3: "Marmelade Guys", _D3: 40, _E3: 1, _F3: 1, _G3: [{ _H3: 32, _I3: " ", _f3: 55, _g3: 2, _J3: 12, _K3: 26, shift: 12, _L3: 0 }, { _H3: 48, _I3: "0", _f3: 49, _g3: 30, _J3: 13, _K3: 22, shift: 15, _L3: 2 }, { _H3: 49, _I3: "1", _f3: 84, _g3: 2, _J3: 14, _K3: 22, shift: 15, _L3: 2 }, { _H3: 50, _I3: "2", _f3: 38, _g3: 2, _J3: 15, _K3: 22, shift: 17, _L3: 2 }, { _H3: 51, _I3: "3", _f3: 69, _g3: 2, _J3: 13, _K3: 24, shift: 15, _L3: 1 }, { _H3: 52, _I3: "4", _f3: 20, _g3: 2, _J3: 16, _K3: 23, shift: 17, _L3: 1 }, { _H3: 53, _I3: "5", _f3: 2, _g3: 2, _J3: 16, _K3: 23, shift: 17, _L3: 1 }, { _H3: 54, _I3: "6", _f3: 100, _g3: 2, _J3: 14, _K3: 22, shift: 16, _L3: 1 }, { _H3: 55, _I3: "7", _f3: 18, _g3: 30, _J3: 13, _K3: 23, shift: 14, _L3: 1 }, { _H3: 56, _I3: "8", _f3: 2, _g3: 30, _J3: 14, _K3: 22, shift: 15, _L3: 1 }, { _H3: 57, _I3: "9", _f3: 33, _g3: 30, _J3: 14, _K3: 21, shift: 15, _L3: 0 }, ], }], _M3: [], _N3: [{}, ], _O3: [{ _Z2: "obj_control", _P3: -1, _Q3: !0, _R3: 10, parent: -100, _S3: _T3, _U3: _V3, _W3: _X3, _Y3: _Z3, __3: _04, _14: _24, _34: _44, _54: [], _64: [] }, { _Z2: "obj_player", _Q3: !0, parent: -100, _S3: _74, _14: _84, _94: _a4, _b4: _c4, _54: [], _64: [2, _d4] }, { _Z2: "obj_car_center", _Q3: !0, _R3: 20, parent: -100, _S3: _e4, _94: _f4, _g4: _h4, _54: [], _64: [] }, { _Z2: "obj_car_left", _Q3: !0, _R3: 20, parent: 2, _S3: _i4, _94: _j4, _54: [], _64: [] }, { _Z2: "obj_car_right", _Q3: !0, _R3: 20, parent: 3, _S3: _k4, _54: [], _64: [] }, { _Z2: "obj_car_double", _Q3: !0, _R3: 20, parent: 2, _S3: _l4, _94: _m4, _54: [], _64: [] }, { _Z2: "obj_car_erratic_left", _Q3: !0, _R3: 20, parent: 2, _S3: _n4, _94: _o4, _54: [], _64: [] }, { _Z2: "obj_car_erratic_right", _Q3: !0, _R3: 20, parent: 6, _S3: _p4, _54: [], _64: [] }, { _Z2: "obj_car_lefttocenter", _Q3: !0, _R3: 20, parent: 6, _S3: _q4, _94: _r4, _54: [], _64: [] }, { _Z2: "obj_car_righttocenter", _Q3: !0, _R3: 20, parent: 8, _S3: _s4, _54: [], _64: [] }, { _Z2: "obj_car_lefttoright", _Q3: !0, _R3: 20, parent: 8, _S3: _t4, _54: [], _64: [] }, { _Z2: "obj_car_righttoleft", _Q3: !0, _R3: 20, parent: 8, _S3: _u4, _54: [], _64: [] }, { _Z2: "obj_car_centertoleft", _Q3: !0, _R3: 20, parent: 8, _S3: _v4, _54: [], _64: [] }, { _Z2: "obj_car_centertoright", _Q3: !0, _R3: 20, parent: 8, _S3: _w4, _54: [], _64: [] }, { _Z2: "obj_decoration_left", _P3: 1, _Q3: !0, _R3: 20, parent: -100, _S3: _x4, _94: _y4, _g4: _z4, _54: [], _64: [] }, { _Z2: "obj_decoration_right", _P3: 1, _Q3: !0, _R3: 20, parent: 14, _94: _A4, _54: [], _64: [] }, { _Z2: "obj_lines", _P3: 2, _Q3: !0, _R3: 100, parent: -100, _S3: _B4, _14: _C4, _94: _D4, _g4: _E4, _54: [], _64: [] }, { _Z2: "obj_roadline_left", _P3: 3, _Q3: !0, _R3: 90, parent: 16, _S3: _F4, _94: _G4, _54: [], _64: [] }, { _Z2: "obj_roadline_right", _P3: 4, _Q3: !0, _R3: 90, parent: 17, _S3: _H4, _54: [], _64: [] }, { _Z2: "obj_carselect", _Q3: !0, _R3: 20, parent: -100, _S3: _I4, _94: _J4, _54: [], _64: [] }, { _Z2: "obj_play", _P3: 5, _Q3: !0, parent: -100, _S3: _K4, _94: _L4, _M4: _N4, _54: [], _64: [] }, { _Z2: "obj_plus", _P3: 7, _Q3: !0, parent: -100, _M4: _O4, _54: [], _64: [] }, { _Z2: "obj_less", _P3: 8, _Q3: !0, parent: 21, _M4: _P4, _54: [], _64: [] }, { _Z2: "obj_smallplay", _P3: 6, _Q3: !0, parent: 21, _M4: _Q4, _54: [], _64: [] }, { _Z2: "obj_retry", _P3: 9, _Q3: !0, parent: -100, _S3: _R4, _S4: _T4, _54: [], _64: [] }, { _Z2: "obj_quit", _P3: 10, _Q3: !0, parent: -1, _M4: _U4, _54: [], _64: [] }, { _Z2: "obj_instructions", _P3: 14, _Q3: !0, parent: -100, _S3: _V4, _14: _W4, _M4: _X4, _54: [], _64: [] }, { _Z2: "obj_title", _P3: 13, _Q3: !0, parent: -100, _S3: _Y4, _14: _Z4, _g4: __4, _54: [], _64: [] }, { _Z2: "obj_crash", _P3: 12, _Q3: !0, parent: -100, _S3: _05, _14: _15, _94: _25, _54: [], _64: [] }, { _Z2: "obj_logo", _P3: 15, _Q3: !0, parent: -100, _S3: _35, _14: _45, _g4: _55, _54: [], _64: [] }, { _Z2: "obj_fm", _P3: -1, _Q3: !0, _65: !0, _R3: -99999999, parent: -100, _S3: _75, _94: _85, _34: _95, _54: [], _64: [] }], _a5: [{ _Z2: "rm_init", width: 320, height: 480, _b5: 0, _c5: !0, _d5: [{}, {}, {}, {}, {}, {}, {}, {}], _e5: [{ _Q3: !0, _f5: 320, _g5: 320, }, {}, {}, {}, {}, {}, {}, {}], _h5: [{ _f3: 0, _g3: 0, index: 30, id: 100000, _i5: 0, _E3: 1, _F3: 1, _b5: 4294967295 }], _j5: [] }, { _Z2: "rm_game", width: 320, height: 480, _b5: 15380857, _k5: !1, _c5: !0, _l5: !1, _d5: [{ _Q3: !0, index: 0, _m5: !1, _n5: !1, }, {}, {}, {}, {}, {}, {}, {}], _e5: [{ _Q3: !0, _f5: 320, _g5: 320, }, {}, {}, {}, {}, {}, {}, {}], _h5: [{ _f3: 0, _g3: 0, index: 0, id: 100001, _i5: 0, _E3: 1, _F3: 1, _b5: 4294967295 }], _j5: [] }, { _Z2: "rm_flip", width: 480, height: 320, _b5: 0, _c5: !0, _d5: [{}, {}, {}, {}, {}, {}, {}, {}], _e5: [{ _Q3: !0, _f5: 480, _o5: 320, _g5: 480, _p5: 320, }, {}, {}, {}, {}, {}, {}, {}], _h5: [], _j5: [] }], _q5: [0, 1, 2], _r5: [{ _f3: 290, _g3: 602, _J3: 70, _K3: 50, _s5: 1, _t5: 46, _u5: 70, _v5: 50, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 366, _g3: 602, _J3: 70, _K3: 50, _s5: 1, _t5: 46, _u5: 70, _v5: 50, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 214, _g3: 602, _J3: 71, _K3: 52, _s5: 1, _t5: 44, _u5: 71, _v5: 52, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 58, _g3: 602, _J3: 71, _K3: 52, _s5: 1, _t5: 44, _u5: 71, _v5: 52, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 366, _g3: 370, _J3: 53, _K3: 58, _s5: 11, _t5: 38, _u5: 53, _v5: 58, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 442, _g3: 542, _J3: 53, _K3: 58, _s5: 11, _t5: 38, _u5: 53, _v5: 58, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 78, _g3: 534, _J3: 64, _K3: 62, _s5: 4, _t5: 34, _u5: 64, _v5: 62, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 146, _g3: 538, _J3: 64, _K3: 62, _s5: 4, _t5: 34, _u5: 64, _v5: 62, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 226, _g3: 534, _J3: 70, _K3: 63, _s5: 1, _t5: 33, _u5: 70, _v5: 63, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 366, _g3: 534, _J3: 70, _K3: 63, _s5: 1, _t5: 33, _u5: 70, _v5: 63, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 950, _J3: 70, _K3: 64, _s5: 1, _t5: 32, _u5: 70, _v5: 64, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 878, _J3: 70, _K3: 66, _s5: 1, _t5: 30, _u5: 70, _v5: 66, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 734, _J3: 70, _K3: 68, _s5: 1, _t5: 28, _u5: 70, _v5: 68, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 806, _J3: 70, _K3: 68, _s5: 1, _t5: 28, _u5: 70, _v5: 68, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 74, _g3: 450, _J3: 72, _K3: 80, _s5: 0, _t5: 16, _u5: 72, _v5: 80, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 150, _g3: 454, _J3: 72, _K3: 80, _s5: 0, _t5: 16, _u5: 72, _v5: 80, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 366, _g3: 442, _J3: 72, _K3: 87, _s5: 0, _t5: 9, _u5: 72, _v5: 87, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 122, _g3: 350, _J3: 71, _K3: 93, _s5: 1, _t5: 3, _u5: 71, _v5: 93, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 434, _J3: 66, _K3: 96, _s5: 3, _t5: 0, _u5: 66, _v5: 96, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 430, _g3: 258, _J3: 71, _K3: 96, _s5: 0, _t5: 0, _u5: 71, _v5: 96, _w5: 72, _x5: 96, _y5: 0 }, { _f3: 306, _g3: 454, _J3: 53, _K3: 96, _s5: 5, _t5: 0, _u5: 53, _v5: 96, _w5: 64, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 534, _J3: 52, _K3: 96, _s5: 6, _t5: 0, _u5: 52, _v5: 96, _w5: 64, _x5: 96, _y5: 0 }, { _f3: 442, _g3: 442, _J3: 59, _K3: 96, _s5: 2, _t5: 0, _u5: 59, _v5: 96, _w5: 64, _x5: 96, _y5: 0 }, { _f3: 2, _g3: 634, _J3: 50, _K3: 96, _s5: 7, _t5: 0, _u5: 50, _v5: 96, _w5: 64, _x5: 96, _y5: 0 }, { _f3: 74, _g3: 434, _J3: 32, _K3: 4, _s5: 0, _t5: 0, _u5: 32, _v5: 4, _w5: 32, _x5: 4, _y5: 0 }, { _f3: 206, _g3: 206, _J3: 40, _K3: 40, _s5: 0, _t5: 0, _u5: 40, _v5: 40, _w5: 40, _x5: 40, _y5: 0 }, { _f3: 134, _g3: 606, _J3: 40, _K3: 40, _s5: 0, _t5: 0, _u5: 40, _v5: 40, _w5: 40, _x5: 40, _y5: 0 }, { _f3: 430, _g3: 358, _J3: 80, _K3: 80, _s5: 0, _t5: 0, _u5: 80, _v5: 80, _w5: 80, _x5: 80, _y5: 0 }, { _f3: 302, _g3: 554, _J3: 40, _K3: 40, _s5: 0, _t5: 0, _u5: 40, _v5: 40, _w5: 40, _x5: 40, _y5: 0 }, { _f3: 442, _g3: 606, _J3: 40, _K3: 40, _s5: 0, _t5: 0, _u5: 40, _v5: 40, _w5: 40, _x5: 40, _y5: 0 }, { _f3: 250, _g3: 206, _J3: 40, _K3: 40, _s5: 0, _t5: 0, _u5: 40, _v5: 40, _w5: 40, _x5: 40, _y5: 0 }, { _f3: 198, _g3: 370, _J3: 80, _K3: 80, _s5: 0, _t5: 0, _u5: 80, _v5: 80, _w5: 80, _x5: 80, _y5: 0 }, { _f3: 282, _g3: 370, _J3: 80, _K3: 80, _s5: 0, _t5: 0, _u5: 80, _v5: 80, _w5: 80, _x5: 80, _y5: 0 }, { _f3: 226, _g3: 454, _J3: 74, _K3: 74, _s5: 0, _t5: 0, _u5: 74, _v5: 74, _w5: 74, _x5: 74, _y5: 0 }, { _f3: 2, _g3: 206, _J3: 198, _K3: 139, _s5: 1, _t5: 11, _u5: 198, _v5: 139, _w5: 200, _x5: 150, _y5: 0 }, { _f3: 206, _g3: 258, _J3: 219, _K3: 107, _s5: 0, _t5: 0, _u5: 219, _v5: 107, _w5: 219, _x5: 107, _y5: 0 }, { _f3: 306, _g3: 2, _J3: 200, _K3: 250, _s5: 0, _t5: 0, _u5: 200, _v5: 250, _w5: 200, _x5: 250, _y5: 0 }, { _f3: 2, _g3: 350, _J3: 114, _K3: 78, _s5: 0, _t5: 0, _u5: 114, _v5: 78, _w5: 114, _x5: 78, _y5: 0 }, { _f3: 2, _g3: 2, _J3: 300, _K3: 200, _s5: 0, _t5: 0, _u5: 300, _v5: 200, _w5: 300, _x5: 200, _y5: 0 }, { _f3: 4, _g3: 4, _J3: 320, _K3: 480, _s5: 0, _t5: 0, _u5: 320, _v5: 480, _w5: 320, _x5: 480, _y5: 1 }, { _f3: 330, _g3: 2, _J3: 128, _K3: 64, _s5: 0, _t5: 0, _u5: 128, _v5: 64, _w5: 128, _x5: 64, _y5: 1 }], _z5: ["Speed Trip_texture_0.png", "Speed Trip_texture_1.png"], _A5: { _B5: !1, _C5: 957863138, _D5: "97c2d90d-bcac-45be-b6f0-ee01172d0a17", _E5: !1, _F5: !0, _G5: !0, scale: -1, _H5: !1, _I5: !1, _J5: !1, _K5: !0, _L5: !1, _M5: !1, _N5: !0, _O5: !1, _P5: 2, _Q5: 0, _R5: !1, _S5: "speedtrip", _T5: "Default", _U5: 0, _V5: !0, _W5: 1077126481, _X5: [119, 74, 119, 165, 79, 49, 225, 43, 155, 57, 79, 252, 73, 17, 179, 48], _Y5: "gamemaker: studio", _Z5: 1, __5: 0, _06: 0, _16: 1412976534 } }; function _26() {} function _36() { // updateShare(0); global._46 = 0; global._56 = 0; global._66 = 0; global._76 = 0; global._86 = 0; global._96 = 0; global._a6 = 0; global._b6 = 0; global._c6 = 0; global._d6 = 0; global._e6 = 0; global._f6 = 0; global._g6 = 0; global._h6 = 0; global._i6 = 0; global._j6 = 0; global._k6 = 0; global._l6 = 0; global._m6 = 0; global._n6 = 0; global._o6 = 0; global._p6 = 0; global._q6 = 0; global._r6 = 0; global._s6 = 0; global._t6 = 0; } function _j3(_u6, _v6) { if (_w6._x6() > 0.5) { return _w6._y6[0] }; return _w6._z6; } function _k3(_u6, _v6) { if (_w6._x6() > 0.5) { return _w6._A6[0] }; return _w6._B6; } function _l3(_u6, _v6) { return dj_call1("hide_adrbar", global._q6); } function _m3(_u6, _v6) { return dj_call("installed"); } function _n3(_u6, _v6) { if ((((_w6._C6() != 0)) && ((_w6._C6() != 1)))) { return 1 }; return 0; } function _o3(_u6, _v6) { return dj_call("orientation"); } function _p3(_u6, _v6) { return dj_call("height"); } function _q3(_u6, _v6) { return dj_call("width"); } function _r3(_u6, _v6) { if (dj_exists("resized") > 0.5) { return 1 };; global._46 = 0; global._56 = 0; global._66 = 0; global._76 = 0; global._86 = 0; global._96 = 0; global._a6 = 0; global._b6 = 0; global._p6 = 0; global._q6 = 0; global._r6 = ( - 1); global._s6 = 1; global._e6 = 1 ? 1 : 0; global._c6 = 0; global._d6 = 1; global._t6 = 1 ? 1 : 0; global._f6 = 1; global._g6 = 1; global._h6 = 1; global._j6 = 5000; global._i6 = 0; dj_add1("hide_adrbar", "height", "\n\rdocument.getElementById('gm4html5_div_id').style.height = ~~(height + 128) + 'px';\n\rwindow.scrollTo(0, 1)"); dj_add("orientation", "return window.fm_orientation"); dj_add("installed", "return window.navigator.standalone ? 1 : 0"); dj_add("timer", "return (new Date) | 0"); dj_add("resized", "var r = window.fm_resized; window.fm_resized = 0; return r"); dj_add("width", "return screen ? screen.width : window.innerWidth"); dj_add("height", "return screen ? screen.height : window.innerHeight"); dj_run("var e = document.getElementById('gm4html5_div_id');\n\rdocument.body.style.overflow = 'hidden';\n\re.style.paddingTop = '20px';\n\re.style.position = 'absolute';\n\re.style.height = '2048px';\n\rwindow.fm_resized = 1;\n\rwindow.fm_orientation = window.orientation ? window.orientation : 0;\n\rdocument.onorientationchange = window.onorientationchange = function() {\n\rwindow.fm_orientation = window.orientation; window.fm_resized = 1\n\r}\n\rdocument.onresize = window.onresize = function() { window.fm_resized = 1 }\n\r"); dj_run("var e;\n\rif (e = document.getElementById('debug_console')) e.style.display = 'none';\n\rif (e = document.getElementById('loading_screen')) e.style.display = 'none';"); } function _s3(_u6, _v6) { var _D6, _E6, _F6, _G6, _H6, _I6, _J6, _K6, _L6, _M6, _N6; if ((global._s6 > 0)) { { global._s6 -= 1; return 0; } }; _J6 = _t3(_u6, _v6); _M6 = _w6._O6(); _N6 = _w6._P6(); if (((_u3(_u6, _v6) > 0.5) || ((global._r6 != _w6._Q6())) || (global._t6 > 0.5))) { { global._t6 = 0 ? 1 : 0; global._p6 = _M6; global._q6 = _N6; global._r6 = _w6._Q6(); _l3(_u6, _v6); global._i6 = _J6; _F6 = _k3(_u6, _v6); _G6 = _j3(_u6, _v6); _H6 = _F6; _I6 = _G6; global._k6 = (((global._p6 / global._q6) > 1) != ((_H6 / _I6) > 1)) ? 1 : 0; if (_n3(_u6, _v6) > 0.5) { { if ((_w6._Q6() != 2)) { _w6._R6(0) }; if (((global._k6 > 0.5) && ((_w6._Q6() != 2)))) { { if ((global._f6 != 0)) { global._f6 = (3 - global._f6) }; global._n6 = _w6._Q6(); _w6._R6(1); _S6(2); } }; if (((global._k6 > 0.5) && ((_w6._Q6() == 2)))) { { if ((global._f6 != 0)) { global._f6 = (3 - global._f6) }; _S6(global._n6); } }; if (((! (global._k6 > 0.5)) && ((_w6._Q6() != 2)) && (global._o6 > 0.5))) { { global._o6 = 0 ? 1 : 0; } }; } }; _D6 = (global._p6 / _F6); _E6 = (global._q6 / _G6); if ((global._f6 == 1)) { _E6 = _D6 }; if ((global._f6 == 2)) { _D6 = _E6 }; if ((global._86 != 0)) { _D6 = min(_D6, global._86) }; if ((global._a6 != 0)) { _D6 = max(_D6, global._a6) }; if ((global._96 != 0)) { _E6 = min(_E6, global._96) }; if ((global._b6 != 0)) { _E6 = max(_E6, global._b6) }; _F6 *= _D6; _G6 *= _E6; if ((((global._46 != 0)) && ((_F6 > global._46)))) { _F6 = global._46 }; if ((((global._56 != 0)) && ((_G6 > global._56)))) { _G6 = global._56 }; _D6 = (_F6 / _H6); _E6 = (_G6 / _I6); if (global._e6 > 0.5) { { _D6 = min(_D6, _E6); _E6 = _D6; } }; _F6 = (_H6 * _D6); _G6 = (_I6 * _E6); _F6 = round(_F6); _G6 = round(_G6); _K6 = (global._g6 / 2 * (_w6._O6() - _F6)); _L6 = (1 + (global._h6 / 2 * (_w6._P6() - _G6))); if ((global._c6 > 0)) { _K6 = max(_K6, 0) }; if ((global._c6 < 0)) { _K6 = min(_K6, (global._p6 - _F6)) }; if ((global._d6 > 0)) { _L6 = max(_L6, 0) }; if ((global._d6 < 0)) { _L6 = min(_L6, (global._q6 - _G6)) }; _T6(_K6, _L6); _U6(_F6, _G6); } }; if (((((_J6 - global._i6) > global._j6)) || ((global._i6 > _J6)))) { { _l3(_u6, _v6); global._i6 = _J6; } }; } function _t3(_u6, _v6) { return dj_call("timer"); } function _u3(_u6, _v6) { return dj_call("resized"); } function _T3(_u6, _v6) { { _V6(0); _W6(1); _X6(1); _Y6(16777215); _Z6(4, ( - 130), 27); _Z6(( - 120), 332, 29); _w6.__6 = 0; _07("speedtrip"); _u6._17 = _27("score", "0", 0); _37(); _Z6((_w6._B6 / 2), 236, 16); if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 8; _u6._47[1] = 8; _u6._47[2] = _57(10, 15, 20, 30, 45); _u6._47[3] = _57(10, 15, 20, 30, 45); }; } function _V3(_u6, _v6) { { if ((_67(1) == 0)) { { return; } } else { { if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[4] = 24; } }; var _77; _77 = _57(1, 4, 5, 2, 4, 5, 3, 4, 5); switch (_77) { case 1: { _Z6(((_w6._B6 / 2) - 18), 240, 3); break; }; case 2: { _Z6((_w6._B6 / 2), 240, 2); break; }; case 3: { _Z6(((_w6._B6 / 2) + 18), 240, 4); break; }; case 4: { _Z6((_w6._B6 / 2), 240, 5); break; }; case 5: { _Z6((_w6._B6 / 2), 240, _57(6, 7, 8, 9, 10, 11, 12, 13)); break; }; }; }; } function _X3(_u6, _v6) { { if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[3] = _57(10, 15, 20, 30, 45); _Z6(_87(200, 300), 240, 15); }; } function _Z3(_u6, _v6) { { if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[2] = _57(10, 15, 20, 30, 45); _Z6(_87(20, 120), 240, 14); }; } function _04(_u6, _v6) { { _Z6(((_w6._B6 / 2) - 6), 236, 17); _Z6(((_w6._B6 / 2) + 6), 236, 18); if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[1] = 8; }; } function _24(_u6, _v6) { { _Z6((_w6._B6 / 2), 236, 16); if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 8; }; } function _44(_u6, _v6) { { _97(_u6, 11, 0, 260, 48); if ((_67(27) == 0)) { { if ((_w6.__6 < _u6._17)) { { _a7(64, 48, _w6.__6); _a7(256, 48, _u6._17); } } else { { _a7(64, 48, _w6.__6); _a7(260, 48, _w6.__6); } }; } }; }; } function _74(_u6, _v6) { { if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 10; _u6._b7 = 0; _u6._c7 = 0; _u6._d7 = 1; _u6._e7 = "right"; _u6._f7 = 120; }; } function _84(_u6, _v6) { { _u6._c7 = 1; }; } function _a4(_u6, _v6) { { if ((_u6._c7 == 2)) { { if ((_u6._f7 > 0)) { { _u6._f7 -= 12; if ((_u6._e7 == "left")) { { _u6._g7(_u6._f3 - 12); } } else { { _u6._g7(_u6._f3 + 12); } }; } } else { { _u6._c7 = 1; _u6._f7 = 120; } }; } }; }; } function _c4(_u6, _v6) { { if ((((_u6._c7 == 1)) && ((_u6._f7 == 120)))) { { if ((_w6._h7 < (_w6._B6 / 2))) { { if ((((_u6._d7 == 1)) || ((_u6._d7 == 2)))) { { _u6._c7 = 2; _u6._d7 -= 1; _u6._e7 = "left"; return; } }; } } else { { if ((((_u6._d7 == 0)) || ((_u6._d7 == 1)))) { { _u6._c7 = 2; _u6._d7 += 1; _u6._e7 = "right"; } }; } }; } }; }; } function _d4(_u6, _v6) { { _Z6(_u6._f3, _u6._g3, 28); { var _i7 = _j7(2); for (var _k7 in _i7) { if (!_i7.hasOwnProperty(_k7)) continue; var _l7 = _i7[_k7]; if (_l7._m7) continue; { _n7(_l7); } } }; _n7(_u6); }; } function _e4(_u6, _v6) { { _u6._o7(270); _u6._p7(0); _u6._q7(0.1); _u6._r7(0.1); _u6._b7 = 0; _u6._s7(floor(random(_u6._t7()))); _u6._u7 = 1 ? 1 : 0; }; } function _f4(_u6, _v6) { { _u6._p7(_u6._h3 + 0.2); if ((_u6._g3 < (_w6._z6 - 72))) { { _u6._q7(_u6._v7 + 0.021); } } else { { _u6._q7(1); _u6._w7((_x7(1)._y7() - 1)); if ((_u6._u7 == 1)) { { _u6._u7 = 0 ? 1 : 0; _w6.__6 += 1; } }; } }; _u6._r7(_u6._v7); }; } function _h4(_u6, _v6) { { _z7(_u6); }; } function _i4(_u6, _v6) { { _u6._o7(235); _u6._p7(0); _u6._q7(0.1); _u6._r7(0.1); _u6._b7 = 0; _u6._s7(floor(random(_u6._t7()))); _u6._u7 = 1 ? 1 : 0; }; } function _j4(_u6, _v6) { { _u6._p7(_u6._h3 + 0.24); if ((_u6._g3 < (_w6._z6 - 72))) { { _u6._q7(_u6._v7 + 0.021); } } else { { _u6._q7(1); _u6._w7((_x7(1)._y7() - 1)); if ((_u6._u7 == 1)) { { _u6._u7 = 0 ? 1 : 0; _w6.__6 += 1; } }; } }; _u6._r7(_u6._v7); }; } function _k4(_u6, _v6) { { _u6._o7(305); _u6._p7(0); _u6._q7(0.1); _u6._r7(0.1); _u6._b7 = 0; _u6._s7(floor(random(_u6._t7()))); _u6._u7 = 1 ? 1 : 0; }; } function _l4(_u6, _v6) { { _u6._o7(270); _u6._p7(0); _u6._q7(0.1); _u6._r7(0.1); _u6._b7 = 0; _u6._s7(floor(random(_u6._t7()))); _u6._u7 = 1 ? 1 : 0; var _77; _77 = _57(1, 2, 3); switch (_77) { case 1: { _Z6(((_w6._B6 / 2) - 18), 240, 3); break; }; case 2: { _Z6(((_w6._B6 / 2) + 18), 240, 4); break; }; case 3: { _Z6(((_w6._B6 / 2) - 18), 240, 3); _Z6(((_w6._B6 / 2) + 18), 240, 4); _n7(_u6); break; }; }; }; } function _m4(_u6, _v6) { { _u6._p7(_u6._h3 + 0.2); if ((_u6._g3 < (_w6._z6 - 72))) { { _u6._q7(_u6._v7 + 0.021); } } else { { _u6._q7(1); _u6._w7((_x7(1)._y7() - 1)); if ((_u6._u7 == 1)) { { _u6._u7 = 0 ? 1 : 0; _w6.__6 += 1; } }; } }; _u6._r7(_u6._v7); }; } function _n4(_u6, _v6) { { _u6._q7(0.1); _u6._r7(0.1); _u6._b7 = 0; _u6._s7(floor(random(_u6._t7()))); _u6._u7 = 1 ? 1 : 0; _A7(_u6, 0, 0, 1, 1); }; } function _o4(_u6, _v6) { { _u6._B7 += 0.3; if ((_u6._g3 < (_w6._z6 - 72))) { { _u6._q7(_u6._v7 + 0.014); } } else { { _u6._q7(1); _u6._w7((_x7(1)._y7() - 1)); if ((_u6._u7 == 1)) { { _u6._u7 = 0 ? 1 : 0; _w6.__6 += 1; } }; } }; _u6._r7(_u6._v7); }; } function _p4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 1, 0, 0, 1); }; } function _q4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 2, 0, 0, 1); }; } function _r4(_u6, _v6) { { _u6._B7 += 0.2; if ((_u6._g3 < (_w6._z6 - 72))) { { _u6._q7(_u6._v7 + 0.017); } } else { { _u6._q7(1); _u6._w7((_x7(1)._y7() - 1)); if ((_u6._u7 == 1)) { { _u6._u7 = 0 ? 1 : 0; _w6.__6 += 1; } }; } }; _u6._r7(_u6._v7); }; } function _s4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 3, 0, 0, 1); }; } function _t4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 4, 0, 0, 1); }; } function _u4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 5, 0, 0, 1); }; } function _v4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 6, 0, 0, 1); }; } function _w4(_u6, _v6) { { _C7(_u6, _v6); _D7(_u6, 7, 0, 0, 1); }; } function _x4(_u6, _v6) { { _u6._E7(0); _u6._F7(0); _u6._q7(0.1); _u6._r7(0.1); _u6._b7 = 0; _u6._s7(floor(random(_u6._t7()))); }; } function _y4(_u6, _v6) { { if ((_u6._g3 < 350)) { { _u6._F7(_u6._G7 + 0.1); } } else { { _u6._F7(_u6._G7 + 0.2); } }; _u6._E7(_u6._H7 - 0.16); _u6._q7(_u6._v7 + 0.02); _u6._r7(_u6._v7); }; } function _z4(_u6, _v6) { { _z7(_u6); }; } function _A4(_u6, _v6) { { if ((_u6._g3 < 350)) { { _u6._F7(_u6._G7 + 0.1); } } else { { _u6._F7(_u6._G7 + 0.2); } }; _u6._E7(_u6._H7 + 0.16); _u6._q7(_u6._v7 + 0.02); _u6._r7(_u6._v7); }; } function _B4(_u6, _v6) { { _u6._q7(12); _u6._F7(4); _u6._I7 = 0 ? 1 : 0; if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 15; }; } function _C4(_u6, _v6) { { _u6._I7 = 1 ? 1 : 0; }; } function _D4(_u6, _v6) { { if ((_u6._I7 == 0)) { { _u6._r7(_u6._J7 + 0.4); _u6._F7(_u6._G7 + 0.1); } } else { { _u6._r7(_u6._J7 + 0.2); _u6._F7(_u6._G7 + 0.4); } }; }; } function _E4(_u6, _v6) { { _z7(_u6); }; } function _F4(_u6, _v6) { { _u6._o7(245); _u6._p7(4); _u6._q7(0.1); _u6._r7(0.1); if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 15; _u6._I7 = 0 ? 1 : 0; }; } function _G4(_u6, _v6) { { if ((_u6._I7 == 0)) { { _u6._p7(_u6._h3 + 0.1); } } else { { _u6._p7(_u6._h3 + 0.4); } }; if ((_u6._v7 < 1)) { { _u6._q7(_u6._v7 + 0.02); } } else { { _u6._q7(1); } }; _u6._r7(_u6._v7); }; } function _H4(_u6, _v6) { { _u6._o7(295); _u6._p7(4); _u6._q7(0.1); _u6._r7(0.1); if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 15; _u6._I7 = 0 ? 1 : 0; }; } function _I4(_u6, _v6) { { _u6._b7 = 0; _u6._F7(( - 4)); }; } function _J4(_u6, _v6) { { if ((((_u6._G7 != 0)) && ((_u6._g3 < (_w6._z6 - 70))))) { { _u6._F7(0); _Z6((_u6._f3 - 64), (_u6._g3 - 100), 22); _Z6((_u6._f3 + 64), (_u6._g3 - 100), 21); _Z6(_u6._f3, (_u6._g3 - 100), 23); } }; }; } function _K4(_u6, _v6) { { _u6._o7(270); _u6._p7(0); _u6._q7(0.1); _u6._r7(0.1); }; } function _L4(_u6, _v6) { { if ((_u6._g3 < (_w6._z6 - 180))) { { _u6._q7(_u6._v7 + 0.034); _u6._p7(_u6._h3 + 0.16); } } else { { _u6._q7(1); _u6._p7(0); } }; _u6._r7(_u6._v7); }; } function _N4(_u6, _v6) { { if ((((_u6._v7 == 1)) && ((_u6._h3 == 0)))) { { _x7(27)._F7(( - 2)); _x7(29)._E7(( - 2)); var _K7; _K7 = _Z6((_w6._B6 / 2), (_w6._z6 + 96), 19); _x7(_K7)._s7(floor(random(_x7(_K7)._t7()))); _n7(_u6); } }; }; } function _O4(_u6, _v6) { { _x7(19)._s7(_x7(19)._L7 + 1); }; } function _P4(_u6, _v6) { { _x7(19)._s7(_x7(19)._L7 - 1); }; } function _Q4(_u6, _v6) { { _Z6(_u6._f3, _u6._g3, 26); { var _M7 = _j7(21); for (var _N7 in _M7) { if (!_M7.hasOwnProperty(_N7)) continue; var _O7 = _M7[_N7]; if (_O7._m7) continue; { _n7(_O7); } } }; }; } function _R4(_u6, _v6) { { if ((_w6.__6 > _x7(0)._17)) { { _x7(0)._17 = _w6.__6; _07("speedtrip"); _P7("score", "0", _w6.__6); _37(); } }; window.myPlayScore = _w6.__6; // Play68.setRankingScoreDesc(window.myPlayScore); // updateShare(window.myPlayScore); //play68_submitScore(window.myPlayScore); }; } function _T4(_u6, _v6) { { var _K7; _K7 = _Z6((_w6._B6 / 2), (_w6._z6 + 96), 19); _x7(_K7)._s7(_x7(0)._Q7); _w6.__6 = 0; if (! (_x7(0)._47 instanceof Array)) { _x7(0)._47 = []; _x7(0)._47._T2 = 3819530653 } else if (_x7(0)._47._T2 !== 3819530653) { _x7(0)._47 = _x7(0)._47.slice(0); _x7(0)._47._T2 = 3819530653 } _x7(0)._47[4] = 60; { var _R7 = _j7(25); for (var _S7 in _R7) { if (!_R7.hasOwnProperty(_S7)) continue; var _T7 = _R7[_S7]; if (_T7._m7) continue; { _n7(_T7); } } }; _n7(_u6); }; } function _U4(_u6, _v6) { { _U7(); }; } function _V4(_u6, _v6) { { _u6._V7 = 0 ? 1 : 0; _W7(_u6, 2, 0); }; } function _W4(_u6, _v6) { { _u6._V7 = 1 ? 1 : 0; }; } function _X4(_u6, _v6) { { if ((_u6._V7 == 0)) { { return; } }; { var _X7 = _j7(19); for (var _Y7 in _X7) { if (!_X7.hasOwnProperty(_Y7)) continue; var _Z7 = _X7[_Y7]; if (_Z7._m7) continue; { var _K7; _K7 = _Z6(_Z7._f3, _Z7._g3, 1); _x7(_K7)._s7(_Z7._L7); _x7(0)._Q7 = _Z7._L7; _n7(_Z7); } } }; if (! (_x7(0)._47 instanceof Array)) { _x7(0)._47 = []; _x7(0)._47._T2 = 3819530653 } else if (_x7(0)._47._T2 !== 3819530653) { _x7(0)._47 = _x7(0)._47.slice(0); _x7(0)._47._T2 = 3819530653 } _x7(0)._47[4] = 60; _n7(_u6); }; } function _Y4(_u6, _v6) { { __7(_u6, 2); _W7(_u6, 70, 0); }; } function _Z4(_u6, _v6) { { __7(_u6, 0); _08(_u6, 20, (_w6._B6 / 2), 240); }; } function __4(_u6, _v6) { { var _18; _18 = _28(_u6._G7, 0, 1); if (_18 > 0.5) { { _z7(_u6); } }; }; } function _05(_u6, _v6) { { _u6._q7(0.4); _u6._r7(_u6._v7); _u6._38 = 0; }; } function _15(_u6, _v6) { { _u6._38 = 2; _Z6(((_w6._B6 / 2) - 70), 240, 24); _Z6(((_w6._B6 / 2) + 70), 240, 25); }; } function _25(_u6, _v6) { { if ((_u6._38 == 0)) { { if ((_u6._v7 < 1)) { { _u6._q7(_u6._v7 + 0.04); } } else { { _u6._q7(1); _u6._38 = 1; if (! (_u6._47 instanceof Array)) { _u6._47 = []; _u6._47._T2 = 1584050178 } else if (_u6._47._T2 !== 1584050178) { _u6._47 = _u6._47.slice(0); _u6._47._T2 = 1584050178 } _u6._47[0] = 30; } }; } }; if ((_u6._38 == 2)) { { if ((_u6._v7 > 0)) { { _u6._q7(_u6._v7 - 0.04); } } else { { _n7(_u6); } }; } }; _u6._r7(_u6._v7); }; } function _35(_u6, _v6) { { _48(_u6, 2); _W7(_u6, 64, 0); }; } function _45(_u6, _v6) { { _48(_u6, 0); }; } function _55(_u6, _v6) { { var _18; _18 = _28(_u6._H7, 0, 1); if (_18 > 0.5) { { _z7(_u6); } }; }; } function _75(_u6, _v6) { { _58(0); _r3(_u6, _v6); global._a6 = 1; global._b6 = 1; global._86 = 1; global._96 = 1; var _68, _78, _88, _98, _a8; _68 = _q3(_u6, _v6); _78 = _p3(_u6, _v6); if ((((((((min(_68, _78) >= 320)) && ((max(_68, _78) >= 480)))) && (_n3(_u6, _v6) > 0.5))) || ((_w6._C6() == 3)))) { { global._86 = (_68 / 320); global._96 = global._86; _88 = _k3(_u6, _v6); _98 = _j3(_u6, _v6); if ((((_68 != 0)) && ((_78 != 0)))) { { if ((((_68 / _78) > 1) != ((_88 / _98) > 1))) { { _a8 = _68; _68 = _78; _78 = _a8; } }; _a8 = min((_68 / _88), (_78 / _98)); global._86 = min(global._86, _a8); global._96 = min(global._96, _a8); } }; } }; _b8(); }; } function _85(_u6, _v6) { { _s3(_u6, _v6); }; } function _95(_u6, _v6) { { var _c8, _d8, _e8, _f8; if (_w6._x6() > 0.5) { { _c8 = _w6._A6[0]; _d8 = _w6._y6[0]; _e8 = _w6._g8[0]; _f8 = _w6._h8[0]; } } else { { _c8 = _w6._B6; _d8 = _w6._z6; _e8 = 0; _f8 = 0; } }; if ((_w6._Q6() == 2)) { { _97(_u6, 16, 0, (_w6._B6 / 2), ((_w6._z6 / 2) - 48)); } }; }; } function _i8(_j8) { this._k8 = 0; this._l8 = !1; this._m8 = null; this._n8 = null; this._o8 = null; this._p8 = null; this._q8 = null; this._r8 = null; this._s8 = []; this._t8(_j8._r8) }; _i8.prototype._u8 = function() { var _v8 = new _i8({ _r8: this._r8 }); return _v8 }; _i8.prototype._t8 = function(_w8) { this._r8 = _w8; this._m8 = new _x8._y8(_w8); this._q8 = new _x8._z8(this._m8.data); this._p8 = new _x8._A8(this._q8); if (_w8._B8.length > 0) { this._C8(null) } this._D8(null); this._n8 = new _x8._E8() }; _i8.prototype._F8 = function() { var _G8 = _H8 ? _H8._I8() : 30; return~~ ((_G8 * this._o8.duration) + 0.5); }; _i8.prototype._C8 = function(_J8) { this._K8(_J8, 0) }; _i8.prototype._K8 = function(_J8, _L8) { var _M8 = null; if (((_J8 === null) || (_J8 === undefined)) && (_L8 === 0)) { if (this._r8._B8.length > 0) { _M8 = this._r8._N8(this._r8._B8[0].name) } } else { _M8 = this._r8._N8(_J8) } if (_M8 !== null && _M8 !== undefined) { if (_L8 === 0) { this._k8 = 0; this._o8 = _M8 } this._p8._O8(_L8, _M8, !0) } }; _i8.prototype._D8 = function(_P8) { if (_P8 === null || _P8 === undefined) { this._m8._Q8(this._r8._R8.name) } else { this._m8._Q8(_P8) } this._m8._S8() }; _i8.prototype._T8 = function(_U8, _V8, _W8, _X8, _Y8, _Z8, __8) { var _09 = this._m8; _19 = this._m8._29(), _39 = this._k8, _49 = (__8 !== undefined); if ((_39 != _U8) || (_09._f3 != _V8) || (_09._g3 != _W8) || (_19._E3 != _X8) || (_19._F3 != _Y8) || (_19._i5 != _Z8)) { var _59 = this._F8(); if (_59 > 0) { var _69 = _U8 % _59, _79 = this._k8 % _59, duration = this._o8.duration, _89 = this._o8._99.length; if (_79 > _69) { _69 += _59 } var _a9 = (_69 - _79) / _59; if (_a9 < (duration / _89)) { this._p8._b9(_a9 * duration); this._p8.apply(this._m8) } else { var _c9 = (_69 / _59) * duration; var _d9 = _c9 - (duration / _89); this._o8.apply(this._m8, _d9, _c9, 1, null, null) } } this._k8 = _U8; _09._f3 = _V8; _09._g3 = _W8; _09._e9 = (_X8 < 0) ? 1 : 0; _09._f9 = (_Y8 < 0) ? 1 : 0; _19._E3 = Math.abs(_X8); _19._F3 = Math.abs(_Y8); _19._i5 = _Z8; _49 = !0 } if (_49) { if (__8) { __8._g9(_h9, 0, __8, null) } _09._49(); this._n8._b9(this._m8, 1) } }; _i8.prototype._i9 = function(_j9, _V8, _W8, _X8, _Y8, _Z8) { var _59 = this._F8(); var _k9 = ~~ (_59 * (_j9 / this._o8.duration) + 0.5); this._T8(_k9, _V8, _W8, _X8, _Y8, _Z8) }; _i8.prototype._l9 = function(_m9, _U8, _V8, _W8, _X8, _Y8, _Z8) { var _n9 = this._n8; if (_n9._o9.length > 0) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); _m9.left = ~~ (_n9._p9 + 0.5); _m9._q9 = ~~ (_n9._r9 + 0.5); _m9.top = ~~ (_n9._s9 + 0.5); _m9.bottom = ~~ (_n9._t9 + 0.5); return ! 0 } return ! 1 }; _i8.prototype._u9 = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _v9, _w9, _x9, _y9, _z9, _A9, _B9) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); _v9._T8(_w9, _x9, _y9, _z9, _A9, _B9); for (var _C9 = 0; _C9 < _v9._n8._D9.length; _C9++) { var _E9 = _v9._n8._D9[_C9]; var _x3 = _E9.length / 2; for (var _F9 = 0; _F9 < _x3; _F9++) { var _G9, _H9, _I9, _J9; _G9 = _E9[(_F9 * 2) + 0]; _H9 = _E9[(_F9 * 2) + 1]; if (_F9 === (_x3 - 1)) { _I9 = _E9[0]; _J9 = _E9[1] } else { _I9 = _E9[((_F9 + 1) * 2) + 0]; _J9 = _E9[((_F9 + 1) * 2) + 1] } var _K9 = this._n8._L9(_G9, _H9, _I9, _J9); if (_K9 !== null) { return ! 0 } } } return ! 1 }; _i8.prototype._M9 = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _N9, _O9, _w9, _x9, _y9, _z9, _A9, _B9) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); if (_N9 == null) { return ! 1 } if (_N9._P9 <= 0) { return ! 1 } if (_N9._Q9.length > 0) { _w9 = _w9 % _N9._Q9.length } if (_w9 < 0) { _w9 = _w9 + _N9._Q9.length } _z9 = 1.0 / _z9; _A9 = 1.0 / _A9; var _n9 = this._n8; var _R9 = _S9(_n9._p9, _O9.left); var _T9 = _U9(_n9._r9, _O9._q9); var _V9 = _S9(_n9._s9, _O9.top); var _W9 = _U9(_n9._t9, _O9.bottom); var _X9 = Math.sin( - _B9 * (_Y9 / 180.0)); var _Z9 = Math.cos( - _B9 * (_Y9 / 180.0)); for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { var _0a = ((_Z9 * (_H3 - _x9) + _X9 * (__9 - _y9)) * _z9 + _N9._1a); var _2a = ((_Z9 * (__9 - _y9) - _X9 * (_H3 - _x9)) * _A9 + _N9._3a); if ((_0a < 0) || (_0a >= _N9._4a)) { continue } if ((_2a < 0) || (_2a >= _N9._5a)) { continue } if (_N9._6a) { if (!_N9._Q9._7a[_w9]._7a[_0a + (_2a * _N9._4a)]) { continue } } var _K9 = _n9._8a(_H3, __9); if (_K9 !== null) { return ! 0 } } } return ! 1 }; _i8.prototype._9a = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _aa, _ba) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); var _K9 = this._n8._8a(_aa, _ba); if (_K9 !== null) { return ! 0 } return ! 1 }; _i8.prototype._ca = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _aa, _ba, _x9, _y9) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); var _K9 = this._n8._L9(_aa, _ba, _x9, _y9); if (_K9 !== null) { return ! 0 } return ! 1 }; _i8.prototype._da = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _aa, _ba, _x9, _y9) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); var _K9 = null; var _n9 = this._n8; var _K9 = _n9._L9(_aa, _ba, _x9, _y9); if (_K9 !== null) { return ! 0 } _K9 = _n9._L9(_aa, _ba, _x9, _ba); if (_K9 !== null) { return ! 0 } _K9 = _n9._L9(_x9, _ba, _x9, _y9); if (_K9 !== null) { return ! 0 } _K9 = _n9._L9(_x9, _y9, _aa, _y9); if (_K9 !== null) { return ! 0 } _K9 = _n9._L9(_aa, _y9, _aa, _ba); if (_K9 !== null) { return ! 0 } return ! 1 }; _i8.prototype._ea = function(_U8, _V8, _W8, _X8, _Y8, _Z8, _fa) { this._T8(_U8, _V8, _W8, _X8, _Y8, _Z8); var _n9 = this._n8; var _09 = this._m8; var _R9 = _S9(_n9._p9, _fa.left); var _T9 = _U9(_n9._r9, _fa._q9); var _V9 = _S9(_n9._s9, _fa.top); var _W9 = _U9(_n9._t9, _fa.bottom); var _ga = ((_fa._q9 + _fa.left) / 2); var _ha = ((_fa.bottom + _fa.top) / 2); var _ia = ((_fa._q9 - _fa.left) / 2); var _ja = ((_fa.bottom - _fa.top) / 2); var _4a = (_n9._r9 - _n9._p9); var _5a = (_n9._t9 - _n9._s9); var _1a = _09._f3 - _n9._p9; var _3a = _09._g3 - _n9._s9; if ((_X8 == 1) && (_Y8 == 1) && (Math.abs(_Z8) < 0.0001)) { for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { if (_ka((_H3 - _ga) / _ia) + _ka((__9 - _ha) / _ja) > 1) continue; var _0a = _H3 - _V8 + _1a; var _2a = __9 - _W8 + _3a; if ((_0a < 0) || (_0a >= _4a)) continue; if ((_2a < 0) || (_2a >= _5a)) continue; var _K9 = _n9._8a(_H3, __9); if (_K9 !== null) { return ! 0 } } } } else { var _la = Math.sin( - _Z8 * _Y9 / 180.0); var _ma = Math.cos( - _Z8 * _Y9 / 180.0); for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { if (_ka((_H3 - _ga) / _ia) + _ka((__9 - _ha) / _ja) > 1) continue; var _0a = Math.floor((_ma * (_H3 - _V8) + _la * (__9 - _W8)) / _X8 + _1a); var _2a = Math.floor((_ma * (__9 - _W8) - _la * (_H3 - _V8)) / _Y8 + _3a); if ((_0a < 0) || (_0a >= _4a)) continue; if ((_2a < 0) || (_2a >= _5a)) continue; var _K9 = _n9._8a(_H3, __9); if (_K9 !== null) { return ! 0 } } } } return ! 1 }; var _na = null;; function _oa() { this._pa = []; this._qa = null; this._r8 = null; this._ra = null; if (_sa) { this._ta = this._ua; this._va = this._wa } else { this._ta = this._xa; this._va = this._ya } }; _oa.prototype._za = function(_J8, _Aa, _Ba, _Ca) { this._pa[_J8] = { _Da: [], _Ea: 0, _Fa: 32, _Ga: _Ha[_Ca], _f3: 0, _g3: 0, _J3: _Aa, _K3: _Ba } }; _oa.prototype._Ia = function(_Ja, _Ka, _Aa, _Ba) { var width = _Aa; var height = _Ba; var _La = this; var _Ma = function(_Na) { var _Oa = _Na; _Oa.width = width; _Oa.height = height; var _Pa = _Qa(_Ra + _Na.name); _Oa._Sa = _Pa; _Ha[_Pa].onload = function(e) { _La._za(_Oa.name, e.srcElement.width, e.srcElement.height, _Pa) }; _Ha[_Pa].onerror = function(e) { debug("ImageError: " + e.srcElement.src) }; _Ha[_Pa].URL = _Na.name }; this._ra = new _x8._Ta(_Ka, { load: _Ma }); this._qa = new _x8._Ua(new _x8._Va(this._ra)); this._r8 = this._qa._Wa(JSON.parse(_Ja)) }; _oa.prototype._Xa = function(_Ya, _P8, _k9, _f3, _g3, _Za, __a, _0b, _1b, alpha) { if (this._r8 === null || this._r8 === undefined) return; _x8._2b._3b = !0; var _4b = new _i8(this); _4b._C8(_Ya); _4b._D8(_P8); _4b._T8(_k9, _f3, _g3, _Za, __a, _0b); this._5b(_4b._m8, _1b, alpha) }; _oa.prototype._6b = function(_k9, _f3, _g3, _Za, __a, _0b, _1b, alpha) { if (!_na || !_na._7b()) { this._Xa(null, null, _k9, _f3, _g3, _Za, __a, _0b, _1b, alpha) } else { _x8._2b._3b = !0; var _8b = _na._7b(); _8b._T8(_k9, _f3, _g3, _Za, __a, _0b, _na); this._5b(_8b._m8, _1b, alpha); if (_8b._l8) { this._9b(_8b._n8) } } }; _oa.prototype._5b = function(_ab, _bb, alpha) { var _cb = (_bb & 0xff) / 255.0, _db = ((_bb & 0xff00) >> 8) / 255.0, _eb = ((_bb & 0xff0000) >> 16) / 255.0; for (var _H3 = 0, _C9 = _ab._fb.length; _H3 < _C9; _H3++) { var _gb = _ab._hb[_H3]; if (!_gb._ib) { continue } var _T9 = (_gb._09._T9 * _gb._T9 * _cb * 255); var _jb = (_gb._09._jb * _gb._jb * _db * 255); var _W9 = (_gb._09._W9 * _gb._W9 * _eb * 255); var _kb = (_gb._09._kb * _gb._kb * alpha * 255); var _1b = (_kb << 24) | (_T9 << 0) | (_jb << 8) | (_W9 << 16); switch (_gb._ib.type) { case _x8._lb._mb: this._ta(_gb, _1b, alpha); break; case _x8._lb._nb: case _x8._lb._ob: this._va(_gb, _1b, alpha); break } } }; _oa.prototype._9b = function(_pb) { _qb(_pb._p9, _pb._s9, _pb._p9, _pb._t9); _qb(_pb._p9, _pb._t9, _pb._r9, _pb._t9); _qb(_pb._r9, _pb._t9, _pb._r9, _pb._s9); _qb(_pb._r9, _pb._s9, _pb._p9, _pb._s9); for (var _C9 = 0; _C9 < _pb._D9.length; _C9++) { var _E9 = _pb._D9[_C9]; var _x3 = _E9.length / 2; for (var _F9 = 0; _F9 < _x3; _F9++) { var _G9, _H9, _I9, _J9; _G9 = _E9[(_F9 * 2) + 0]; _H9 = _E9[(_F9 * 2) + 1]; if (_F9 == (_x3 - 1)) { _I9 = _E9[0]; _J9 = _E9[1] } else { _I9 = _E9[((_F9 + 1) * 2) + 0]; _J9 = _E9[((_F9 + 1) * 2) + 1] } _qb(_G9, _H9, _I9, _J9) } } }; _oa.prototype._xa = function(_gb, _1b, alpha) { var _mb = _gb._ib, _rb = []; _mb._sb(_gb._09._f3, _gb._09._g3, _gb._tb, _rb); var _ub = []; _ub[0] = {}; _ub[0]._f3 = _rb[2]; _ub[0]._g3 = _rb[3]; _ub[0]._vb = _mb._wb[2]; _ub[0]._xb = _mb._wb[3]; _ub[1] = {}; _ub[1]._f3 = _rb[4]; _ub[1]._g3 = _rb[5]; _ub[1]._vb = _mb._wb[4]; _ub[1]._xb = _mb._wb[5]; _ub[2] = {}; _ub[2]._f3 = _rb[6]; _ub[2]._g3 = _rb[7]; _ub[2]._vb = _mb._wb[6]; _ub[2]._xb = _mb._wb[7]; _ub[3] = {}; _ub[3]._f3 = _rb[0]; _ub[3]._g3 = _rb[1]; _ub[3]._vb = _mb._wb[0]; _ub[3]._xb = _mb._wb[1]; _yb.globalAlpha = alpha; var _Oa = _mb._Sa._zb; var _Pa = _Ha[_Oa._Sa]; if (_1b != _Ab) { if (!this._pa[_mb._Sa._zb.name]) { var _zb = _mb._Sa._zb; this._za(_zb.name, _zb.width, _zb.height, _mb._Sa._zb._Sa) } _Pa = _Bb(this._pa[_mb._Sa._zb.name], _1b) } var _Cb = this._pa[_Oa.name]; this._Db(_yb, _Pa, _ub[0]._f3, _ub[0]._g3, _ub[1]._f3, _ub[1]._g3, _ub[2]._f3, _ub[2]._g3, _ub[0]._vb * _Cb._J3, _ub[0]._xb * _Cb._K3, _ub[1]._vb * _Cb._J3, _ub[1]._xb * _Cb._K3, _ub[2]._vb * _Cb._J3, _ub[2]._xb * _Cb._K3); this._Db(_yb, _Pa, _ub[2]._f3, _ub[2]._g3, _ub[3]._f3, _ub[3]._g3, _ub[0]._f3, _ub[0]._g3, _ub[2]._vb * _Cb._J3, _ub[2]._xb * _Cb._K3, _ub[3]._vb * _Cb._J3, _ub[3]._xb * _Cb._K3, _ub[0]._vb * _Cb._J3, _ub[0]._xb * _Cb._K3) }; _oa.prototype._ya = function(_gb, _1b, alpha) { var _nb = _gb._ib, _rb = []; _nb._Eb(_gb._09._f3, _gb._09._g3, _gb, _rb); var _Oa = _nb._Sa._zb; var _Pa = _Ha[_Oa._Sa]; if (_1b != _Ab) { if (!this._pa[_nb._Sa._zb.name]) { var _zb = _nb._Sa._zb; this._za(_zb.name, _zb.width, _zb.height, _nb._Sa._zb._Sa) } _Pa = _Bb(this._pa[_nb._Sa._zb.name], _1b) } for (var _C9 = 0; _C9 < _nb._Fb.length / 3; _C9++) { var _Gb = _nb._Fb[(_C9 * 3) + 0], _Hb = _nb._Fb[(_C9 * 3) + 1], _Ib = _nb._Fb[(_C9 * 3) + 2]; var _ub = []; _ub[0] = {}; _ub[0]._f3 = _rb[(_Gb * 2) + 0]; _ub[0]._g3 = _rb[(_Gb * 2) + 1]; _ub[0]._vb = _nb._wb[(_Gb * 2) + 0]; _ub[0]._xb = _nb._wb[(_Gb * 2) + 1]; _ub[1] = {}; _ub[1]._f3 = _rb[(_Hb * 2) + 0]; _ub[1]._g3 = _rb[(_Hb * 2) + 1]; _ub[1]._vb = _nb._wb[(_Hb * 2) + 0]; _ub[1]._xb = _nb._wb[(_Hb * 2) + 1]; _ub[2] = {}; _ub[2]._f3 = _rb[(_Ib * 2) + 0]; _ub[2]._g3 = _rb[(_Ib * 2) + 1]; _ub[2]._vb = _nb._wb[(_Ib * 2) + 0]; _ub[2]._xb = _nb._wb[(_Ib * 2) + 1]; var _Cb = this._pa[_Oa.name]; this._Db(_yb, _Pa, _ub[0]._f3, _ub[0]._g3, _ub[1]._f3, _ub[1]._g3, _ub[2]._f3, _ub[2]._g3, _ub[0]._vb * _Cb._J3, _ub[0]._xb * _Cb._K3, _ub[1]._vb * _Cb._J3, _ub[1]._xb * _Cb._K3, _ub[2]._vb * _Cb._J3, _ub[2]._xb * _Cb._K3) } }; _oa.prototype._Db = function(_Jb, _Kb, _Lb, _Mb, _G9, _H9, _I9, _J9, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb) { _Jb.save(); _Jb.beginPath(); _Jb.moveTo(_Lb, _Mb); _Jb.lineTo(_G9, _H9); _Jb.lineTo(_I9, _J9); _Jb.closePath(); _Jb.clip(); var _Tb = _Nb * (_Sb - _Qb) - _Pb * _Sb + _Rb * _Qb + (_Pb - _Rb) * _Ob; if (_Tb == 0) { return } var _Ub = -(_Ob * (_I9 - _G9) - _Qb * _I9 + _Sb * _G9 + (_Qb - _Sb) * _Lb) / _Tb; var _Vb = (_Qb * _J9 + _Ob * (_H9 - _J9) - _Sb * _H9 + (_Sb - _Qb) * _Mb) / _Tb; var _Wb = (_Nb * (_I9 - _G9) - _Pb * _I9 + _Rb * _G9 + (_Pb - _Rb) * _Lb) / _Tb; var _Xb = -(_Pb * _J9 + _Nb * (_H9 - _J9) - _Rb * _H9 + (_Rb - _Pb) * _Mb) / _Tb; var _Yb = (_Nb * (_Sb * _G9 - _Qb * _I9) + _Ob * (_Pb * _I9 - _Rb * _G9) + (_Rb * _Qb - _Pb * _Sb) * _Lb) / _Tb; var _Zb = (_Nb * (_Sb * _H9 - _Qb * _J9) + _Ob * (_Pb * _J9 - _Rb * _H9) + (_Rb * _Qb - _Pb * _Sb) * _Mb) / _Tb; _Jb.transform(_Ub, _Vb, _Wb, _Xb, _Yb, _Zb); _Jb.drawImage(_Kb, 0, 0); _Jb.restore() }; _oa.prototype._ua = function(_gb, _1b, alpha) { var _mb = _gb._ib, _rb = []; _mb._sb(_gb._09._f3, _gb._09._g3, _gb._tb, _rb); var _Pa = _Ha[_mb._Sa._zb._Sa]; if (!_Pa.complete) return; if (!_Pa.__b) _0c({ _Ga: _Pa }); var _1c = 6; var _2c = _sa._3c(_4c._5c, _Pa.__b, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _1c; var _ac = _2c._bc; var _cc = _2c._dc; var _ec = _2c._fc; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; _ac[_gc + 0] = _ac[_lc + 0] = _rb[2]; _ac[_gc + 1] = _ac[_lc + 1] = _rb[3]; _ac[_hc + 0] = _rb[4]; _ac[_hc + 1] = _rb[5]; _ac[_ic + 0] = _ac[_jc + 0] = _rb[6]; _ac[_ic + 1] = _ac[_jc + 1] = _rb[7]; _ac[_kc + 0] = _rb[0]; _ac[_kc + 1] = _rb[1]; _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b; _ec[_gc + 0] = _ec[_lc + 0] = _mb._wb[2]; _ec[_gc + 1] = _ec[_lc + 1] = _mb._wb[3]; _ec[_hc + 0] = _mb._wb[4]; _ec[_hc + 1] = _mb._wb[5]; _ec[_ic + 0] = _ec[_jc + 0] = _mb._wb[6]; _ec[_ic + 1] = _ec[_jc + 1] = _mb._wb[7]; _ec[_kc + 0] = _mb._wb[0]; _ec[_kc + 1] = _mb._wb[1] }; _oa.prototype._wa = function(_gb, _1b, alpha) { var _nb = _gb._ib, _rb = []; _nb._Eb(_gb._09._f3, _gb._09._g3, _gb, _rb); var _Pa = _Ha[_nb._Sa._zb._Sa]; if (!_Pa.complete) return; if (!_Pa.__b) _0c({ _Ga: _Pa }); var _1c = _nb._Fb.length; var _2c = _sa._3c(_4c._5c, _Pa.__b, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _1c; var _ac = _2c._bc; var _cc = _2c._dc; var _ec = _2c._fc; var _gc = index; for (var _C9 = 0; _C9 < _1c; _C9++, _gc += _7c) { var _Gb = _nb._Fb[_C9]; _ac[_gc + 0] = _rb[(_Gb * 2) + 0]; _ac[_gc + 1] = _rb[(_Gb * 2) + 1]; _cc[_gc + 0] = _cc[_gc + 1] = _1b; _ec[_gc + 0] = _nb._wb[(_Gb * 2) + 0]; _ec[_gc + 1] = _nb._wb[(_Gb * 2) + 1]; } }; function _mc(_b3) { _nc("draw_primitive_begin()") } function _oc(_b3, _pc) { _nc("draw_primitive_begin_texture()") } function _qc(_f3, _g3) { _nc("draw_vertex()") } function _rc(_f3, _g3, _1b, alpha) { _nc("draw_vertex_color()") } var _sc = _rc; function _tc(_f3, _g3, _uc, _vc) { _nc("draw_vertex_texture()") } function _wc(_f3, _g3, _uc, _vc, _1b, alpha) { _nc("draw_vertex_texture_color()") } var _xc = _wc; function _yc() { _nc("draw_primitive_end()") } function _zc(_b3) { _nc("d3d_primitive_begin()") } function _Ac(_b3, _pc) { _nc("d3d_primitive_begin_texture()") } function _Bc(_f3, _g3, _Cc) { _nc("d3d_vertex()") } function _Dc(_f3, _g3, _Cc, _1b, alpha) { _nc("d3d_vertex_color()") } var _Ec = _Dc; function _Fc(_f3, _g3, _Cc, _uc, _vc) { _nc("d3d_vertex_texture()") } function _Gc(_f3, _g3, _Cc, _uc, _vc, _1b, alpha) { _nc("d3d_vertex_texture_color()"); } var _Hc = _Gc; function _Ic(_f3, _g3, _Cc, _Jc, _Kc, _Lc) { _nc("d3d_vertex_normal()") } function _Mc(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) { _nc("d3d_vertex_normal_color()") } var _Nc = _Mc; function _Oc(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) { _nc("d3d_vertex_normal_texture()") } function _Pc(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) { _nc("d3d_vertex_normal_texture_color()") } var _Qc = _Pc; function _Rc() { _nc("d3d_primitive_end()") } var _Sc = null; var _Tc = 0, _Uc = -1, _Vc = null, _Wc = null; var _Xc = 1, _Yc = 2, _Zc = 3, __c = 4, _0d = 5, _1d = 6, _2d = 7; function _3d() { _mc = _4d; _oc = _5d; _qc = _6d; _rc = _7d; _sc = _7d; _tc = _8d; _wc = _9d; _xc = _9d; _yc = _ad; _zc = _bd; _Ac = _cd; _Bc = _dd; _Dc = _ed; _Ec = _ed; _Fc = _fd; _Gc = _gd; _Hc = _gd; _Ic = _hd; _Mc = _id; _Nc = _id; _Oc = _jd; _Pc = _kd; _Qc = _kd; _Rc = _ld } function _md(_nd) { switch (_nd) { case _Xc: return _4c._od; case _Yc: return _4c._pd; case _Zc: return _4c._qd; case __c: return _4c._5c; case _0d: return _4c._rd; case _1d: return _4c._sd; case _2d: return _4c._5c } return - 1 } function _td() { _Tc = 0; _Uc = -1; _Vc = null; _Wc = null } function _4d(_ud) { _5d(_ud, -1) } function _5d(_ud, _Ca) { _Tc = _ud; _Uc = null; if (typeof(_Ca) == "object") { _Uc = _Ca._vd } else if ((_Ca != -1) && _Ha[_Ca]) { _Uc = _Ha[_Ca] } if (_Uc && !_Uc.__b) { _0c({ _Ga: _Uc }) } _Wc = new _wd(_xd, _sa._yd(_sa._6c), !1) } function _6d(_V8, _W8) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._fc[index + 0] = 0; _Wc._fc[index + 1] = 0; _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff) } function _7d(_V8, _W8, _Cd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._fc[index + 0] = 0; _Wc._fc[index + 1] = 0; _Wc._dc[index] = _Dd(_Cd) } function _8d(_V8, _W8, _Ed, _Fd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._fc[index + 0] = _Ed; _Wc._fc[index + 1] = _Fd; _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff) } function _9d(_V8, _W8, _Ed, _Fd, _Cd, _Gd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._fc[index + 0] = _Ed; _Wc._fc[index + 1] = _Fd; _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Cd) } function _ad() { var _Hd = _md(_Tc); if (_Hd == -1) { return } var _Id = _Wc._Jd.subarray(0, _Wc._9c * _Wc._8c()); var _Kd = _Uc ? _Uc.__b: null; var _2c = _sa._3c(_Hd, _Kd, _sa._6c, _Wc._9c); _2c._Jd.set(_Id, _2c._9c * _2c._8c()); _2c._9c += _Wc._9c } function _bd(_b3) { _Ac(_b3, -1) } function _cd(_ud, _Ca) { _Tc = _ud; _Uc = null; if (_Ca == null || _Ca == undefined) { _Vc = null } else if (typeof(_Ca) == "object") { _Uc = _Ca._vd; _Vc = _Ca._Ld } else if ((_Ca != -1) && _Ha[_Ca]) { _Uc = _Ha[_Ca] } if (_Uc && !_Uc.__b) { _0c({ _Ga: _Uc }) } _Wc = new _wd(_xd, _sa._yd(_sa._Md), !1) } function _Nd(_Ed, _Fd) { if (_Vc) { return ({ _vb: (_Vc._f3 + (_Ed * _Vc._u5)) / _Uc._Od, _xb: (_Vc._g3 + (_Fd * _Vc._v5)) / _Uc._Pd }) } else { return ({ _vb: _Ed, _xb: _Fd }) } }; function _dd(_V8, _W8, _Qd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = 0; _Wc._Rd[index + 1] = 0; _Wc._Rd[index + 2] = 0; _Wc._fc[index + 0] = 0; _Wc._fc[index + 1] = 0; _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff) } function _ed(_V8, _W8, _Qd, _Sd, _Gd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = 0; _Wc._Rd[index + 1] = 0; _Wc._Rd[index + 2] = 0; _Wc._fc[index + 0] = 0; _Wc._fc[index + 1] = 0; _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd) } function _fd(_V8, _W8, _Qd, _Td, _Ud) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = 0; _Wc._Rd[index + 1] = 0; _Wc._Rd[index + 2] = 0; var _Vd = _Nd(_Td, _Ud); _Wc._fc[index + 0] = _Vd._vb; _Wc._fc[index + 1] = _Vd._xb; _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff) } function _gd(_V8, _W8, _Qd, _Td, _Ud, _Sd, _Gd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = 0; _Wc._Rd[index + 1] = 0; _Wc._Rd[index + 2] = 0; var _Vd = _Nd(_Td, _Ud); _Wc._fc[index + 0] = _Vd._vb; _Wc._fc[index + 1] = _Vd._xb; _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd) } function _hd(_V8, _W8, _Qd, _Wd, _Xd, _Yd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = _Wd; _Wc._Rd[index + 1] = _Xd; _Wc._Rd[index + 2] = _Yd; _Wc._fc[index + 0] = 0; _Wc._fc[index + 1] = 0; _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff) } function _id(_V8, _W8, _Qd, _Wd, _Xd, _Yd, _Sd, _Gd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = _Wd; _Wc._Rd[index + 1] = _Xd; _Wc._Rd[index + 2] = _Yd; _Wc._fc[index + 0] = 0; _Wc._fc[index + 1] = 0; _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd) } function _jd(_V8, _W8, _Qd, _Wd, _Xd, _Yd, _Td, _Ud) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = _Wd; _Wc._Rd[index + 1] = _Xd; _Wc._Rd[index + 2] = _Yd; var _Vd = _Nd(_Td, _Ud); _Wc._fc[index + 0] = _Vd._vb; _Wc._fc[index + 1] = _Vd._xb; _Wc._dc[index] = ((_Ad * 255.0) << 24) | (_Bd & 0x00ffffff) } function _kd(_V8, _W8, _Qd, _Wd, _Xd, _Yd, _Td, _Ud, _Sd, _Gd) { var _7c = _Wc._8c() >> 2; var index = _Wc._9c * _7c; _Wc._zd(1); _Wc._bc[index + 0] = _V8; _Wc._bc[index + 1] = _W8; _Wc._bc[index + 2] = _Qd; _Wc._Rd[index + 0] = _Wd; _Wc._Rd[index + 1] = _Xd; _Wc._Rd[index + 2] = _Yd; var _Vd = _Nd(_Td, _Ud); _Wc._fc[index + 0] = _Vd._vb; _Wc._fc[index + 1] = _Vd._xb; _Wc._dc[index] = ((_Gd * 255.0) << 24) | _Dd(_Sd) } function _ld() { var _Hd = _md(_Tc); if (_Hd == -1) { return } var _Id = _Wc._Jd.subarray(0, _Wc._9c * _Wc._8c()); var _Kd = _Uc ? _Uc.__b: null; var _2c = _sa._3c(_Hd, _Kd, _sa._Md, _Wc._9c); _2c._Jd.set(_Id, _2c._9c * _2c._8c()); _2c._9c += _Wc._9c } function _Zd(__d) { var _0e = null, _1e = null, _2e = null, _3e = !1, _4e = null, _5e; var _6e = 0, _7e = 0, _8e = 0, _9e = 0; (function() { _0e = new ArrayBuffer(__d); _1e = new DataView(_0e) })(); function _ae(_be, _ce) { var _de = !1; var _ee = _4e._fe; for (var _H3 = 0; _H3 < _ee.length; _H3++) { var _ge = _ee[_H3]; if (((_be == -1) || (_ge._he == _be)) && (_ge.type == _ce)) { _de = !0; if ((_ge._ie & _6e) === 0) { var _je = (_9e + _ge._L3); _6e |= _ge._ie; if (_4e._ke === _6e) { _6e = 0; _7e++; _9e += _4e._le; if ((_9e + _4e._le) >= _0e.byteLength) { this._me(_0e.byteLength * 2) } } return _je } } } if (_de) { debug("VERTEX BUILDER: element already written, must write the whole vertex first\n\n", !0); return - 1 } debug("VERTEX BUILDER: Vertex format does not contain selected type.\n\n", !0); return - 1 }; this._me = function(__d) { var _ne = new ArrayBuffer(__d); var _oe = new Int8Array(_0e); var _pe = new Int8Array(_ne); _pe.set(_oe); _0e = _ne; _1e = new DataView(_0e) }; this._qe = function(_re) { _6e = 0; _7e = 0; _8e = 0; _9e = 0; _5e = _re; _4e = _sa._yd(_re); if (_4e._le > _0e.byteLength) { this._me(_4e._le * 36) } }; this._se = function() {}; this._te = function(_f3, _g3) { var _je = _ae(_4c._ue, _4c._ve); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0); _1e.setFloat32(_je + 4, _g3, !0) } }; this._we = function(_f3, _g3, _Cc) { var _je = _ae(_4c._ue, _4c._xe); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0); _1e.setFloat32(_je + 4, _g3, !0); _1e.setFloat32(_je + 8, _Cc, !0) } }; this._ye = function(_1b, _Gd) { var _je = _ae(_4c._ze, _4c._Ae); if (_je >= 0) { var _Be = ((alpha * 255.0) << 24) | _Dd(_1b); _1e.setUint32(_je, _Be, !0) } }; this._Ce = function(_De) { var _je = _ae(_4c._ze, _4c._Ae); if (_je >= 0) { var _1b = ((_De & 0xff) << 24) | ((_De & 0xff00) << 8) | ((_De & 0xff0000) >> 8) | ((_De & 0xff000000) >> 24); _1e.setUint32(_je, _1b, !0) } }; this._Ee = function(_Fe) { var _je = _ae(_4c._ze, _4c._Ae); if (_je >= 0) { var _1b = (_Fe & 0xff000000) | ((_Fe & 0xff) << 16) | (_Fe & 0xff00) | ((_Fe & 0xff0000) >> 16); _1e.setUint32(_je, _1b, !0) } }; this._Ge = function(_vb, _xb) { var _je = _ae(_4c._He, _4c._ve); if (_je >= 0) { _1e.setFloat32(_je, _vb, !0); _1e.setFloat32(_je + 4, _xb, !0) } }; this._Ie = function(_f3, _g3, _Cc) { var _je = _ae(_4c._Je, _4c._xe); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0); _1e.setFloat32(_je + 4, _g3, !0); _1e.setFloat32(_je + 8, _Cc, !0) } }; this._Ke = function(_f3) { var _je = _ae( - 1, _4c._Le); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0) } }; this._Me = function(_f3, _g3) { var _je = _ae( - 1, _4c._ve); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0); _1e.setFloat32(_je + 4, _g3, !0) } }; this._Ne = function(_f3, _g3, _Cc) { var _je = _ae( - 1, _4c._xe); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0); _1e.setFloat32(_je + 4, _g3, !0); _1e.setFloat32(_je + 8, _Cc, !0) } }; this._Oe = function(_f3, _g3, _Cc, _J3) { var _je = _ae( - 1, _4c._Pe); if (_je >= 0) { _1e.setFloat32(_je, _f3, !0); _1e.setFloat32(_je + 4, _g3, !0); _1e.setFloat32(_je + 8, _Cc, !0); _1e.setFloat32(_je + 12, _J3, !0) } }; this._Qe = function(_f3, _g3, _Cc, _J3) { var _je = _ae( - 1, _4c._Re); if (_je >= 0) { _1e.setUint8(_je, _f3, !0); _1e.setUint8(_je + 1, _g3, !0); _1e.setUint8(_je + 2, _Cc, !0); _1e.setUint8(_je + 3, _J3, !0) } }; this._Se = function() { var _Te = new _wd(_7e, _4e, !1); var _Ue = _7e * _4e._le; var _Ve = new Int8Array(_0e, 0, _Ue); _Te._Jd.set(_Ve); _Te._9c += _7e; _Te._Se(); _2e = _Te; _3e = !0; _0e = null; _1e = null }; this._We = function(_Xe, _Ye) { if (_3e) { _sa._Ze(_Xe, _Ye._vd.__b, _2e, 0) } else { var _2c = _sa._3c(_Xe, _Ye._vd.__b, _5e, _7e); var __e = _2c._9c * _4e._le; var _Ve = new Int8Array(_0e, 0, _7e * _4e._le); _2c._Jd.set(_Ve, __e); _2c._9c += _7e } } } var _0f = null; function _1f(_2f) { var _3f = 0, _4f = 0.5; var _5f = _2f; var _6f = []; var _7f = []; var _8f = []; var _9f = _3f; var _af = _4f; Object.defineProperties(this, { _bf: { get: function() { return _9f }, set: function(_cf) { _9f = _cf } }, _df: { get: function() { return _af }, set: function(_cf) { _af = _cf } } }); this._ef = function() { _7f = _6f.slice(); _8f = _5f.axes.slice(); var _ff = _5f.buttons; if (_ff) { for (var _W9 in _ff) { if (!_ff.hasOwnProperty(_W9)) continue; if (typeof(_ff[_W9]) === "object") { _6f[_W9] = _ff[_W9].value } else { _6f[_W9] = _ff[_W9] } } } }; this._gf = function() { if (_5f) { return _5f.id || "" } return "" }; this._hf = function() { if (_6f) { return _6f.length } return 0 }; this._if = function(_jf) { var _kf = _6f[_jf]; var _lf = _7f[_jf]; if ((_kf !== undefined) && (_lf !== undefined)) { return ((_kf >= _af) && (_lf < _af)) } return ! 1 }; this._mf = function(_jf) { var _kf = _6f[_jf]; var _lf = _7f[_jf]; if ((_kf !== undefined) && (_lf !== undefined)) { return ((_kf < _af) && (_lf >= _af)) } return ! 1 }; this._nf = function(_jf) { var _kf; if (typeof(_6f[_jf]) === "object") { _kf = _6f[_jf].value } else { _kf = _6f[_jf] } if (_kf !== undefined) { return (_kf >= _af) } return ! 1 }; this._of = function(_jf) { var _kf; if (typeof(_6f[_jf]) === "object") { _kf = _6f[_jf].value } else { _kf = _6f[_jf]; } return _kf || 0.0 }; this._pf = function() { if (_8f) { return _8f.length } return 0 }; this._qf = function(_rf, _sf) { var _tf = _8f[_rf] || 0; if (_9f > 0.0) { var _uf = Math.abs(_tf); if (_uf < _9f) { _tf = 0.0 } else { var _vf = (_tf >= 0) ? 1.0 : -1.0; _tf = ((_uf - _9f) / (_sf - _9f)) * _vf } } return _tf } } function _wf() { var _xf = 1.0, _yf = 1.0; var _zf = 0, _Af = 1, _Bf = 2; var _Cf = 0x8000, _Df = 0x8001, _Ef = 0x8002, _Ff = 0x8003, _Gf = 0x8004, _Hf = 0x8005, _If = 0x8006, _Jf = 0x8007, _Kf = 0x8008, _Lf = 0x8009, _Mf = 0x800A, _Nf = 0x800B, _Of = 0x800C, _Pf = 0x800D, _Qf = 0x800E, _Rf = 0x800F, _Sf = 0x8010, _Tf = 0x8011, _Uf = 0x8012, _Vf = 0x8013, _Wf = 0x8014; var _Xf = 0, _Yf = 1, _Zf = 2, __f = 3, _0g = 4, _1g = 5, _2g = 6, _3g = 7, _4g = 8, _5g = 9, _6g = 10, _7g = 11, _8g = 12, _9g = 13, _ag = 14, _bg = 15; var _cg = 0, _dg = 1, _eg = 2, _fg = 3; function _gg() { return !! navigator["getGamepads"] || !!navigator["webkitGetGamepads"] || !!navigator["webkitGamepads"] } var _hg = _gg() ? _Af: _zf; var _ig = []; function _jg() { if (navigator["getGamepads"]) { return navigator["getGamepads"]() } if (navigator["webkitGetGamepads"]) { return navigator["webkitGetGamepads"]() } if (navigator["webkitGamepads"]) { return navigator["webkitGamepads"](); } return null } function _kg() { var _H3 = 0; for (_H3 = 0; _H3 < _ig.length; _H3++) { _ig[_H3]._ef() } } function _lg() { var _mg = 0; var gamepads = _jg(); if (gamepads !== null) { for (_mg = 0; _mg < gamepads.length; ++_mg) { var _ng = gamepads[_mg]; if (!_ng) { if (_ig[_mg]) { _ig[_mg].splice(_mg, 1) } } else { if (!_ig[_mg]) { _ig[_mg] = new _1f(_ng) } } } } } function _og(_jf) { if (_jf < _Cf) { return _jf } switch (_jf) { case _Df: return _Xf; case _Ef: return _Yf; case _Ff: return _Zf; case _Gf: return __f; case _Hf: return _0g; case _If: return _1g; case _Jf: return _2g; case _Kf: return _3g; case _Lf: return _4g; case _Mf: return _5g; case _Nf: return _6g; case _Of: return _7g; case _Pf: return _8g; case _Qf: return _9g; case _Rf: return _ag; case _Sf: return _bg } return 0 } function _pg(_rf) { if (_rf < _Cf) { return _rf } switch (_rf) { case _Tf: return _cg; case _Uf: return _dg; case _Vf: return _eg; case _Wf: return _fg } return 0 } function _wf() {} this._qg = function() { return _ig.length }; this._rg = function(_sg) { var _tg = _ig[_sg]; if (_tg) { return _tg._gf() } return "" }; this._ug = function() { return (_hg !== _zf) }; this._df = function(_sg) { var _tg = _ig[_sg]; if (_tg) { return _tg._df; } return 0.0 }; this._vg = function(_sg, _wg) { var _tg = _ig[_sg]; if (_tg) { if ((_wg >= 0.0) && (_wg <= _xf)) { _tg._df = _wg } } }; this._bf = function(_sg) { var _tg = _ig[_sg]; if (_tg) { return _tg._bf } return 0.0 }; this._xg = function(_sg, _yg) { var _tg = _ig[_sg]; if (_tg) { if ((_yg >= 0.0) && (_yg <= _yf)) { _tg._bf = _yg } } }; this._zg = function() { _ig = [] }; this._Ag = function() { switch (_hg) { case _Af: _lg(); _kg(); break; case _Bf: _kg(); break; case _zf: default: return } }; this._Bg = function(_sg) { if (_ig[_sg] !== null && _ig[_sg] !== undefined) { return ! 0 } return ! 1 }; this._hf = function(_sg) { var _tg = _ig[_sg]; if (_tg) { return _tg._hf() } return 0 }; this._pf = function(_sg) { var _tg = _ig[_sg]; if (_tg) { return _tg._pf() } return 0 }; this._nf = function(_sg, _jf) { var _tg = _ig[_sg]; if (_tg) { return _tg._nf(_og(_jf), _tg._df) } return ! 1 }; this._if = function(_sg, _jf) { var _tg = _ig[_sg]; if (_tg) { return _tg._if(_og(_jf), _tg._df) } return ! 1 }; this._mf = function(_sg, _jf) { var _tg = _ig[_sg]; if (_tg) { return _tg._mf(_og(_jf), _tg._df) } return ! 1 }; this._of = function(_sg, _jf) { var _tg = _ig[_sg]; if (_tg) { return _tg._of(_og(_jf)) } return 0; }; this._qf = function(_sg, _rf) { var _tg = _ig[_sg]; if (_tg) { return _tg._qf(_pg(_rf), _yf) } return 0 } }; var _Cg = []; var _Dg = "None"; var _Eg = 0; var _Fg = 0; function _Gg() { this._f3 = 0; this._g3 = 0; this._nf = 0; this._if = 0; this._mf = 0; this._Hg = 0 }; _Gg.prototype._zg = function() { this._nf = 0; this._if = 0; this._mf = 0; this._Hg = 0 }; _Gg.prototype._Ig = function(_V8, _W8) { if (_H8) { var _Jg; if (!_H8._Kg) { _Jg = _Lg } else { _Jg = _H8._Mg } for (_xb = 0; _xb < _Jg.length; _xb++) { _Ng = _Jg[_xb]; if (_Ng._Q3) { _Og(canvas, _Pg); if (((_V8 - _Pg.left) >= _Ng._Qg) && ((_V8 - _Pg.left) < _Ng._Rg) && ((_W8 - _Pg.top) >= _Ng._Sg) && ((_W8 - _Pg.top) < _Ng._Tg)) { this._f3 = _Ng._Ug(_V8); this._g3 = _Ng._Vg(_W8); return } } } } this._f3 = _V8; this._g3 = _W8 }; function log(_Wg) { setTimeout(function() { throw new _Xg(_Wg) }, 0) } function _Yg(_Zg) { for (var _H3 = 0; _H3 < _Cg.length; _H3++) { if (_Cg[_H3] === _Zg) { return _H3 } } return - 1 } function __g(_Zg) { var _0h = -1; for (var _H3 = 0; _H3 < _Cg.length; _H3++) { if ((_Cg[_H3] === _Zg) || (_Cg[_H3] === -1)) { _0h = _H3; break } } if (_0h == -1) { _0h = _Cg.length } _Cg[_0h] = _Zg; _1h[_0h] = new _Gg(); return _0h } var _2h = !1; function _3h(event) { if (!_2h && (_4h == _5h)) { _6h(); _2h = !0 } for (var _7h = 0; _7h < event.changedTouches.length; _7h++) { var _8h = event.changedTouches[_7h]; var type = ""; var _0h = -1; _Dg = event.type; switch (event.type) { case "touchstart": _0h = __g(_8h["identifier"]); break; case "touchend": _0h = _Yg(_8h["identifier"]); _Cg[_0h] = -1; break; case "touchmove": _0h = _Yg(_8h["identifier"]); break; default: return } var _9h; var _ah; if (_bh) { var _ch = { _f3: 0, _g3: 0 }; _bh(_8h, _ch); _9h = _ch._f3; _ah = _ch._g3 } else { _9h = _8h.pageX; _ah = _8h.pageY } if (_0h == 0) { if (_dh != null) { _eh = _9h; _fh = _ah } switch (event.type) { case "touchstart": _gh = 1; break; case "touchmove": _gh = 1; break; case "touchend": _gh = 0; break } } _1h[_0h]._Ig(_9h, _ah); _hh[_0h]._f3 = _9h; _hh[_0h]._g3 = _ah; switch (event.type) { case "touchstart": _1h[_0h]._nf = 1; _hh[_0h]._ih = _jh | _kh | _lh; break; case "touchend": _1h[_0h]._nf = 0; _hh[_0h]._ih = 0; break; case "touchmove": default: break } event.preventDefault() } } function _mh() { canvas.ontouchstart = _3h; canvas.ontouchmove = _3h; canvas.ontouchend = _3h; canvas.ontouchcancel = _3h } var _nh, _oh, _ph, _qh, _rh, _sh, _th; function _uh(_vh, _wh) { this._xh = []; this._Od = _vh; this._Pd = _wh; var _V9 = _vh * _wh; for (var _H3 = 0; _H3 < _V9; _H3++) { this._xh[_H3] = 0 } } _uh.prototype._yh = function(_zh) { this._Od = _zh._Od; this._Pd = _zh._Pd; this._xh = _zh._xh.slice() }; var _Ah = _Bh; function _Bh(_Ch, _V8, _W8, _Dh) { var _Eh = _Fh._Gh(_Ch); if (!_Eh) { _Xg("Error: invalid ds_grid ID (ds_grid_set)"); return } if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) { _Xg("Error: grid out of bounds(set) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")"); return } _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh } function _Hh(_Ch, _V8, _W8, _Dh) { var _Eh = _Fh._Gh(_Ch); if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) { return } _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh } var _Ih = _Jh; function _Jh(_Ch, _V8, _W8, _Dh) { var _Eh = _Fh._Gh(_Ch); if (!_Eh) { _Xg("Error: invalid ds_grid ID (ds_grid_set)"); return _Dh } if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) { _Xg("Error: grid out of bounds(set) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")"); return _Dh } _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh; return _Dh } function _Kh(_Ch, _V8, _W8, _Dh) { var _Eh = _Fh._Gh(_Ch); if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) { return _Dh } _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh; return _Dh } var _Lh = _Mh; function _Mh(_Ch, _V8, _W8, _Dh) { var _Eh = _Fh._Gh(_Ch); if (!_Eh) { _Xg("Error: invalid ds_grid ID (ds_grid_set)"); return _Dh } if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) { _Xg("Error: grid out of bounds(set) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")"); return _Dh } var _Nh = _Eh._xh[_V8 + (_W8 * _Eh._Od)]; _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh; return _Nh } function _Oh(_Ch, _V8, _W8, _Dh) { var _Eh = _Fh._Gh(_Ch); if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) { return _Dh } var _Nh = _Eh._xh[_V8 + (_W8 * _Eh._Od)]; _Eh._xh[_V8 + (_W8 * _Eh._Od)] = _Dh; return _Nh } var _Ph = _Qh; function _Qh(_Ch, _V8, _W8) { var _Eh = _Fh._Gh(_Ch); if (!_Eh) { _Xg("Error: invalid ds_grid ID (ds_grid_get)"); return undefined } if (_V8 < 0 || _V8 >= _Eh._Od || _W8 < 0 || _W8 >= _Eh._Pd) { _Xg("Error: grid out of bounds(get) - GridID: " + _Ch + " size[" + _Eh._Od + "," + _Eh._Pd + "] at (" + _V8 + "," + _W8 + ")"); return undefined } return _Eh._xh[_V8 + (_W8 * _Eh._Od)] } function _Rh(_Ch, _V8, _W8) { var _Eh = _Fh._Gh(_Ch); if ((_V8 < 0) || (_V8 >= _Eh._Od) || (_W8 < 0) || (_W8 >= _Eh._Pd)) { return undefined } return _Eh._xh[_V8 + (_W8 * _Eh._Od)] } function _Sh() { var _R9 = new _Th(); _R9._Uh = !0; return _Vh._Wh(_R9) } function _Xh(_Ch) { var _Yh = _Vh._Gh(_Ch); if (_Yh) return _Yh.length; _Xg("Error: invalid ds_list ID (ds_list_size)"); return 0 } function _Zh() { var __h = _Zh.arguments; var _0i = _Zh.arguments.length; var _Yh = _Vh._Gh(__h[0]); if (!_Yh) { _Xg("Error: invalid ds_list ID (ds_list_add)"); return } for (var _H3 = 1; _H3 < _0i; _H3++) { _Yh._Wh(__h[_H3]) } return } function _1i(_Ch, _2i) { var _xb; var _Yh = _Vh._Gh(_Ch); if (_Yh) { if (_2i >= 0 && _2i < _Yh._3i.length) { _xb = _Yh._3i[_2i]; if (typeof(_xb) == "object") if (_xb instanceof Array) return _xb; else return _xb.Object; if (_xb != undefined) return _xb } _Xg("Error: invalid ds_list position (ds_list_find_value)"); return 0 } _Xg("Error: invalid ds_list ID (ds_list_find_value)"); return - 1 } var _4i = 1, _5i = 2; function _6i(_ce, _7i) { this._8i = _ce; this.Object = _7i; } function _9i() { var _ai = {}; var id = _bi._Wh(_ai); return id } function _ci(_Ch) { _bi._di(_Ch) } function _ei(_Ch) { var _ai = _bi._Gh(_Ch); if (_ai) { var _fi = {}; _bi._gi(_Ch, _fi) } } function _hi(_Ch, _ii) { var _ai = _bi._Gh(_Ch); if (_ai) { if (_ai[_ii] !== undefined) { return ! 0 } } return ! 1 } function _ji(_Ch, _ii, _Dh) { var _ai = _bi._Gh(_Ch); if (_ai) { if (_ai[_ii] !== undefined) { _Xg("Error: KEY(" + _ii + ") already present in ds_map[" + _Ch + "], you can not add a key twice.") } _ai[_ii] = _Dh } } function _ki(_Ch, _ii) { var _ai = _bi._Gh(_Ch); if (_ai) { if (_ai[_ii] !== undefined) { if ((typeof(_ai[_ii]) === "string") || (typeof(_ai[_ii]) === "number") || (_ai[_ii] instanceof Array)) { return _ai[_ii] } var _li = _ai[_ii]; return _li.Object } } _Xg("Error: Key (" + _ii + ") not found in ds_map[" + _Ch + "]"); return 0 } function _mi(_Ch, _ii) { var _ni = !1; var _ai = _bi._Gh(_Ch); for (var _oi in _ai) { if (_ai.hasOwnProperty(_oi)) { if (_ni) { return _oi } if (_oi == _ii) { _ni = !0 } } } return - 1 } function _pi(_Ch) { var _ai = _bi._Gh(_Ch); for (var _oi in _ai) { if (_ai.hasOwnProperty(_oi)) { return _oi; } } return - 1 } var NaN = 0x7ff0000000000001; function _qi(_ri, _si) { var _vf = (_ri >> 31) * 2 + 1; var _ti = (_ri >>> 20) & 0x7FF; _ri &= 0xFFFFF; if (_ti === 0x7FF) return (_ri + _si) ? NaN: _vf / 0; _ti ? (_ti -= 1023, _ri |= 0x100000) : _ti = -1022; var _ui = _si + (_ri * 4294967296.0); return _vf * _ui * Math.pow(2, _ti - 52) } var _vi = 0; var _wi = null; function _xi() { var _x3 = _wi.length; var _Ea = 64 - 8; var _si = 0; var _ri = 0; while (_vi < _x3) { var _kb; var _I3 = _wi[_vi++]; if (_I3 == ',' || _I3 == ':') { _vi--; break } if (_I3 >= 'A') { _kb = ((_I3.charCodeAt() - 65) + 10) << 4 } else { _kb = ((_I3.charCodeAt() - 48) << 4) } _I3 = _wi[_vi++]; if (_I3 >= 'A') { _kb |= (~~ (_I3.charCodeAt() - 65)) + 10 } else { _kb |= ~~ (_I3.charCodeAt() - 48) } if (_Ea > 32) { _ri |= _kb << (_Ea - 32) } else { _si |= _kb << (_Ea - 32) } _Ea -= 8 } return _qi(_ri, _si) } function _yi() { var _x3 = _wi.length; var _zi = ""; while (_vi < _x3) { var _kb; var _I3 = _wi[_vi++]; if (_I3 == ',' || _I3 == ':') { _vi--; break } if (_I3 >= 'A') { _kb = ((_I3.charCodeAt() - 65) + 10) << 4 } else { _kb = ((_I3.charCodeAt() - 48) << 4) } _I3 = _wi[_vi++]; if (_I3 >= 'A') { _kb |= (_I3.charCodeAt() - 65) + 10 } else { _kb |= (_I3.charCodeAt() - 48) } _zi += String.fromCharCode(_kb) } return _zi } var _Ai = !1; function _Bi() { var id = 0xF35065da3bb79cac7; return id.toString() } function _Ci() { var __h = _Ci.arguments; var _0i = _Ci.arguments.length; var _Di = _Ei._Gh(__h[0]); if (!_Di) { _Xg("Error: invalid ds_queue ID (ds_queue_enqueue)"); return } for (var _H3 = 1; _H3 < _0i; _H3++) { _Di[_Di.length] = __h[_H3] } return } function _Fi(_Ch, _Dh) { var __h = _Fi.arguments; var _0i = _Fi.arguments.length; var _Gi = _Hi._Gh(__h[0]); if (!_Gi) { _Xg("Error: invalid ds_stack ID (ds_stack_push)"); return } for (var _H3 = 1; _H3 < _0i; _H3++) { _Gi.push(__h[_H3]) } } var _Ii = !1; var _Ji = 'Trying to stop non-existing sound.', _Ki = 'Trying to draw a non-existing sprite.', _Li = 'Trying to draw a non-existing background.', _Mi = 'Cannot compare arguments.', _Ni = 'Trying to replace non-existing resource.', _Oi = 'File does not exist.', _Pi = 'The particle emitter must first be created.'; var _Qi = -1, _Ri = [], _Si = []; function _48(_Ti, _Ui) { if (_Ii) { _Ti._E7(_Ti._H7 + _Ui) } else { _Ti._E7(_Ui) } } function __7(_Ti, _Ui) { if (_Ii) { _Ti._F7(_Ti._G7 + _Ui) } else { _Ti._F7(_Ui) } } function _z7(_Ti) { _n7(_Ti) } function _08(_Ti, _Vi, _V8, _W8) { var _Wi = _Xi(_Vi); if (!0 != _Yi(_Wi)) { debug("Creating existence for non-existent object: " + _Wi.toString()); return } var _Zi = null; if (!0 == _Ii) { _Zi = _H8.__i(_V8 + _Ti._f3, _W8 + _Ti._g3, _Wi) } else { _Zi = _H8.__i(_V8, _W8, _Wi) } _Zi._g9(_0j, 0, _Zi, _Zi); _Zi._1j = !0 } function _2j(_Sd) { _Y6(_Sd) } var _3j = _2j; function _W7(_Ti, _j9, _4j) { var _47 = _Xi(_4j); var _5j = _Xi(_j9); if (!_Ii || (_Ti._6j(_47) < 0)) { _Ti._7j(_47, _5j) } else { _Ti._7j(_47, _Ti._6j(_47) + _5j) } } function _28() { var _T9 = 0; if (typeof(arguments[0]) != typeof(arguments[1])) { if ((typeof(arguments[0] == "boolean") && (typeof(arguments[1]) == "number"))) { _T9 = (arguments[0] == !0) ? (1 - arguments[1]) : (0 - arguments[1]) } else if ((typeof(arguments[1] == "boolean") && (typeof(arguments[0]) == "number"))) { _T9 = (arguments[1] == !0) ? (arguments[0] - 1) : (arguments[0] - 0) } else { debug(_Mi); return } } else { if (typeof(arguments[0]) == "string") { _T9 = (arguments[0] == arguments[1]) ? 0 : 1 } else { _T9 = arguments[0] - arguments[1] } } var _8j; if (_Xi(arguments[2]) == 1) { _8j = (_T9 < 0) ? 1 : 0 } else if (_Xi(arguments[2]) == 2) { _8j = (_T9 > 0) ? 1 : 0 } else if (_Xi(arguments[2]) == 3) { _8j = (_T9 <= 0) ? 1 : 0 } else if (_Xi(arguments[2]) == 4) { _8j = (_T9 >= 0) ? 1 : 0 } else { _8j = (_T9 == 0) ? 1 : 0 } return _8j } function _9j(_Sd) { _Y6(_Sd) } var _aj = _9j; function _U7(_bj) { _cj() } function _dj(_ce, _ej, _fj, _gj, _hj, _ij) { var type = _Xi(_ce); var _jj = _Xi(_ej); var _kj = _Xi(_fj); var _lj = _Xi(_gj); if (_Qi < 0) { _Qi = _mj(); } if (_Ri[type] < 0) { _Ri[type] = _nj() } var _oj = _Ri[type]; if (_jj == 0) { _pj(_oj, _kj, _lj) } else { _qj(_oj, _kj, _lj) } _rj(_oj, _hj, _ij) } var _sj = _dj; function _D7(_Ti, _tj, _Ui, _uj, _vj) { _Ti._wj(_Xi(_tj), _Ui, 1, 0, (_vj >= 0.5) ? !0 : !1, _Xi(_uj)) } function _C7(_Ti, _xj) { if (!_Ti) return; _yj(_Ti, _xj) } function _zj(_V8, _W8, _vh, _wh, _Aj, _Bj) { var _Cj = _Dj(_vh, _wh); var _Ej = _Fj._Gh(_Cj); var _Gj = _Ej.getContext('2d'); _Gj.drawImage(canvas, -_V8, -_W8); if (_Aj) { _Hj(_Gj, _vh, _wh) } var _Ij = new _Jj(); var _Kj = new _Lj(); _Ij._Mj = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _vh; _Kj._K3 = _wh; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _Cj; _Kj._Ga = _Ej; return _Nj._Oj(_Ij); } function _Pj(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) { var _Qj = _Fj._Gh(_Ch); var _Cj = _Dj(_vh, _wh); var _Ej = _Fj._Gh(_Cj); var _Gj = _Ej.getContext('2d'); _Gj.drawImage(_Qj, -_V8, -_W8); if (_Aj) { _Hj(_Gj, _vh, _wh) } var _Ij = new _Jj(); var _Kj = new _Lj(); _Ij._Mj = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _vh; _Kj._K3 = _wh; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _Cj; _Kj._Ga = _Ej; return _Nj._Oj(_Ij) } function _Rj(_vh, _wh, _Cd) { var _Sj = _Dj(_vh, _wh); var _Tj = _Fj._Gh(_Sj); var _Gj = _Tj.getContext('2d'); _Gj.globalAlpha = 1.0; _Gj.fillStyle = _Uj(_Dd(_Cd), 1); _Gj.fillRect(0, 0, _vh, _wh); var _Ij = new _Jj(); var _Kj = new _Lj(); _Ij._Mj = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _vh; _Kj._K3 = _wh; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _Sj; _Kj._Ga = _Tj; return _Nj._Oj(_Ij) } var _Vj = _Rj; function _Wj(_U8) { var _Ej = _Nj._Xj(_U8); if (_Ej) { return ({ _vd: _Ej._Mj._Ga, _Ld: _Ej._Mj }) } return null } var _Yj = []; var _Zj = 0; function __j(_0k, _1k, _G9, _H9, _I9, _J9, _2k, _3k) { var _4k = _2k - _G9; var _5k = _I9 - _G9; var _6k = _0k - _G9; var _7k = _3k - _H9; var _8k = _J9 - _H9; var _9k = _1k - _H9; var _ak = (_4k * _4k) + (_7k * _7k); var _bk = (_4k * _5k) + (_7k * _8k); var _ck = (_4k * _6k) + (_7k * _9k); var _dk = (_5k * _5k) + (_8k * _8k); var _ek = (_5k * _6k) + (_8k * _9k); var _fk = 1.0 / (_ak * _dk - _bk * _bk); var _vb = (_dk * _ck - _bk * _ek) * _fk; var _xb = (_ak * _ek - _bk * _ck) * _fk; return ((_vb >= 0.0) && (_xb >= 0.0) && (_vb + _xb < 1.0)) } function _gk(_hk, _ik, _jk, _kk, _lk) { var _mk = (((_hk - _jk) * (_hk - _jk)) + ((_ik - _kk) * (_ik - _kk))); if (_mk <= _lk) return ! 0; return ! 1 } function _nk() { _nc("d3d_start()") } function _ok() { _nc("d3d_end()") } function _pk(enable) { _nc("d3d_set_hidden()") } function _qk(_rk) { _nc("d3d_set_culling()") } function _sk(_13) { _nc("d3d_set_shading()") } function _tk(_uk) { _nc("d3d_set_zwriteenable()") } function _vk(_R3) { _nc("d3d_set_depth()"); } function _wk(_xk, _yk, _zk, alpha) { _nc("draw_set_color_write_enable()") } var _Ak = _wk; function _Bk(enable) { _nc("d3d_set_shading()") } function _Ck(_Dk, _Yb, _Zb, _Ek, _1b) { _nc("d3d_light_define_direction()") } function _Fk(_Dk, _f3, _g3, _Cc, _Gk, _1b) { _nc("d3d_light_define_point()") } function _Hk(_Dk, enable) { _nc("d3d_light_enable()") } function _Ik(_b5) { _nc("d3d_light_define_ambient()"); } function _Jk(enable, _bb, start, end) { _nc("d3d_set_fog()") } function _Kk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) { _nc("d3d_draw_floor()") } function _Pk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok, _Qk) { _nc("d3d_draw_ellipsoid()") } function _Rk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) { _nc("d3d_draw_block()") } function _Sk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok, _c3, _Qk) { _nc("d3d_draw_cylinder()") } function _Tk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok, _c3, _Qk) { _nc("d3d_draw_cone()") } function _Uk(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) { _nc("d3d_draw_wall()") } function _Vk() { _nc("d3d_model_create()") } function _Wk(_Dk) { _nc("d3d_model_destroy()") } function _Xk(_Dk) { _nc("d3d_model_clear()") } function _Yk(_Dk, _Zk) { _nc("d3d_model_save()") } function __k(_Dk, _Zk) { _nc("d3d_model_load()") } function _0l(_Dk, _f3, _g3, _Cc, _pc) { _nc("d3d_model_draw()") } function _1l(_Dk, _b3) { _nc("d3d_model_primitive_begin()"); } function _2l(_Dk, _f3, _g3, _Cc) { _nc("d3d_model_vertex()") } function _3l(_Dk, _f3, _g3, _Cc, _1b, alpha) { _nc("d3d_model_vertex_color()") } function _4l(_Dk, _f3, _g3, _Cc, _uc, _vc) { _nc("d3d_model_vertex_texture()") } function _5l(_Dk, _f3, _g3, _Cc, _uc, _vc, _1b, alpha) { _nc("d3d_model_vertex_texture_color()") } function _6l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc) { _nc("d3d_model_vertex_normal()") } function _7l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) { _nc("d3d_model_vertex_normal_color()") } function _8l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) { _nc("d3d_model_vertex_normal_texture()") } function _9l(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) { _nc("d3d_model_vertex_normal_texture_color()") } function _al(_Dk) { _nc("d3d_model_primitive_end()") } function _bl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { _nc("d3d_model_block()") } function _cl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) { _nc("d3d_model_cylinder()") } function _dl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) { _nc("d3d_model_cone()") } function _el(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) { _nc("d3d_model_ellipsoid()") } function _fl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { _nc("d3d_model_wall()") } function _gl(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { _nc("d3d_model_floor()") } function _hl(enable) { _nc("d3d_set_perspective()"); } function _il(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl) { _nc("d3d_set_projection()") } function _sl(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl, _0b, _tl, _ul, _vl) { _nc("d3d_set_projection_ext()") } function _wl(_f3, _g3, _J3, _K3, _0b) { _nc("d3d_set_projection_ortho()") } function _xl(_f3, _g3, _J3, _K3, _0b) { _nc("d3d_set_projection_perspective()") } function _yl() { _nc("d3d_transform_set_identity()") } function _zl(_Al, _Bl, _Cl) { _nc("d3d_transform_set_translation()") } function _Dl(_Za, __a, _El) { _nc("d3d_transform_set_scaling()") } function _Fl(_0b) { _nc("d3d_transform_set_rotation_x()") } function _Gl(_0b) { _nc("d3d_transform_set_rotation_y()") } function _Hl(_0b) { _nc("d3d_transform_set_rotation_z()") } function _Il(_Jl, _Kl, _Ll, _0b) { _nc("d3d_transform_set_rotation_axis()") } function _Ml(_Al, _Bl, _Cl) { _nc("d3d_transform_add_translation()") } function _Nl(_Za, __a, _El) { _nc("d3d_transform_add_scaling()") } function _Ol(_0b) { _nc("d3d_transform_add_rotation_x()") } function _Pl(_0b) { _nc("d3d_transform_add_rotation_y()") } function _Ql(_0b) { _nc("d3d_transform_add_rotation_axis()") } function _Rl(_Jl, _Kl, _Ll, _0b) { _nc("d3d_transform_add_rotation_z()") } function _Sl(_V8, _W8, _Qd) { _nc("d3d_transform_vertex()") } function _Tl(_ce) { _nc("matrix_get()") } function _Ul(_ce, _Vl) { _nc("matrix_set()") } function _Wl(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m) { _nc("matrix_build()") } function _2m(_3m, _4m) { _nc("matrix_multiply()") } function _5m() { _nc("d3d_transform_stack_clear()") } function _6m() { _nc("d3d_transform_stack_empty()") } function _7m() { _nc("d3d_transform_stack_push()") } function _8m() { _nc("d3d_transform_stack_pop()") } function _9m() { _nc("d3d_transform_stack_top()") } function _am() { _nc("d3d_transform_stack_discard()") } var _bm = []; function _cm() { if (!_sa) { return } _nk = _dm; _ok = _em; _qk = _fm; _sk = _gm; _tk = _hm; _vk = _im; _pk = _jm; _wk = _km; _Ak = _km; _hl = _lm; _il = _mm; _sl = _nm; _wl = _om; _xl = _pm; _yl = _qm; _zl = _rm; _Dl = _sm; _Fl = _tm; _Gl = _um; _Hl = _vm; _Il = _wm; _Ml = _xm; _Nl = _ym; _Ol = _zm; _Pl = _Am; _Ql = _Bm; _Rl = _Cm; _Sl = _Dm; _5m = _Em; _6m = _Fm; _7m = _Gm; _8m = _Hm; _9m = _Im; _am = _Jm; _Kk = _Km; _Pk = _Lm; _Rk = _Mm; _Sk = _Nm; _Tk = _Om; _Uk = _Pm; _Bk = _Qm; _Ck = _Rm; _Fk = _Sm; _Hk = _Tm; _Ik = _Um; _Jk = _Vm; _Vk = _Wm; _Wk = _Xm; _Xk = _Ym; _Yk = _Zm; __k = __m; _0l = _0n; _1l = _1n; _2l = _2n; _3l = _3n; _4n = _3n; _4l = _5n; _5l = _6n; _7n = _6n; _6l = _8n; _7l = _9n; _8l = _an; _9l = _bn; _al = _cn; _bl = _dn; _cl = _en; _dl = _fn; _el = _gn; _fl = _hn; _gl = _in; _Tl = _jn; _Ul = _kn; _Wl = _ln; _2m = _mn } function _dm() { _nn = !0; _sa._on(_pn); _sa._qn(_rn); _sa._sn(_tn) } function _em() { _nn = !1; _sa._on(!1); _sa._qn(!1); _sa._sn(!1) } function _fm(_un) { _tn = _un > 0.5; _sa._sn(_tn) } function _gm(_Bj) {} function _hm(_vn) { _rn = (_vn > 0.5); _sa._qn(_rn) } function _im(_wn) { if (_nn) { _xn = Math.min(16000.0, Math.max( - 16000.0, _wn)) } else { _xn = 0.0 } } function _jm(_yn) { _pn = (_yn > 0.5); _sa._on(_pn) } function _km(_xk, _yk, _zk, alpha) { _zn._xk = (_xk >= 0.5); _zn._yk = (_yk >= 0.5); _zn._zk = (_zk >= 0.5); _zn.alpha = (alpha >= 0.5); _sa._An(_zn._xk, _zn._yk, _zn._zk, _zn.alpha) } function _lm(enable) {} function _Qm(_Bn) { if (_Cn != _Bn) { _Cn = _Bn; _sa._Dn(_En()) } } function _mm(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl) { var _Fn = new _Gn(); var _Hn = new _In(_jl, _kl, _ll); var _Jn = new _In(_ml, _nl, _ol); var _Kn = new _In(_pl, _ql, _rl); _Fn._Ln(_Hn, _Jn, _Kn); _sa._Mn(_Fn) } function _nm(_jl, _kl, _ll, _ml, _nl, _ol, _pl, _ql, _rl, _0b, _tl, _Nn, _On) { var _Fn = new _Gn(); var _Hn = new _In(_jl, _kl, _ll); var _Jn = new _In(_ml, _nl, _ol); var _Kn = new _In(_pl, _ql, _rl); _Fn._Ln(_Hn, _Jn, _Kn); var _Pn = new _Gn(); _Pn._Qn(_0b, _tl, _Nn, _On); _Pn._F9[_Rn] *= _Sn; _sa._Mn(_Fn); _sa._Tn(_Pn); _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn) } function _om(_f3, _g3, _J3, _K3, _0b) { var _Fn = new _Gn(); var _hc = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), -_J3); var _ic = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), 0.0); var _jc = new _In(Math.sin( - _0b * (Math.PI / 180.0)), Math.cos( - _0b * (Math.PI / 180.0)), 0.0); _Fn._Ln(_hc, _ic, _jc); var _Xn = new _Gn(); _Xn._Yn(_J3, -_K3 * _Sn, 1.0, 32000.0); _sa._Mn(_Fn); _sa._Tn(_Xn); _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn) } function _pm(_f3, _g3, _J3, _K3, _0b) { var _Fn = new _Gn(); var _hc = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), -_J3); var _ic = new _In(_f3 + (_J3 / 2.0), _g3 + (_K3 / 2.0), 0.0); var _jc = new _In(Math.sin( - _0b * (Math.PI / 180.0)), Math.cos( - _0b * (Math.PI / 180.0)), 0.0); _Fn._Ln(_hc, _ic, _jc); var _Pn = new _Gn(); _Pn._Zn(1.0, (_J3 / _K3), 1.0, 32000.0); _Pn._F9[_Rn] *= _Sn; _sa._Mn(_Fn); _sa._Tn(_Pn); _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn) } function _Km(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _Nk, _Ok) { var __n = _0o(); _1o(!0); _Ac(_1d, _pc); { _Oc(_G9, _H9, _Lk, 0, 0, 1, 0, 0); _Oc(_G9, _J9, _Lk, 0, 0, 1, 0, _Ok); _Oc(_I9, _J9, _Mk, 0, 0, 1, _Nk, _Ok); _Oc(_I9, _H9, _Mk, 0, 0, 1, _Nk, 0) } _Rc(); _1o(__n) } function _Lm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o, _Qk) { var __n = _0o(); _1o(!0); if (_Qk < 3) { _Qk = 3 } if (_Qk > 128) { _Qk = 128 } var _ma = []; var _la = []; for (var _H3 = 0; _H3 <= _Qk; _H3++) { _ma[_H3] = Math.cos(_H3 * 2.0 * Math.PI / _Qk); _la[_H3] = Math.sin(_H3 * 2.0 * Math.PI / _Qk) } var _ga = (_I9 + _G9) / 2, _ha = (_J9 + _H9) / 2, _4o = (_Mk + _Lk) / 2, _5o = (_I9 - _G9) / 2, _6o = (_J9 - _H9) / 2, _7o = (_Mk - _Lk) / 2; var _8o = (_Qk + 1) / 2; for (var __9 = 0; __9 < _8o; __9++) { var _9o = Math.cos(__9 * Math.PI / _8o), _ao = Math.sin(__9 * Math.PI / _8o), _bo = Math.cos((__9 + 1) * Math.PI / _8o), _co = Math.sin((__9 + 1) * Math.PI / _8o); _Ac(_0d, _pc); for (var _H3 = 0; _H3 <= _Qk; _H3++) { _Oc(_ga + _5o * _ao * _ma[_H3], _ha + _6o * _ao * _la[_H3], _4o + _7o * _9o, _ao * _ma[_H3], _ao * _la[_H3], _9o, _2o * _H3 / _Qk, __9 * _3o / _8o); _Oc(_ga + _5o * _co * _ma[_H3], _ha + _6o * _co * _la[_H3], _4o + _7o * _bo, _co * _ma[_H3], _co * _la[_H3], _bo, _2o * _H3 / _Qk, (__9 + 1) * _3o / _8o) } _Rc(); } _1o(__n) } function _Mm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o) { var __n = _0o(); _1o(!0); _Ac(__c, _pc); { _Oc(_G9, _H9, _Lk, 0, 0, -1, 0, 0); _Oc(_G9, _J9, _Lk, 0, 0, -1, 0, _3o); _Oc(_I9, _J9, _Lk, 0, 0, -1, _2o, _3o); _Oc(_I9, _J9, _Lk, 0, 0, -1, _2o, _3o); _Oc(_I9, _H9, _Lk, 0, 0, -1, _2o, 0); _Oc(_G9, _H9, _Lk, 0, 0, -1, 0, 0) } { _Oc(_G9, _H9, _Mk, 0, 0, 1, 0, 0); _Oc(_I9, _H9, _Mk, 0, 0, 1, _2o, 0); _Oc(_I9, _J9, _Mk, 0, 0, 1, _2o, _3o); _Oc(_I9, _J9, _Mk, 0, 0, 1, _2o, _3o); _Oc(_G9, _J9, _Mk, 0, 0, 1, 0, _3o); _Oc(_G9, _H9, _Mk, 0, 0, 1, 0, 0) } { _Oc(_G9, _J9, _Lk, 0, 1, 0, 0, 0); _Oc(_G9, _J9, _Mk, 0, 1, 0, 0, _3o); _Oc(_I9, _J9, _Mk, 0, 1, 0, _2o, _3o); _Oc(_I9, _J9, _Mk, 0, 1, 0, _2o, _3o); _Oc(_I9, _J9, _Lk, 0, 1, 0, _2o, 0); _Oc(_G9, _J9, _Lk, 0, 1, 0, 0, 0) } { _Oc(_I9, _J9, _Lk, 1, 0, 0, 0, 0); _Oc(_I9, _J9, _Mk, 1, 0, 0, 0, _3o); _Oc(_I9, _H9, _Mk, 1, 0, 0, _2o, _3o); _Oc(_I9, _H9, _Mk, 1, 0, 0, _2o, _3o); _Oc(_I9, _H9, _Lk, 1, 0, 0, _2o, 0); _Oc(_I9, _J9, _Lk, 1, 0, 0, 0, 0) } { _Oc(_I9, _H9, _Lk, 0, -1, 0, 0, 0); _Oc(_I9, _H9, _Mk, 0, -1, 0, 0, _3o); _Oc(_G9, _H9, _Mk, 0, -1, 0, _2o, _3o); _Oc(_G9, _H9, _Mk, 0, -1, 0, _2o, _3o); _Oc(_G9, _H9, _Lk, 0, -1, 0, _2o, 0); _Oc(_I9, _H9, _Lk, 0, -1, 0, 0, 0) } { _Oc(_G9, _H9, _Lk, -1, 0, 0, 0, 0); _Oc(_G9, _H9, _Mk, -1, 0, 0, 0, _3o); _Oc(_G9, _J9, _Mk, -1, 0, 0, _2o, _3o); _Oc(_G9, _J9, _Mk, -1, 0, 0, _2o, _3o); _Oc(_G9, _J9, _Lk, -1, 0, 0, _2o, 0); _Oc(_G9, _H9, _Lk, -1, 0, 0, 0, 0) } _Rc(); _1o(__n) } function _Nm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o, _c3, _Qk) { var _ma = []; var _la = []; var __n = _0o(); _1o(!0); if (_Qk < 3) { _Qk = 3 } if (_Qk > 128) { _Qk = 128 } for (var _H3 = 0; _H3 <= _Qk; _H3++) { _ma[_H3] = Math.cos(_H3 * 2.0 * Math.PI / _Qk); _la[_H3] = Math.sin(_H3 * 2.0 * Math.PI / _Qk) } var _ga = (_I9 + _G9) / 2.0; var _ha = (_J9 + _H9) / 2.0; var _5o = (_I9 - _G9) / 2.0; var _6o = (_J9 - _H9) / 2.0; if (!0 == _c3) { _Ac(_1d, _pc); _Oc(_ga, _ha, _Mk, 0, 0, 1, 0, _3o); for (var _H3 = 0; _H3 <= _Qk; _H3++) { _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Mk, 0, 0, 1, 0, _3o) } _Rc() } _Ac(_0d, _pc); for (var _H3 = 0; _H3 <= _Qk; _H3++) { _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Mk, _ma[_H3], _la[_H3], 0, _2o * _H3 / _Qk, _3o); _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, _ma[_H3], _la[_H3], 0, _2o * _H3 / _Qk, 0) } _Rc(); if (!0 == _c3) { _Ac(_1d, _pc); _Oc(_ga, _ha, _Lk, 0, 0, -1, 0, 0); for (var _H3 = _Qk; _H3 >= 0; _H3--) { _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, 0, 0, -1, 0, 0) } _Rc() } _1o(__n) } function _Om(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o, _c3, _Qk) { var _ma = []; var _la = []; var __n = _0o(); _1o(!0); if (_Qk < 3) { _Qk = 3 } if (_Qk > 128) { _Qk = 128 } for (var _H3 = 0; _H3 <= _Qk; _H3++) { _ma[_H3] = Math.cos(_H3 * 2.0 * Math.PI / _Qk); _la[_H3] = Math.sin(_H3 * 2.0 * Math.PI / _Qk) } var _ga = (_I9 + _G9) / 2.0; var _ha = (_J9 + _H9) / 2.0; var _5o = (_I9 - _G9) / 2.0; var _6o = (_J9 - _H9) / 2.0; _Ac(_0d, _pc); for (var _H3 = 0; _H3 <= _Qk; _H3++) { _Oc(_ga, _ha, _Mk, 0, 0, 1, _2o * _H3 / _Qk, _3o); _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, _ma[_H3], _la[_H3], 0, _2o * _H3 / _Qk, 0) } _Rc(); if (!0 == _c3) { _Ac(_1d, _pc); _Oc(_ga, _ha, _Lk, 0, 0, -1, 0, 0); for (var _H3 = _Qk; _H3 >= 0; _H3--) { _Oc(_ga + _ma[_H3] * _5o, _ha + _la[_H3] * _6o, _Lk, 0, 0, -1, 0, 0) } _Rc() } _1o(__n) } function _Pm(_G9, _H9, _Lk, _I9, _J9, _Mk, _pc, _2o, _3o) { var __n = _0o(); _1o(!0); var _R9 = Math.sqrt(_do(_I9 - _G9) + _do(_J9 - _H9)); if (_R9 == 0.0) { return } var _Jc = (_J9 - _H9) / _R9; var _Kc = -(_I9 - _G9) / _R9; _Ac(_1d, _pc); { _Oc(_G9, _H9, _Lk, _Jc, _Kc, 0, 0, 0); _Oc(_I9, _J9, _Lk, _Jc, _Kc, 0, _2o, 0); _Oc(_I9, _J9, _Mk, _Jc, _Kc, 0, _2o, _3o); _Oc(_G9, _H9, _Mk, _Jc, _Kc, 0, 0, _3o) } _Rc(); _1o(__n) } function _Rm(_Dk, _Yb, _Zb, _Ek, _1b) { var _eo = new _In(_Yb, _Zb, _Ek); _eo._fo(); var _go = _Dk * 4; _ho[_go + 0] = _eo._io; _ho[_go + 1] = _eo._jo; _ho[_go + 2] = _eo._ko; _ho[_go + 3] = 0.0; _lo[_go + 0] = ((_1b >> 0) & 0xff) / 255.0; _lo[_go + 1] = ((_1b >> 8) & 0xff) / 255.0; _lo[_go + 2] = ((_1b >> 16) & 0xff) / 255.0; _lo[_go + 3] = ((_1b >> 24) & 0xff) / 255.0; _mo[_go + 0] = 0; _mo[_go + 1] = 0; _mo[_go + 2] = 0; _mo[_go + 3] = 0; _sa._no(_Dk, _mo.subarray(_Dk * 4, (_Dk + 1) * 4), _ho.subarray(_Dk * 4, (_Dk + 1) * 4), _lo.subarray(_Dk * 4, (_Dk + 1) * 4)) } function _Sm(_Dk, _f3, _g3, _Cc, _Gk, _1b) { var _go = _Dk * 4; _mo[_go + 0] = _f3; _mo[_go + 1] = _g3; _mo[_go + 2] = _Cc; _mo[_go + 3] = _Gk; _lo[_go + 0] = ((_1b >> 0) & 0xff) / 255.0; _lo[_go + 1] = ((_1b >> 8) & 0xff) / 255.0; _lo[_go + 2] = ((_1b >> 16) & 0xff) / 255.0; _lo[_go + 3] = ((_1b >> 24) & 0xff) / 255.0; _ho[_go + 0] = 0; _ho[_go + 1] = 0; _ho[_go + 2] = 0; _ho[_go + 3] = 0; _sa._no(_Dk, _mo.subarray(_Dk * 4, (_Dk + 1) * 4), _ho.subarray(_Dk * 4, (_Dk + 1) * 4), _lo.subarray(_Dk * 4, (_Dk + 1) * 4)) } function _Tm(_Dk, enable) { _oo[_Dk] = enable; _sa._po(_Dk, enable, _lo.subarray(_Dk * 4, (_Dk + 1) * 4)) } function _Um(_b5) { _qo[0] = ((_b5 >> 0) & 0xff) / 255.0; _qo[1] = ((_b5 >> 8) & 0xff) / 255.0; _qo[2] = ((_b5 >> 16) & 0xff) / 255.0; _qo[3] = ((_b5 >> 24) & 0xff) / 255.0; _sa._ro(_qo) } function _Vm(enable, _b5, start, end) { if (_so == null) { _so = new Float32Array(8) } _so[0] = enable; var _Gk = end - start; _so[1] = (_Gk == 0.0) ? 0.0 : (1.0 / _Gk); _so[2] = end; _so[3] = 0.0; _so[4] = ((_b5 >> 0) & 0xff) / 255.0; _so[5] = ((_b5 >> 8) & 0xff) / 255.0; _so[6] = ((_b5 >> 16) & 0xff) / 255.0; _so[7] = ((_b5 >> 24) & 0xff) / 255.0; _sa._to(_so) } function _Wm() { return (_bm.push(new _uo()) - 1) } function _Xm(_Dk) { if (_bm[_Dk]) { _bm[_Dk] = null } } function _Ym(_Dk) { if (_bm[_Dk]) { _bm[_Dk]._zg() } } function _Zm(_Dk, _Zk) { if (_bm[_Dk]) { _bm[_Dk]._vo(_Zk) } } function __m(_Dk, _Zk) { if (_bm[_Dk]) { _bm[_Dk]._Ia(_Zk) } } function _0n(_Dk, _f3, _g3, _Cc, _pc) { if (_bm[_Dk]) { _bm[_Dk]._6b(_f3, _g3, _Cc, _pc) } } function _1n(_Dk, _b3) { if (_bm[_Dk]) { _bm[_Dk]._qe(_b3) } } function _2n(_Dk, _f3, _g3, _Cc) { if (_bm[_Dk]) { _bm[_Dk]._wo(_f3, _g3, _Cc) } } function _3n(_Dk, _f3, _g3, _Cc, _1b, alpha) { if (_bm[_Dk]) { _bm[_Dk]._xo(_f3, _g3, _Cc, _1b, alpha) } } function _5n(_Dk, _f3, _g3, _Cc, _uc, _vc) { if (_bm[_Dk]) { _bm[_Dk]._yo(_f3, _g3, _Cc, _uc, _vc) } } function _6n(_Dk, _f3, _g3, _Cc, _uc, _vc, _1b, alpha) { if (_bm[_Dk]) { _bm[_Dk]._zo(_f3, _g3, _Cc, _uc, _vc, _1b, alpha) } } function _8n(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc) { if (_bm[_Dk]) { _bm[_Dk]._Ao(_f3, _g3, _Cc, _Jc, _Kc, _Lc) } } function _9n(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) { if (_bm[_Dk]) { _bm[_Dk]._Bo(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) } } function _an(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) { if (_bm[_Dk]) { _bm[_Dk]._Co(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) } } function _bn(_Dk, _f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) { if (_bm[_Dk]) { _bm[_Dk]._Do(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) } } function _cn(_Dk) { if (_bm[_Dk]) { _bm[_Dk]._se() } } function _dn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { if (_bm[_Dk]) { _bm[_Dk]._Eo(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) } } function _en(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) { if (_bm[_Dk]) { _bm[_Dk]._Fo(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) } } function _fn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) { if (_bm[_Dk]) { _bm[_Dk]._Go(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) } } function _gn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) { if (_bm[_Dk]) { _bm[_Dk]._Ho(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) } } function _hn(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { if (_bm[_Dk]) { _bm[_Dk]._Io(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) } } function _in(_Dk, _G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { if (_bm[_Dk]) { _bm[_Dk]._Jo(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) } } function _qm() { _Ko(_Lo, new _Gn()) } function _rm(_Al, _Bl, _Cl) { var _F9 = new _Gn(); _F9._Mo(_Al, _Bl, _Cl); _Ko(_Lo, _F9) } function _sm(_Za, __a, _El) { var _F9 = new _Gn(); _F9._No(_Za, __a, _El); _Ko(_Lo, _F9) } function _tm(_0b) { var _F9 = new _Gn(); _F9._Oo(_0b); _Ko(_Lo, _F9) } function _um(_0b) { var _F9 = new _Gn(); _F9._Po(_0b); _Ko(_Lo, _F9) } function _vm(_0b) { var _F9 = new _Gn(); _F9._Qo(_0b); _Ko(_Lo, _F9) } function _wm(_Jl, _Kl, _Ll, _0b) { var _F9 = new _Gn(); _F9._Ro(new _In(_Jl, _Kl, _Ll), -_0b); _Ko(_Lo, _F9) } function _xm(_Al, _Bl, _Cl) { var _So = new _Gn(); _So._Mo(_Al, _Bl, _Cl); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_To, _So); _Ko(_Lo, _F9) } function _ym(_Za, __a, _El) { var _Wo = new _Gn(); _Wo._No(_Za, __a, _El); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_To, _Wo); _Ko(_Lo, _F9) } function _zm(_0b) { var _Xo = new _Gn(); _Xo._Oo(_0b); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_To, _Xo); _Ko(_Lo, _F9) } function _Am(_0b) { var _Xo = new _Gn(); _Xo._Po(_0b); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_To, _Xo); _Ko(_Lo, _F9) } function _Bm(_0b) { var _Xo = new _Gn(); _Xo._Qo(_0b); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_To, _Xo); _Ko(_Lo, _F9) } function _Cm(_Jl, _Kl, _Ll, _0b) { var _Xo = new _Gn(); _Xo._Ro(new _In(_Jl, _Kl, _Ll), -_0b); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_To, _Xo); _Ko(_Lo, _F9) } function _Dm(_V8, _W8, _Qd) { var _To = _Uo(_Lo); var _0a = (_To._F9[_Yo] * _V8) + (_To._F9[_Zo] * _W8) + (_To._F9[__o] * _Qd) + _To._F9[_0p]; var _2a = (_To._F9[_1p] * _V8) + (_To._F9[_Rn] * _W8) + (_To._F9[_2p] * _Qd) + _To._F9[_3p]; var _4p = (_To._F9[_5p] * _V8) + (_To._F9[_6p] * _W8) + (_To._F9[_7p] * _Qd) + _To._F9[_8p]; var _T9 = []; _T9[0] = _0a; _T9[1] = _2a; _T9[2] = _4p; return _T9 } function _Em() { _9p() } function _Fm() { return _ap() } function _Gm() { var _To = _Uo(_Lo); return _bp(_To) } function _Hm() { return _cp() } function _Im() { return _dp() } function _Jm() { return _ep() } function _jn(_ce) { var _F9 = []; if (_ce < 0 || _ce > 2) { _Xg('ERROR: Invalid matrix type (matrix_get)'); for (var _H3 = 0; _H3 < 16; _H3++) { _F9[_H3] = 0 } return _F9 } var _fp = _gp[_ce]; for (var _H3 = 0; _H3 < 16; _H3++) { _F9[_H3] = _fp._F9[_H3] } return _F9 } function _kn(_ce, _Vl) { var _F9 = []; if (_ce < 0 || _ce > 2) { _Xg('ERROR: Invalid matrix type (matrix_get)'); for (var _H3 = 0; _H3 < 16; _H3++) { _F9[_H3] = 0 } return _F9 } var _F9 = new _Gn(); var _fp = _gp[_ce]; for (var _H3 = 0; _H3 < 16; _H3++) { _F9._F9[_H3] = _Vl[_H3] } _Ko(_ce, _F9) } function _ln(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m) { var _F9 = new _Gn(); var _hp = (Math.PI / 180.0); _Xl = (_hp * -_Xl); _Yl = (_hp * -_Yl); _Zl = (_hp * -_Zl); _F9._ip(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m); var _fp = []; for (var _H3 = 0; _H3 < 16; _H3++) { _fp[_H3] = _F9._F9[_H3] } return _fp } function _mn(_jp, _kp) { var _lp = new _Gn(); var _mp = new _Gn(); var _np = new _Gn(); for (var _H3 = 0; _H3 < 16; _H3++) { _lp._F9[_H3] = _jp[_H3]; _mp._F9[_H3] = _kp[_H3] } _np._Vo(_lp, _mp); var _fp = []; for (var _H3 = 0; _H3 < 16; _H3++) { _fp[_H3] = _np._F9[_H3] } return _fp } var _op = 1970; var _pp = 0; var _qp = 1; var _rp = 365.25; var _sp = 30.4375; var _tp = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; var _up = []; var _vp = (86400.0); var _wp = (_vp * 30); var _xp = !0; var _yp = 0; var _zp = 1; function _Ap(_Bp) { if (_Bp < _Cp) { return _Bp * _Dp } else { return (_Bp - _Cp) * _Dp } } function _Ep(_Fp) { return _Fp % 400 == 0 || (_Fp % 100 != 0 && _Fp % 4 == 0) } function _Gp(_Fp) { var _Hp = _tp.slice();; if (_Ep(_Fp)) { _Hp[1] = 29 } return _Hp } var _Dp = 86400000.0; var _Cp = 25569; function _Ip(_Jp) { return ((_Jp < 10) ? "0": "") + _Jp.toString() } var _Kp = []; var _Lp = []; var _Mp = []; var _Np = Date.now(); var _Op = 0; var _Pp = 1; var _Qp = 2; var _Rp = 3; var _Sp = function(text) { if (!text) return; if (_Tp) { if (!_Up) return; var _ge = _Up.document.getElementById('debug_console'); if (!_ge) return; var _Vp = String.fromCharCode(0x0a); text = text.replace('', '').replace('', ''); var _Wp = Date.now() - _Np; if (!_ge) { alert(text) } else { _ge.value += text + _Vp; var _Xp = _ge.textLength; } _Np = Date.now() } if (_Yp != undefined) { if (_Yp._A5._O5) console.log(text) } }; function debug() { var index; for (index = 0; index < arguments.length; ++index) { _Sp(arguments[index]) } } function _Xg() { var index; for (index = 0; index < arguments.length; ++index) { _Sp(arguments[index]) } } function _Zp(__p) { if (!_Mp[__p]) { _Mp[__p] = !0; _0q(__p) } } function _nc(__p) { if (!_Kp[__p]) { _Kp[__p] = !0; var _1q = "Error: function " + __p + " is not supported."; debug(_1q) } } function _2q(__p) { if (!_Kp[__p]) { _Kp[__p] = !0; var _1q = "Error: function " + __p + " is not yet implemented"; debug(_1q) } } function _3q(__p) { if (!_Lp[__p]) { _Lp[__p] = !0; var _1q = "Warning: function " + __p; debug(_1q) } } function _4q(_5q) { var _6q = _7q._8q(_5q, -1); var _Vp = String.fromCharCode(0x0a); var _9q = ""; for (var _H3 = 0; _H3 < _6q.length; _H3++) { if (_H3 != 0) _9q = _9q + _Vp; _9q += _6q[_H3] } return _9q } function _aq(_bq) { var _19 = document.getElementById(_cq); var _dq = _19.parentNode; var _eq = document.createElement("div"); _fq = "gm4html5_login_ID"; _eq.setAttribute("class", "gm4html5_login"); _eq.setAttribute("id", _fq); _dq.insertBefore(_eq, _19.nextSibling); _eq.innerHTML = "
Login
" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "
" + "
" + "
"; _gq(); _hq = !0; var login = document.getElementById("gm4html5_login_button_id"); var _iq = document.getElementById("gm4html5_login_username_id"); var _jq = document.getElementById("gm4html5_login_password_id"); _iq.value = _bq._kq[0]; _jq.value = _bq._kq[1]; login.onmouseup = function() { var _lq = _iq.value; var _mq = _jq.value; var _nq = _oq(_fq); if (!_nq) return; _nq._lq = _lq; _nq._mq = _mq; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = _rq; _dq.removeChild(_eq); _hq = !1; _sq(); _tq(_bq.id) }; var _uq = document.getElementById("gm4html5_cancel_button_id"); _uq.onmouseup = function() { _dq.removeChild(_eq); _hq = !1; var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = _vq; _sq(); _tq(_bq.id) }; _wq(); _xq._Wh(_bq.id, null, _yq, _fq) } function _zq(_bq) { var _19 = document.getElementById(_cq); var _dq = _19.parentNode; var _eq = document.createElement("div"); _fq = "gm4html5_input_ID"; _eq.setAttribute("class", "gm4html5_login"); _eq.setAttribute("id", _fq); _dq.insertBefore(_eq, _19.nextSibling); _eq.innerHTML = "" + "" + "" + "" + "" + "" + "" + "
" + "
" + "
"; _gq(); _hq = !0; var _Aq = document.getElementById("gm4html5_input_message_id"); var _Bq = document.getElementById("gm4html5_input_text_id"); _Aq.innerHTML = _bq._kq[0]; _Bq.value = _bq._kq[1]; var _Cq = document.getElementById("gm4html5_input_ok_button_id"); _Cq.onmouseup = function() { var text = _Bq.value; var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = parseFloat(text); _nq._8j = text; _nq._pq = !0; _nq._qq = _rq; _dq.removeChild(_eq); _hq = !1; _sq(); _tq(_bq.id) }; var _uq = document.getElementById("gm4html5_input_cancel_button_id"); _uq.onmouseup = function() { _dq.removeChild(_eq); _hq = !1; var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = _vq; _sq(); _tq(_bq.id) }; _wq(); _xq._Wh(_bq.id, null, _yq, _fq) } function _Dq(_bq) { var _19 = document.getElementById(_cq); var _dq = _19.parentNode; var _eq = document.createElement("div"); _fq = "gm4html5_question_ID"; _eq.setAttribute("class", "gm4html5_login"); _eq.setAttribute("id", _fq); _dq.insertBefore(_eq, _19.nextSibling); _eq.innerHTML = "" + "" + "" + "" + "
" + "
" + "
"; _gq(); _hq = !0; var _Eq = document.getElementById("gm4html5_question_message_id"); _Eq.innerHTML = _bq._kq[0]; var _Cq = document.getElementById("gm4html5_question_yes_button_id"); _Cq.onmouseup = function() { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 1; _nq._8j = "1"; _nq._pq = !0; _nq._qq = _rq; _dq.removeChild(_eq); _hq = !1; _sq(); _tq(_bq.id) }; var _uq = document.getElementById("gm4html5_question_no_button_id"); _uq.onmouseup = function() { _dq.removeChild(_eq); _hq = !1; var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = "0"; _nq._pq = !0; _nq._qq = _vq; _sq(); _tq(_bq.id) }; _wq(); _xq._Wh(_bq.id, null, _yq, _fq) } function _Fq(_bq) { var _19 = document.getElementById(_cq); var _dq = _19.parentNode; var _eq = document.createElement("div"); _fq = "gm4html5_message_ID"; _eq.setAttribute("class", "gm4html5_login"); _eq.setAttribute("id", _fq); _dq.insertBefore(_eq, _19.nextSibling); _eq.innerHTML = "" + "" + "" + "" + "
" + "
"; _gq(); _hq = !0; var _Eq = document.getElementById("gm4html5_message_message_id"); _Eq.innerHTML = _bq._kq[0]; var _Cq = document.getElementById("gm4html5_message_ok_button_id"); _Cq.onmouseup = function() { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 1; _nq._8j = "1"; _nq._pq = !0; _nq._qq = 1; _dq.removeChild(_eq); _hq = !1; _sq(); _tq(_bq.id) }; _wq(); _xq._Wh(_bq.id, null, _yq, _fq) } function _Gq() { if (_Hq.length > 0) { switch (_Hq[0].type) { case _Op: _aq(_Hq[0]); break; case _Pp: _zq(_Hq[0]); break; case _Qp: _Dq(_Hq[0]); break; case _Rp: _Fq(_Hq[0]); break } } } function _tq(_Ch) { var index = -1; for (var _H3 = 0; _H3 < _Hq.length; ++_H3) { if (_Hq[_H3].id == _Ch) { index = _H3; break } } if (index >= 0) { _Hq.splice(index, 1) } _Gq() } function _wq() { if (_hq) { var login = document.getElementById(_fq); var _J3 = login.offsetWidth; var _K3 = login.offsetHeight; var _0a = (canvas.width - _J3) / 2; var _2a = (canvas.height - _K3) / 2; _Pg = new _Iq(); _Og(canvas, _Pg); login.style.left = ~~ (_0a + _Pg.left) + "px"; login.style.top = ~~ (_2a + _Pg.top) + "px" } } function _Jq(_Kq) { return _Kq.substr(0, _Kq.indexOf("(")) } function _0q(_Lq) { var _Mq = arguments.callee.caller; var _zi = "Error: " + _Lq + _Nq(13) + "--------------------------------------------------------------------" + _Nq(13); while (_Mq) { var name = _Nq(9) + _Jq(_Mq.toString()); _zi += name + '('; for (var _H3 = 0; _H3 < _Mq.arguments.length; _H3++) { if (_H3 != 0) { _zi += ', ' } if (typeof _Mq.arguments[_H3] == "string") { _zi += '"' + _Mq.arguments[_H3].toString() + '"' } else if (typeof _Mq.arguments[_H3] == "number") { _zi += _Mq.arguments[_H3].toString() } else { if (_Mq.arguments[_H3] == undefined) { _zi += "[undefined]" } else if (_Mq.arguments[_H3] == null) { _zi += "[null]" } else if (_Mq.arguments[_H3].__type) { _zi += _Mq.arguments[_H3].__type } else { _zi += "[unknown]" } } } _zi += ')' + _Nq(13); _Mq = _Mq.caller } debug(_zi) } var _Oq = 3; var _Pq = -1; var _Qq = "IDLE"; var _Rq = "PROCESSING"; var _Sq = "AUTHORISED"; var _Tq = "FAILED"; var _Uq = []; var _Vq; var _Wq = 0; var g_fbOAuthToken = ""; function _Xq() { FB.api('/me/permissions', function(response) { debug("fbQueryPermissions response:"); try { var text = JSON.stringify(response); debug(text) } catch(e) {} _Uq = []; var data = response["data"]; if (data != undefined) { var length = data.length; for (_H3 = 0; _H3 < length; _H3++) { var _oi = data[_H3]; var _Yq = _oi["permission"]; var status = _oi["status"]; if (_Yq != undefined && status == "granted") { _Uq.push(_Yq) } } } debug("current permissions: " + _Uq) }) } function _Zq(response) { try { var text = JSON.stringify(response); debug("facebook login response:"); debug(text) } catch(e) {} if (response.status === 'connected') { __q = response.authResponse.userID; g_fbOAuthToken = response.authResponse.accessToken; _0r = _Sq; _Xq() } else if (response.status === 'not_authorized') { _0r = 'DENIED' } else { _0r = _Tq } } var _1r = { appId: 0, status: !0, cookie: !0, xfbml: !0, version: 'v2.0' }; function _2r() { _1r.appId = g_fbAppId; FB.init(_1r); FB.getLoginStatus(_Zq); FB.Canvas.setAutoGrow(100); if (_Yp._A5 && _Yp._A5._B5 && _Yp._A5._3r) { _Yp._A5._3r() } } function _4r(_mk) { var _5r, id = 'facebook-jssdk', _6r = _mk.getElementsByTagName('script')[0]; if (_mk.getElementById(id)) { return } _5r = _mk.createElement('script'); _5r.id = id; _5r._7r = !0; _5r.src = "//connect.facebook.net/en_US/sdk.js"; _6r.parentNode.insertBefore(_5r, _6r) } function _8r(_9r) { if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") {} else { var _19 = document.getElementById(_cq); var _dq = _19.parentNode; var _eq = document.createElement("div"); _eq.setAttribute("id", "fb-root"); _dq.insertBefore(_eq, _19.nextSibling); g_fbAppId = _9r; window.fbAsyncInit = _2r; _4r(document) } } function _ar(_br) { var _cr = 'https://graph.facebook.com/me'; var _dr = _cr + '?access_token=' + g_fbOAuthToken; var _er = new XMLHttpRequest(); _er.open('GET', _dr); _er.ontimeout = function(_fr) { _0r = 'FAILED' }; _er.onerror = function(_fr) { _0r = 'FAILED' }; _er.onreadystatechange = function() { if (_er.readyState != 4) return; var data = JSON.parse(_er.responseText); _gr(data); var _hr = eval(_br); if (_hr) { _hr(data) } }; _er.send(null) } function _gr(data) { __q = data.id; _0r = 'AUTHORISED' } function _ir(_br) { if (typeof(getSpotifyApi) != "undefined") { var _jr = getSpotifyApi(1); var _kr = _jr.require('sp://import/scripts/api/auth'); var _lr = ['user_about_me', 'publish_stream']; var _mr = _Yp._A5._nr; _0r = 'PROCESSING'; _kr.authenticateWithFacebook(_mr, _lr, { onSuccess: function(accessToken, _or) { g_fbOAuthToken = accessToken; _ar(_br) }, onFailure: function(error) { console.log('Authentication failed with error: ' + error); _0r = 'FAILED' }, onComplete: function() {} }) } } function _pr(_qr) { if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined") { if (typeof(FB) == 'undefined') { console.log("Facebook initialisation has not completed"); return } } _0r = _Rq; if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") { _ir(_qr) } else { var _Xp = 0; var _rr = ''; if (_qr >= 0) { _Xp = _Xh(_qr); for (var _H3 = 0; _H3 < _Xp; _H3++) { var _zi = _1i(_qr, _H3); _rr += _zi; if (_H3 < _Xp - 1) { _rr += ',' } } FB.login(_Zq, { scope: _rr }) } else { FB.login(_Zq) } } } function _sr(_tr, _ur, _vr, _wr) { var _xr = {}; if (_vr != -1) { var _yr = _pi(_vr); while (_hi(_vr, _yr)) { var _zr = _ki(_vr, _yr); _xr[_yr] = _zr; _yr = _mi(_vr, _yr) } } _Ar = _wr; if (_wr != -1) { _ei(_wr) } FB.api(_tr, _ur, _xr, _Br) } function _Br(data) { if (_Ar != -1) { _Cr(data, _Ar); try { var text = JSON.stringify(data); _ji(_Ar, "response_text", text) } catch(e) {} } debug("response received from facebook_graph_request") } function _Dr(_tr, _vr, _wr) { var _xr = {}; _xr.method = _tr; if (_vr != -1) { var _yr = _pi(_vr); while (_hi(_vr, _yr)) { var _zr = _ki(_vr, _yr); _xr[_yr] = _zr; _yr = _mi(_vr, _yr) } } if (_wr != -1) { _ei(_wr) } FB.ui(_xr, function(response) { _Er(response, _wr) }); return 1 } function _Er(data, _Fr) { if (_Fr != -1) { _Cr(data, _Fr) } debug("response received from facebook_dialog:"); try { var text = JSON.stringify(data); debug(text) } catch(e) {} } function _Gr() { this._Hr = ""; this._Ir = 0; this._Jr = !1; this._Kr = !1; this._Lr = "" } _Gr.prototype._Mr = function() { var _zi; var _H3 = this._Ir; var _9q = this._Hr; while (_H3 < _9q.length) { var _I3 = _9q.charCodeAt(_H3); if (_I3 == 0x0d || _I3 == 0x0a) { _H3++; _I3 = _9q.charCodeAt(_H3); if (_I3 == 0x0d || _I3 == 0x0a) { _H3++ } break } else { _H3++ } } this._Ir = _H3 }; _Gr.prototype._Nr = function() { var _zi; var _H3 = this._Ir; var _9q = this._Hr; while (_H3 < _9q.length) { var _I3 = _9q.charCodeAt(_H3); if (_I3 == 0x0d || _I3 == 0x0a || _I3 == 0x09 || _I3 == 0x20) { _H3++ } else { break } } this._Ir = _H3 }; function _Or(_Pr) { var _Qr = _Rr._Gh(_Pr); if (!_Qr) { _Xg("Error: Illegal file handle"); return } if (_Qr._Lr != null) { if (_Qr._Kr) { _Sr(_Qr._Lr, _Qr._Hr) } } _Rr._di(_Pr) } function _Tr(_Ur) { _Qr = new _Gr(); _Qr._Lr = _Ur; _Qr._Hr = ""; _Qr._Ir = 0; _Qr._Vr = !0; return _Rr._Wh(_Qr) } function _Wr(_Pr, _Xr) { var _Qr = _Rr._Gh(_Pr); if (!_Qr) { _Xg("Error: Illegal file handle"); return } if (!_Qr._Vr) { _Xg("Error: File " + _Qr._Lr + " has not been opened with WRITE permisions"); return } _Qr._Hr += _6q = _4q(_Xr); _Qr._Kr = !0; _Qr._Ir = _Qr._Hr.length } function _Yr(_Ur) { var _Zr = __r(_Ur, !0); if (_Zr == !0) return ! 0; return __r(_Ur, !1) } function _0s(_1s) { var _Nh; switch (typeof(_1s)) { case "object": if (_1s instanceof Array) { _Nh = new _6i(_5i, _2s(_1s)) } else { _Nh = new _6i(_4i, _3s(_1s)) } break; case "boolean": _Nh = _1s ? 1 : 0; break; case "number": case "string": _Nh = _1s; break; default: _Nh = _1s.toString(); break } return _Nh } function _2s(_7i) { var _Nh = _Sh(); for (var _H3 = 0; _H3 < _7i.length; ++_H3) { var _xb = _0s(_7i[_H3]); _Zh(_Nh, _xb) } return _Nh } function _3s(_7i) { var _Nh = _9i(); for (var _4s in _7i) { var _kb = _7i[_4s]; var _xb = _0s(_kb); _ji(_Nh, _4s, _xb) } return _Nh } function _5s(_1s) { var _Nh; switch (typeof(_1s)) { case "object": switch (_1s._8i) { case _5i: _Nh = _6s(_1s.Object); break; case _4i: _Nh = _7s(_1s.Object); break; default: _Nh = _1s.toString(); break } break; case "number": case "string": _Nh = _1s; break; default: _Nh = _1s.toString(); break } return _Nh } function _6s(_8s) { var _Nh = []; var _9s = _Vh._Gh(_8s); if (_9s) { for (var _H3 = 0; _H3 < _9s._3i.length; ++_H3) { if (_9s._3i[_H3] != undefined) _Nh.push(_5s(_9s._3i[_H3])) } } return _Nh } function _7s(_as) { var _Nh = {}; var _ai = _bi._Gh(_as); if (_ai) { for (var _H3 in _ai) { if (!_ai.hasOwnProperty(_H3)) continue; if (_ai[_H3] != undefined) _Nh[_H3] = _5s(_ai[_H3]) } } return _Nh } function _W6(_bs) { _7q._cs = _bs } function _X6(_bs) { _7q._ds = _bs } function _V6(_es) { _7q._fs = _es } function _a7(_V8, _W8, __p) { _7q._gs(__p.toString(), _V8, _W8, -1, -1, 0, 1, 1) } var _hs = _is; function _is(_V8, _W8, __p, _js, _ks, _ls, _ms, _Gd) { _3q("draw_text_color() only uses the 1st colour"); var _ns = _Ad; var _os = _ps; _Ad = _Gd; _Y6(_js); _7q._gs(__p.toString(), _V8, _W8, -1, -1, 0, 1, 1); _Ad = _ns; _Y6(_os) } var _qs = _rs; function _rs(_V8, _W8, __p, _ss, _vh, _js, _ks, _ls, _ms, _Gd) { _3q("draw_text_ext_color() only uses the 1st colour"); var _ns = _Ad; var _os = _ps; _Ad = _Gd; _Y6(_js); _7q._gs(__p.toString(), _V8, _W8, _ss, _vh, 0, 1, 1); _Ad = _ns; _Y6(_os) } function _ts(_V8, _W8, __p, __l, _0m, _Z8) { _7q._gs(__p.toString(), _V8, _W8, -1, -1, _Z8, __l, _0m) } var _us = _vs; function _vs(_V8, _W8, __p, _ss, _vh, __l, _0m, _Z8, _js, _ks, _ls, _ms, _Gd) { _3q("draw_text_ext_transformed_color() only uses the 1st colour"); var _ns = _Ad; var _os = _ps; _Ad = _Gd; _Y6(_js); _7q._gs(__p.toString(), _V8, _W8, _ss, _vh, _Z8, __l, _0m); _Ad = _ns; _Y6(_os) } var _ws = _xs; function _xs(_V8, _W8, __p, __l, _0m, _Z8, _js, _ks, _ls, _ms, _Gd) { _3q("draw_text_transformed_color() only uses the 1st colour"); var _ns = _Ad; var _os = _ps; _Ad = _Gd; _Y6(_js); _7q._gs(__p.toString(), _V8, _W8, -1, -1, _Z8, __l, _0m); _Ad = _ns; _Y6(_os) } function _ys(_J8, __d, _zs, _As, _Bs, _Cs, _Ds) { var _Es = new _Fs(); _Es._Gs = !0; _Es._Z2 = "fnt_" + _J8; _Es._Hs = _J8; _Es._x3 = __d; _Es.bold = _zs; _Es._y3 = _As; _Es._z3 = _Bs; _Es._A3 = _Cs; _Es._Is = !1; if (_J8.toLowerCase().lastIndexOf(".ttf") != -1) { _Es._Js = new _Ks(); _Es._Js.onload = function() { _Es._Is = !0 }; _Es._Js.onerror = function(err) { alert(err) }; _Es._Js.src = "html5game/" + _J8; _Es._Ls = __d + "px " + _Es._Js._Ms + " " } else { _Es._Ls = __d + "px " + _J8 + " "; _Es._Is = !0 } if (_zs) _Es._Ls = _Es._Ls + "bold "; if (_As) _Es._Ls = _Es._Ls + "Italic "; if (_Ds) { return _7q._Ns(_Es) } else { return _Es } } var _Os = 0, _Ps = 1, _Qs = 2, _Rs = 3, _Ss = 4, _Ts = 5, _Us = 6, _Vs = 7, _Ws = 8, _Xs = 9; function _67(_7i) { return _Ys._Gh(_7i)._Zs.length } function __s() { var _0t = _1t("hiscores_data_", !0); if (_0t != null) { _2t = JSON.parse(_0t); var _H3; for (_H3 = 0; _H3 < _3t; _H3++) { _4t[_H3] = _2t[_H3].name; _5t[_H3] = _2t[_H3].value } } } function _6t() { _5t[0] = _5t[1] = _5t[2] = _5t[3] = _5t[4] = _5t[5] = _5t[6] = _5t[7] = _5t[8] = _5t[9] = 0; _4t[0] = _4t[1] = _4t[2] = _4t[3] = _4t[4] = _4t[5] = _4t[6] = _4t[7] = _4t[8] = _4t[9] = _7t } function _8t(_9t, _at, _bt) { var _ct, _dt, _et, _ft, _gt, _ht; _ct = (_9t >> 16) & 0xff; _et = (_9t >> 8) & 0xff; _gt = (_9t & 0xff); _dt = (_at >> 16) & 0xff; _ft = (_at >> 8) & 0xff; _ht = (_at & 0xff); var _it = 1.0 - _bt; var _T9 = _Xi(_ct * _it + _dt * _bt); var _jb = _Xi(_et * _it + _ft * _bt); var _W9 = _Xi(_gt * _it + _ht * _bt); var _1b = ((_T9 & 0xff) << 16) | ((_jb & 0xff) << 8) | (_W9 & 0xff); return _1b } function _jt(_9t, _at, _bt) { return _8t(_9t, _at, _bt) } function _kt(_lt, _xj, _mt, _nt) { var _ot = _pt._Gh(_mt); if ((_ot != null) && (_ot != undefined)) { var _qt = _ot._rt[_nt]; if ((_qt != null) && (_qt != undefined)) { _qt._st(_lt, _lt) } } } var _tt = !0; function _yj(_lt, _ut) { _lt._vt(_wt, _xt, _ut) } var _yt = debug; function _zt() { return "en" } function _58(_Bn) {} function _At(data) { var _Bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var _Ct, _Dt, _Et, _Ft, _Gt, _Ht, _It, _Jt; var _H3 = 0; var _Kt = 0; var _Lt = ""; var _Mt = []; if (!data) { return data } data += ''; do { _Ft = _Bt.indexOf(data.charAt(_H3++)); _Gt = _Bt.indexOf(data.charAt(_H3++)); _Ht = _Bt.indexOf(data.charAt(_H3++)); _It = _Bt.indexOf(data.charAt(_H3++)); _Jt = _Ft << 18 | _Gt << 12 | _Ht << 6 | _It; _Ct = _Jt >> 16 & 0xff; _Dt = _Jt >> 8 & 0xff; _Et = _Jt & 0xff; if (_Ht == 64) { _Mt[_Kt++] = String.fromCharCode(_Ct); } else if (_It == 64) { _Mt[_Kt++] = String.fromCharCode(_Ct, _Dt) } else { _Mt[_Kt++] = String.fromCharCode(_Ct, _Dt, _Et) } } while ( _H3 < data . length ); _Lt = _Mt.join(''); return _Lt } function _Nt(_fr) { if (_Yp._A5.TrackingID) { _gaq.push(['_trackEvent', 'GMEvent', _fr]) } else if (_Yp._A5.FlurryId) { FlurryAgent.logEvent(_fr) } } function _Ot(_fr) { var arguments = _Ot.arguments; if (_Yp._A5.TrackingID) { if (arguments.length >= 3) { _gaq.push(['_trackEvent', 'GMEvent', _fr, arguments[1], arguments[2]]) } else { _gaq.push(['_trackEvent', 'GMEvent', _fr]) } } else if (_Yp._A5.FlurryId) { if ((arguments.length >= 3) && (arguments.length & 1) == 1) { var _Pt = {}; var _Qt = arguments.length - 1; if (_Qt > 10) { _Qt = 10 } for (var _H3 = 0; _H3 < _Qt; _H3 += 2) { _Pt[arguments[_H3 + 1]] = arguments[_H3 + 2].toString() } FlurryAgent.logEvent(_fr, _Pt) } else { FlurryAgent.logEvent(_fr) } } } function _Rt(_St) { return _Tt(_St) } var _Ut = 0; var _Vt = ""; function _Wt(_9q) { return _Xt(_Yt(_Zt(_9q))) } function _Yt(_9q) { return __t(_0u(_1u(_9q), _9q.length * 8)) } function _Xt(_2u) { try { _Ut } catch(e) { _Ut = 0 } var _3u = _Ut ? "0123456789ABCDEF": "0123456789abcdef"; var _4u = ""; var _f3; for (var _H3 = 0; _H3 < _2u.length; _H3++) { _f3 = _2u.charCodeAt(_H3); _4u += _3u.charAt((_f3 >>> 4) & 0x0F) + _3u.charAt(_f3 & 0x0F) } return _4u } function _Zt(_2u) { var _4u = ""; var _H3 = -1; var _f3, _g3; while (++_H3 < _2u.length) { _f3 = _2u.charCodeAt(_H3); _g3 = _H3 + 1 < _2u.length ? _2u.charCodeAt(_H3 + 1) : 0; if (0xD800 <= _f3 && _f3 <= 0xDBFF && 0xDC00 <= _g3 && _g3 <= 0xDFFF) { _f3 = 0x10000 + ((_f3 & 0x03FF) << 10) + (_g3 & 0x03FF); _H3++ } if (_f3 <= 0x7F) _4u += String.fromCharCode(_f3); else if (_f3 <= 0x7FF) _4u += String.fromCharCode(0xC0 | ((_f3 >>> 6) & 0x1F), 0x80 | (_f3 & 0x3F)); else if (_f3 <= 0xFFFF) _4u += String.fromCharCode(0xE0 | ((_f3 >>> 12) & 0x0F), 0x80 | ((_f3 >>> 6) & 0x3F), 0x80 | (_f3 & 0x3F)); else if (_f3 <= 0x1FFFFF) _4u += String.fromCharCode(0xF0 | ((_f3 >>> 18) & 0x07), 0x80 | ((_f3 >>> 12) & 0x3F), 0x80 | ((_f3 >>> 6) & 0x3F), 0x80 | (_f3 & 0x3F)) } return _4u } function _1u(_2u) { var _4u = Array(_2u.length >> 2); for (var _H3 = 0; _H3 < _4u.length; _H3++) _4u[_H3] = 0; for (var _H3 = 0; _H3 < _2u.length * 8; _H3 += 8) _4u[_H3 >> 5] |= (_2u.charCodeAt(_H3 / 8) & 0xFF) << (_H3 % 32); return _4u } function __t(_2u) { var _4u = ""; for (var _H3 = 0; _H3 < _2u.length * 32; _H3 += 8) _4u += String.fromCharCode((_2u[_H3 >> 5] >>> (_H3 % 32)) & 0xFF); return _4u } function _0u(_f3, _Xp) { _f3[_Xp >> 5] |= 0x80 << ((_Xp) % 32); _f3[(((_Xp + 64) >>> 9) << 4) + 14] = _Xp; var _kb = 1732584193; var _W9 = -271733879; var _I3 = -1732584194; var _mk = 271733878; for (var _H3 = 0; _H3 < _f3.length; _H3 += 16) { var _5u = _kb; var _6u = _W9; var _7u = _I3; var _8u = _mk; _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 0], 7, -680876936); _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 1], 12, -389564586); _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 2], 17, 606105819); _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 3], 22, -1044525330); _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 4], 7, -176418897); _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 5], 12, 1200080426); _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 6], 17, -1473231341); _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 7], 22, -45705983); _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 8], 7, 1770035416); _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 9], 12, -1958414417); _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 10], 17, -42063); _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 11], 22, -1990404162); _kb = _9u(_kb, _W9, _I3, _mk, _f3[_H3 + 12], 7, 1804603682); _mk = _9u(_mk, _kb, _W9, _I3, _f3[_H3 + 13], 12, -40341101); _I3 = _9u(_I3, _mk, _kb, _W9, _f3[_H3 + 14], 17, -1502002290); _W9 = _9u(_W9, _I3, _mk, _kb, _f3[_H3 + 15], 22, 1236535329); _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 1], 5, -165796510); _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 6], 9, -1069501632); _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 11], 14, 643717713); _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 0], 20, -373897302); _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 5], 5, -701558691); _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 10], 9, 38016083); _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 15], 14, -660478335); _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 4], 20, -405537848); _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 9], 5, 568446438); _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 14], 9, -1019803690); _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 3], 14, -187363961); _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 8], 20, 1163531501); _kb = _au(_kb, _W9, _I3, _mk, _f3[_H3 + 13], 5, -1444681467); _mk = _au(_mk, _kb, _W9, _I3, _f3[_H3 + 2], 9, -51403784); _I3 = _au(_I3, _mk, _kb, _W9, _f3[_H3 + 7], 14, 1735328473); _W9 = _au(_W9, _I3, _mk, _kb, _f3[_H3 + 12], 20, -1926607734); _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 5], 4, -378558); _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 8], 11, -2022574463); _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 11], 16, 1839030562); _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 14], 23, -35309556); _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 1], 4, -1530992060); _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 4], 11, 1272893353); _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 7], 16, -155497632); _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 10], 23, -1094730640); _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 13], 4, 681279174); _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 0], 11, -358537222); _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 3], 16, -722521979); _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 6], 23, 76029189); _kb = _bu(_kb, _W9, _I3, _mk, _f3[_H3 + 9], 4, -640364487); _mk = _bu(_mk, _kb, _W9, _I3, _f3[_H3 + 12], 11, -421815835); _I3 = _bu(_I3, _mk, _kb, _W9, _f3[_H3 + 15], 16, 530742520); _W9 = _bu(_W9, _I3, _mk, _kb, _f3[_H3 + 2], 23, -995338651); _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 0], 6, -198630844); _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 7], 10, 1126891415); _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 14], 15, -1416354905); _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 5], 21, -57434055); _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 12], 6, 1700485571); _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 3], 10, -1894986606); _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 10], 15, -1051523); _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 1], 21, -2054922799); _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 8], 6, 1873313359); _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 15], 10, -30611744); _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 6], 15, -1560198380); _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 13], 21, 1309151649); _kb = _cu(_kb, _W9, _I3, _mk, _f3[_H3 + 4], 6, -145523070); _mk = _cu(_mk, _kb, _W9, _I3, _f3[_H3 + 11], 10, -1120210379); _I3 = _cu(_I3, _mk, _kb, _W9, _f3[_H3 + 2], 15, 718787259); _W9 = _cu(_W9, _I3, _mk, _kb, _f3[_H3 + 9], 21, -343485551); _kb = _du(_kb, _5u); _W9 = _du(_W9, _6u); _I3 = _du(_I3, _7u); _mk = _du(_mk, _8u) } return Array(_kb, _W9, _I3, _mk) } function _eu(_fu, _kb, _W9, _f3, _9q, _V9) { return _du(_gu(_du(_du(_kb, _fu), _du(_f3, _V9)), _9q), _W9) } function _9u(_kb, _W9, _I3, _mk, _f3, _9q, _V9) { return _eu((_W9 & _I3) | ((~_W9) & _mk), _kb, _W9, _f3, _9q, _V9) } function _au(_kb, _W9, _I3, _mk, _f3, _9q, _V9) { return _eu((_W9 & _mk) | (_I3 & (~_mk)), _kb, _W9, _f3, _9q, _V9) } function _bu(_kb, _W9, _I3, _mk, _f3, _9q, _V9) { return _eu(_W9 ^ _I3 ^ _mk, _kb, _W9, _f3, _9q, _V9) } function _cu(_kb, _W9, _I3, _mk, _f3, _9q, _V9) { return _eu(_I3 ^ (_W9 | (~_mk)), _kb, _W9, _f3, _9q, _V9) } function _du(_f3, _g3) { var _hu = (_f3 & 0xFFFF) + (_g3 & 0xFFFF); var _iu = (_f3 >> 16) + (_g3 >> 16) + (_hu >> 16); return (_iu << 16) | (_hu & 0xFFFF) } function _gu(_ju, _ku) { return (_ju << _ku) | (_ju >>> (32 - _ku)) } function _Tt(_9q) { return _Xt(_lu(_Zt(_9q))) } function _lu(_9q) { return _mu(_nu(_ou(_9q), _9q.length * 8)) } function _ou(_2u) { var _4u = Array(_2u.length >> 2); for (var _H3 = 0; _H3 < _4u.length; _H3++) _4u[_H3] = 0; for (var _H3 = 0; _H3 < _2u.length * 8; _H3 += 8) _4u[_H3 >> 5] |= (_2u.charCodeAt(_H3 / 8) & 0xFF) << (24 - _H3 % 32); return _4u } function _mu(_2u) { var _4u = ""; for (var _H3 = 0; _H3 < _2u.length * 32; _H3 += 8) _4u += String.fromCharCode((_2u[_H3 >> 5] >>> (24 - _H3 % 32)) & 0xFF); return _4u } function _nu(_f3, _Xp) { _f3[_Xp >> 5] |= 0x80 << (24 - _Xp % 32); _f3[((_Xp + 64 >> 9) << 4) + 15] = _Xp; var _J3 = Array(80); var _kb = 1732584193; var _W9 = -271733879; var _I3 = -1732584194; var _mk = 271733878; var e = -1009589776; for (var _H3 = 0; _H3 < _f3.length; _H3 += 16) { var _5u = _kb; var _6u = _W9; var _7u = _I3; var _8u = _mk; var _pu = e; for (var __9 = 0; __9 < 80; __9++) { if (__9 < 16) _J3[__9] = _f3[_H3 + __9]; else _J3[__9] = _gu(_J3[__9 - 3] ^ _J3[__9 - 8] ^ _J3[__9 - 14] ^ _J3[__9 - 16], 1); var _V9 = _du(_du(_gu(_kb, 5), _qu(__9, _W9, _I3, _mk)), _du(_du(e, _J3[__9]), _ru(__9))); e = _mk; _mk = _I3; _I3 = _gu(_W9, 30); _W9 = _kb; _kb = _V9 } _kb = _du(_kb, _5u); _W9 = _du(_W9, _6u); _I3 = _du(_I3, _7u); _mk = _du(_mk, _8u); e = _du(e, _pu) } return Array(_kb, _W9, _I3, _mk, e) } function _qu(_V9, _W9, _I3, _mk) { if (_V9 < 20) return (_W9 & _I3) | ((~_W9) & _mk); if (_V9 < 40) return _W9 ^ _I3 ^ _mk; if (_V9 < 60) return (_W9 & _I3) | (_W9 & _mk) | (_I3 & _mk); return _W9 ^ _I3 ^ _mk } function _ru(_V9) { return (_V9 < 20) ? 1518500249 : (_V9 < 40) ? 1859775393 : (_V9 < 60) ? -1894007588 : -899497514 } function _su(_J8, _tu) { for (var index = 0; index < _tu.length; index++) { var _uu = _tu[index]; if (_uu._Z2 == _J8) { return index } } return - 1 } var _vu = 1, _wu = 2, _xu = 3, _yu = 4, _zu = 5, _Au = 6, _Bu = 7, _Cu = 8, _Du = 9, _Eu = 10, _Fu = 11; var _Gu = 96; var _Hu = 96; function _Iu() { return 0 } var _Ju = _Ku; function _Ku(_Sd, _Gd) { _yb._Lu(); var _Mu = []; _Mu[0] = 1; _Mu[1] = 0; _Mu[2] = 0; _Mu[3] = 1; _Mu[4] = 0; _Mu[5] = 0; _yb._Nu(_Mu[0], _Mu[1], _Mu[2], _Mu[3], _Mu[4], _Mu[5]); if (!_yb.clearRect || _Sd != 0 || _Gd != 0) { _yb.globalAlpha = _Gd; _yb.fillStyle = _Uj(_Dd(_Sd), _Gd); _yb.globalCompositeOperation = 'copy'; _yb.fillRect(_Ou, _Pu, _Qu, _Ru) } else { _yb.clearRect(_Ou, _Pu, _Qu, _Ru) } _yb._Su(); } function _Tu(_Uu, _Vu, _Wu) { return (~~_Uu) | (_Vu << 8) | (_Wu << 16) } var _Xu = _Tu; var _Yu = _Yu; function _Zu(_Sd) { return (_Sd >> 16) & 0xff } var __u = _Zu; function _0v(_Sd) { return (_Sd >> 8) & 0xff } var _1v = _0v; function _2v(_Sd) { return (_Sd & 0xff) } var _3v = _2v; function _4v(_Sd) { var _5v = 0.0; var _6v = 0.0; var _7v = 0.0; var _ja = 0.0; var _la = 0.0; var _8v = 0.0; var _mk = 0.0; var _F9 = 0.0; _5v = ((_Sd >> 16) & 0xff) / 255.0; _6v = ((_Sd >> 8) & 0xff) / 255.0; _7v = (_Sd & 0xff) / 255.0; _F9 = _U9(_U9(_5v, _6v), _7v); _8v = _S9(_S9(_5v, _6v), _7v); _mk = _8v - _F9; if (_8v == 0) _la = 0.0; else _la = 1.0 * _mk / _8v; if (_la == 0) _ja = 0.0; else if (_5v == _8v) _ja = 60.0 * (_6v - _7v) / _mk; else if (_6v == _8v) _ja = 120.0 + 60.0 * (_7v - _5v) / _mk; else _ja = 240.0 + 60.0 * (_5v - _6v) / _mk; if (_ja < 0) _ja = _ja + 360.0; var _xb = (Math.floor(_8v * 255.0) & 0xff) << 16; var _9q = (Math.floor(_la * 255.0) & 0xff) << 8; var _K3 = (Math.floor(_ja * 255.0 / 360.0)) & 0xff; return (_xb | _9q | _K3); } function _9v(_Sd) { return _4v(_Sd) & 0xff } var _av = _9v; function _bv(_Sd) { return (_4v(_Sd) >> 8) & 0xff } var _cv = _bv; function _dv(_Sd) { return (_4v(_Sd) >> 16) & 0xff } var _ev = _dv; function _fv(_9t, _at, _gv) { var _ct = (_9t >> 16) & 0xff; var _et = (_9t >> 8) & 0xff; var _gt = _9t & 0xff; var _dt = (_at >> 16) & 0xff; var _ft = (_at >> 8) & 0xff; var _ht = _at & 0xff; var _hv = 1.0 - _gv; var _T9 = ~~ (_ct * _hv + _dt * _gv); var _jb = ~~ (_et * _hv + _ft * _gv); var _W9 = ~~ (_gt * _hv + _ht * _gv); return ((_T9 << 16) & 0xff0000) | ((_jb << 8) & 0xff00) | (_W9 & 0xff) } var _iv = _fv; function _jv(_kv, _lv, _bt) { var _5v = 0.0; var _6v = 0.0; var _7v = 0.0; var _ja = 0.0; var _la = 0.0; var _8v = 0.0; var _Mq = 0.0; var _mv = 0.0; var _fu = 0.0; var _V9 = 0.0; var _H3 = 0; var _nv; _ja = _kv * 360.0 / 255.0; if (_ja == 360.0) _ja = 0.0; _la = _lv / 255.0; _8v = _bt / 255.0; if (_la == 0) { _5v = _8v; _6v = _8v; _7v = _8v } else { _ja = _ja / 60.0; _H3 = Math.floor(_ja); _Mq = _ja - _H3; _mv = _8v * (1.0 - _la); _fu = _8v * (1.0 - (_la * _Mq)); _V9 = _8v * (1.0 - (_la * (1.0 - _Mq))); switch (_H3) { case 0: { _5v = _8v; _6v = _V9; _7v = _mv } break; case 1: { _5v = _fu; _6v = _8v; _7v = _mv } break; case 2: { _5v = _mv; _6v = _8v; _7v = _V9 } break; case 3: { _5v = _mv; _6v = _fu; _7v = _8v } break; case 4: { _5v = _V9; _6v = _mv; _7v = _8v } break; default: { _5v = _8v; _6v = _mv; _7v = _fu } } } _nv = Math.floor(_5v * 255.0) | (Math.floor(_6v * 255.0) << 8) | (Math.floor(_7v * 255.0) << 16); return _nv } var _ov = _jv; function _pv(_Gd) { if (_Gd < 0) { _Gd = 0 } if (_Gd > 1) { _Gd = 1 } _Ad = _Gd; _qv = _Uj(_Bd, _Ad) } function _rv() { return _Ad } function _sv() { return _ps } var _tv = _sv; function _Y6(_Cd) { _ps = _Cd; _Bd = _Dd(_Cd); _uv = _vv(_Bd); _qv = _Uj(_Bd, _Ad) } var _wv = _Y6; function _xv(_aa, _ba, _x9, _y9, _9t, _at, _yv) { _zv(_aa, _y9, _x9, _y9, 10, 10, _9t, _at, _yv) } var _Av = _xv; var _zv = _Bv; var _Cv = _Bv; function _Bv(_aa, _ba, _x9, _y9, _Dv, _Ev, _9t, _at, _yv) { if (_y9 < _ba) { var _Fv = _ba; _ba = _y9; _y9 = _Fv } if (_x9 < _aa) { var _Fv = _aa; _aa = _x9; _x9 = _Fv } var width = _x9 - _aa; var height = _y9 - _ba; _Gv = _Dv; _Hv = _Ev; var _1b = _yb.globalAlpha = _Ad; _yb.beginPath(); _yb.moveTo(_aa + _Gv, _ba); _yb.lineTo(_aa + width - _Gv, _ba); _yb.quadraticCurveTo(_aa + width, _ba, _aa + width, _ba + _Hv); _yb.lineTo(_aa + width, _ba + height - _Hv); _yb.quadraticCurveTo(_aa + width, _ba + height, _aa + width - _Gv, _ba + height); _yb.lineTo(_aa + _Gv, _ba + height); _yb.quadraticCurveTo(_aa, _ba + height, _aa, _ba + height - _Hv); _yb.lineTo(_aa, _ba + _Hv); _yb.quadraticCurveTo(_aa, _ba, _aa + _Gv, _ba); _yb.closePath(); if (_yv) { _yb.strokeStyle = _Uj(_Dd(_9t), 1.0); _yb.stroke() } else { _yb.fillStyle = _Uj(_Dd(_9t), 1.0); _yb.fill() } } var _Iv = _Jv; function _Jv(_aa, _ba, _x9, _y9, _yv) { _aa = ~~_aa; _ba = ~~_ba; _x9 = ~~_x9; _y9 = ~~_y9; _yb.globalAlpha = _Ad; if (_yv) { _yb.lineWidth = 1; _yb.strokeStyle = _qv; _yb._Kv(_aa + 0.5, _ba + 0.5, (_x9 - _aa), (_y9 - _ba)) } else { _yb.fillStyle = _qv; _yb._Lv(_aa, _ba, _x9 - _aa + 1, _y9 - _ba + 1) } } var _Mv = _Nv; var _Ov = _Nv; function _Nv(_aa, _ba, _x9, _y9, _9t, _at, _Pv, _Qv, _yv) { var _1b = _Uj(_Dd(_9t), 1.0); _yb.globalAlpha = _Ad; if (_yv) { _yb.lineWidth = 1; _yb.strokeStyle = _1b; _yb._Kv(_aa + 0.5, _ba + 0.5, (_x9 - _aa), (_y9 - _ba)) } else { _yb.fillStyle = _1b; _yb._Lv(_aa + 0.5, _ba + 0.5, (_x9 - _aa), (_y9 - _ba)) } } var _Rv = _Sv; function _Sv(_aa, _ba, _x9, _y9, _9t, _at, _Tv, _yv) { _yb.globalAlpha = _Ad; _yb.lineWidth = 1; var _Uv = _Uj(_Dd(_9t), 1.0); var _Vv = _Uj(_Dd(_at), 1.0); var _Wv; if (_Tv) { _Wv = _yb.createLinearGradient(_aa, _ba, _aa, _y9) } else { _Wv = _yb.createLinearGradient(_aa, _ba, _x9, _ba) } _Wv.addColorStop(0, _Uv); _Wv.addColorStop(1, _Vv); if (_yv) { _yb.strokeStyle = _Wv; _yb._Kv(_aa + 0.5, _ba + 0.5, _x9 - _aa, _y9 - _ba) } else { _yb.fillStyle = _Wv; _yb._Lv(_aa + 0.5, _ba + 0.5, _x9 - _aa, _y9 - _ba) } } var _Xv = _Yv; function _Yv(_V8, _W8) { _yb.globalAlpha = _Ad; _yb.fillStyle = _qv; _yb._Lv(_V8, _W8, 1, 1) } function _Zv(_aa, _ba, _x9, _y9, _vh) { _yb.globalAlpha = _Ad; _yb.strokeStyle = _uv; _yb.lineWidth = _vh; _yb.__v(); _yb._0w(_aa + 0.5, _ba + 0.5); _yb._1w(_x9 + 0.5, _y9 + 0.5); _yb._2w(); _yb._3w(); _yb._Lv(_x9, _y9, 1, 1) } function _qb(_aa, _ba, _x9, _y9) { _Zv(_aa, _ba, _x9, _y9, 1) } var _4w = _5w; var _6w = _7w; function _5w(_V8, _W8) { return _5w(_V8, _W8) & 0x00ffffff } function _7w(_V8, _W8) { var _8w = canvas.width / _9w; var _aw = canvas.height / _bw; var _1b = _cw(canvas, _V8 * _8w, _W8 * _aw); return _1b } var _dw = _ew; function _ew(_aa, _ba, _x9, _y9, _fw, _gw, _yv) { _aa += 0.5; _ba += 0.5; _x9 += 0.5; _y9 += 0.5; _fw += 0.5; _gw += 0.5; _yb.globalAlpha = _Ad; _yb.lineWidth = 1; if (_yv) { _yb.strokeStyle = _qv; _yb.__v(); _yb._0w(_aa, _ba); _yb._1w(_x9, _y9); _yb._1w(_fw, _gw); _yb._1w(_aa, _ba); _yb._3w(); _yb._2w() } else { _yb.strokeStyle = _qv; _yb.lineJoin = "bevel"; _yb.fillStyle = _qv; _yb.__v(); _yb._0w(_aa, _ba); _yb._1w(_x9, _y9); _yb._1w(_fw, _gw); _yb._1w(_aa, _ba); _yb._hw(); _yb._3w(); _yb._2w(); _yb.lineJoin = "miter" } } var _iw = _jw; var _kw = _jw; function _jw(_aa, _ba, _x9, _y9, _fw, _gw, _9t, _at, _Pv, _yv) { var _Uv = _vv(_Dd(_9t) | 0xff000000); _aa += 0.5; _ba += 0.5; _x9 += 0.5; _y9 += 0.5; _fw += 0.5; _gw += 0.5; _yb.globalAlpha = _Ad; _yb.lineWidth = 1; if (_yv) { _yb.strokeStyle = _Uv; _yb.__v(); _yb._0w(_aa, _ba); _yb._1w(_x9, _y9); _yb._1w(_fw, _gw); _yb._1w(_aa, _ba); _yb._3w(); _yb._2w() } else { _yb.strokeStyle = _Uv; _yb.lineJoin = "bevel"; _yb.fillStyle = _Uv; _yb.__v(); _yb._0w(_aa, _ba); _yb._1w(_x9, _y9); _yb._1w(_fw, _gw); _yb._1w(_aa, _ba); _yb._hw(); _yb._3w(); _yb._2w(); _yb.lineJoin = "miter" } } var _lw = _mw; function _mw(_aa, _ba, _x9, _y9, _gv, _nw, _ow, _pw, _qw, _rw, _sw, _tw) { var _uw; var _vw; var _ww; var _xw; var _1b; if (_sw) { _Mv(_aa, _ba, _x9, _y9, _nw, _nw, _nw, _nw, !1); if (_tw) { _Mv(_aa, _ba, _x9, _y9, _yw, _yw, _yw, _yw, !0) } } if (_gv < 0) { _gv = 0 } if (_gv > 100) { _gv = 100 } var _zw = _gv / 100; switch (_rw) { case 0: _uw = _aa; _ww = _ba; _vw = _aa + _zw * (_x9 - _aa); _xw = _y9; break; case 1: _uw = _x9 - _zw * (_x9 - _aa); _ww = _ba; _vw = _x9; _xw = _y9; break; case 2: _uw = _aa; _ww = _ba; _vw = _x9; _xw = _ba + _zw * (_y9 - _ba); break; case 3: _uw = _aa; _ww = _y9 - _zw * (_y9 - _ba); _vw = _x9; _xw = _y9; break; default: _uw = _aa; _ww = _ba; _vw = _aa + _zw * (_x9 - _aa); _xw = _y9; break } if (_gv > 50) { _1b = _8t(_pw, _qw, (_gv - 50.0) / 50.0); } else { _1b = _8t(_ow, _pw, _gv / 50.0) } _Mv(_uw, _ww, _vw, _xw, _1b, _1b, _1b, _1b, !1); if (_tw) { _Mv(_uw, _ww, _vw, _xw, _yw, _yw, _yw, _yw, !0) } } var _Aw = _Bw; function _Bw(_G9, _H9, _I9, _J9, _x3) { var _Cw = Math.sqrt(((_I9 - _G9) * (_I9 - _G9)) + ((_J9 - _H9) * (_J9 - _H9))); if (_Cw != 0) { if (_x3 > _Cw) { _x3 = _Cw; } var _0a = _x3 * (_I9 - _G9) / _Cw; var _2a = _x3 * (_J9 - _H9) / _Cw; _qb(_G9, _H9, _I9, _J9); _dw(_I9 - _0a - _2a / 3.0, _J9 - _2a + _0a / 3.0, _I9, _J9, _I9 - _0a + _2a / 3.0, _J9 - _2a - _0a / 3.0, !1) } } function _Dw(_aa, _ba, _x9, _y9, _yv) { _Ew(_aa, _ba, _x9, _y9, _ps, _ps, _yv) } var _Ew = _Fw; var _Gw = _Fw; function _Fw(_f3, _g3, _G9, _H9, _9t, _at, _Hw) { var _J3 = _G9 - _f3; var _K3 = _H9 - _g3; var _Iw = 0.5522848; _Jw = (_J3 / 2) * _Iw, _Kw = (_K3 / 2) * _Iw, _Lw = _f3 + _J3, _Mw = _g3 + _K3, _Nw = _f3 + _J3 / 2, _Ow = _g3 + _K3 / 2; _yb.beginPath(); _yb.moveTo(_f3, _Ow); _yb.bezierCurveTo(_f3, _Ow - _Kw, _Nw - _Jw, _g3, _Nw, _g3); _yb.bezierCurveTo(_Nw + _Jw, _g3, _Lw, _Ow - _Kw, _Lw, _Ow); _yb.bezierCurveTo(_Lw, _Ow + _Kw, _Nw + _Jw, _Mw, _Nw, _Mw); _yb.bezierCurveTo(_Nw - _Jw, _Mw, _f3, _Ow + _Kw, _f3, _Ow); _yb.closePath(); var _Uv = _Uj(_Dd(_9t), 1.0); var _Vv = _Uj(_Dd(_at), 1.0); if (_J3 <= 0) _J3 *= -1; if (_K3 <= 0) _K3 *= -1; var _Wv = _yb.createRadialGradient(_Nw, _Ow, 0, _Nw, _Ow, min(_J3 / 2, _K3 / 2)); _Wv.addColorStop(0, _Uv); _Wv.addColorStop(1, _Vv); _yb.globalAlpha = _Ad; if (_Hw) { _yb.lineWidth = 1; _yb.strokeStyle = _Wv; _yb.stroke() } else { _yb.fillStyle = _Wv; _yb.fill() } } var _Pw = _Qw; var _Rw = _Qw; function _Qw(_V8, _W8, _Sw, _9t, _at, _yv) { _yb.globalAlpha = _Ad; var _Uv = _Uj(_Dd(_9t), 1.0); var _Vv = _Uj(_Dd(_at), 1.0); var _Wv = _yb.createRadialGradient(_V8, _W8, 0, _V8, _W8, _Sw); _Wv.addColorStop(0, _Uv); _Wv.addColorStop(1, _Vv); _yb.__v(); if (_yv) { _yb.lineWidth = 1; _yb.strokeStyle = _Wv; _yb._Tw(_V8, _W8, _Sw, 0, Math.PI * 2, !0); _yb._3w() } else { _yb.fillStyle = _Wv; _yb._Tw(_V8, _W8, _Sw, 0, Math.PI * 2, !1); _yb._hw() } _yb._2w() } var _Uw = _Vw; var _Ww = _Vw; function _Vw(_V8, _W8, _Sd) { var _Uv = _Uj(_Dd(_Sd), 1.0); _yb.globalAlpha = _Ad; _yb.fillStyle = _Uv; _yb._Lv(_V8, _W8, 1, 1) } var _Xw = _Yw; var _Zw = _Yw; function _Yw(_aa, _ba, _x9, _y9, _vh, _9t, _at) { _yb.globalAlpha = _Ad; var _Uv = _Uj(_Dd(_9t), 1.0); var _Vv = _Uj(_Dd(_at), 1.0); var _Wv = _yb.createLinearGradient(_aa, _ba, _x9, _y9); _Wv.addColorStop(0, _Uv); _Wv.addColorStop(1, _Vv); _yb.strokeStyle = _Wv; _yb.__v(); _yb._0w(_aa + 0.5, _ba + 0.5); _yb._1w(_x9 + 0.5, _y9 + 0.5); _yb.lineWidth = _vh; _yb._3w(); _yb._2w() } function __w(_aa, _ba, _x9, _y9, _9t, _at) { _Xw(_aa, _ba, _x9, _y9, 1, _9t, _at) } var _0x = __w; function _1x(_f3, _g3, _G9, _H9, _Uv, _Vv, _Hw) { _Ew(_f3, _g3, _G9, _H9, _Uv, _Vv, _Hw) } function _2x(_3x) { switch (_3x) { case 1: _4x(_zu, _wu); break; case 2: _4x(_zu, _yu); break; case 3: _4x(_vu, _yu); break; default: _4x(_zu, _Au); break } } var _4x = _5x; function _5x(src, _6x) { _nc("Blend modes only available in WebGL mode.") } var _7x = -1, _8x = 0, _9x = 1, _ax = 2, _bx = 3, _cx = 4; var _dx = -3, _ex = -2, _fx = -1, _gx = 0, _hx = 1, _ix = 2; var _jx = -2, _kx = -1, _lx = 0, _mx = 1, _nx = 2, _ox = 3; var _px = 0, _qx = 1, _rx = 2, _sx = 3, _tx = 4; var _ux = -1, _vx = 0; var _wx = []; var _xx = []; var _yx = []; var _zx = []; var _Ax = _jx; function _Bx() { _Cx({ type: _px, status: _ux }) }; function _Dx() { _Cx({ type: _tx, _8j: 0 }) }; function _Ex() { return - 1 } function _Fx() { return 0 } function _Gx() { return 0 }; function _Hx(_as) { this._Ix = ""; this.title = ""; this.description = ""; this._Jx = ""; this.type = ""; this._Kx = _ex; this._Lx = !1; if ((_as != null) && (_as != undefined)) { var id = _ki(_as, "id"); var title = _ki(_as, "title"); var description = _ki(_as, "description"); var _Jx = _ki(_as, "price"); var type = _ki(_as, "type"); if (id) { this._Ix = id } if (title) { this.title = title } if (description) { this.description = description } if (_Jx) { this._Jx = _Jx } if (type) { this.type = type } } }; function _Mx() { this._Nx = ""; this._Ix = ""; this._Ox = ""; this._Px = ""; this._Qx = ""; this._Rx = 0; this._Sx = 0; this._Kx = _ex }; function _Tx(_Ux) { switch (_Ux.type) { case _8x: { _Ax = _lx; _Bx(_wx) } break; case _9x: { _Ax = _ox; _Dx() } break; case _ax: { _Ax = _nx; _Ex(_Ux.product, _Ux._Vx) } break; case _bx: { _Ax = _nx; _Fx(_Ux.product) } break; case _cx: { _Ax = _nx; _Gx(_Ux.product) } break; default: { _Ax = _mx } break } } function _Cx(_fr) { _yx.push(_fr) } function _Wx(_fr) { _fr.map = _9i(); _ji(_fr.map, "type", _px); _ji(_fr.map, "status", _fr.status) } function _Xx(_fr) { _fr.map = _9i(); _ji(_fr.map, "type", _tx); _ji(_fr.map, "result", _fr._8j) } function _Yx(_fr) { var product = null; var _Zx = -1; var __x = JSON.parse(_fr._0y); _Zx = _1y(__x["productId"]); if (_Zx < 0) { product = new _Hx(); product._Ix = __x["productId"]; _wx.push(product); _Zx = _wx.length - 1 } else { product = _wx[_Zx] } product._Lx = !0; product._Kx = _fx; if (__x["title"]) { product.title = __x["title"] } if (__x["price"]) { product._Jx = __x["price"] } if (__x["type"]) {} if (__x["description"]) { product.description = __x["description"] } if (__x["price_currency_code"]) {} _fr.map = _9i(); _ji(_fr.map, "type", _qx); _ji(_fr.map, "product", product._Ix); _ji(_fr.map, "index", _Zx) } function _2y(_fr) { var __x = JSON.parse(_fr._0y); var _Vx = -1; if ((__x["purchaseIndex"] != null) && (__x["purchaseIndex"] != undefined)) { _Vx = __x["purchaseIndex"] } var _3y = null; if (_Vx != -1) { _3y = _xx[_Vx] } else { _3y = new _Mx(); _xx.push(_3y); _Vx = _xx.length - 1 } if (__x["orderId"]) { _3y._Nx = __x["orderId"] } if (__x["productId"]) { _3y._Ix = __x["productId"] } if (__x["purchaseTime"]) { _3y._Sx = __x["purchaseTime"] } if ((__x["purchaseState"] != null) && (__x["purchaseState"] != undefined)) { _3y._Kx = __x["purchaseState"] } if (__x["purchaseToken"]) { _3y._Px = __x["purchaseToken"] } if (__x["response"]) { _3y._Rx = __x["response"] } if (__x["receipt"]) { _3y._Ox = __x["receipt"] } _fr.map = _9i(); _ji(_fr.map, "type", _rx); _ji(_fr.map, "index", _Vx); _ji(_fr.map, "response", _3y._Rx) } function _4y(_fr) { var __x = JSON.parse(_fr._0y); var _5y = null; var _Px = null; var _6y = 0.0; if (__x["productId"]) { _5y = __x["productId"] } if (__x["token"]) { _Px = __x["token"] } if (__x["consumed"]) { if (typeof(__x["consumed"]) == "string") { _6y = (__x["consumed"] == "false") ? 0.0 : 1.0 } else { _6y = __x["consumed"] } } if ((_5y != null) && (_6y == !0)) { for (var _C9 = 0; _C9 < _xx.length; _C9++) { var _3y = _xx[_C9]; if ((_3y._5y == _5y) && (_3y._Px == _Px)) { _xx[_C9] = null } } } _fr.map = _9i(); _ji(_fr.map, "type", _sx); _ji(_fr.map, "product", _5y); _ji(_fr.map, "consumed", _6y ? 1.0 : 0.0) } function _7y(_fr) { var _8y = !1; if ((_fr.type != null) && (_fr.type != undefined)) { switch (_fr.type) { case _px: { _Wx(_fr); if (_fr.status == _vx) { _Ax = _mx; _8y = !0 } else { _Ax = _kx } } break; case _qx: { _Yx(_fr); if (_Ax != _lx) { _Ax = _mx; _8y = !0 } } break; case _rx: { _2y(_fr); if ((_Ax != _lx) && (_Ax != _ox)) { _Ax = _mx; _8y = !0 } } break; case _sx: { _4y(_fr); _Ax = _mx; _8y = !0 } break; case _tx: { _Xx(_fr); _Ax = _mx; _8y = !0 } break } } if (_8y && (_zx.length != 0)) { var _9y = _zx.shift(); _Tx(_9y) } } function _ay() { while (_yx.length > 0) { var _by = _yx.shift(); _7y(_by); _w6._cy = _by.map; _dy._g9(_ey, 0); _ci(_by.map) } } function _1y(_fy) { var _gy = -1; if (typeof(_fy) == "string") { for (var _C9 = 0; _C9 < _wx.length; _C9++) { var product = _wx[_C9]; if (product._Ix.toLowerCase() == _fy.toLowerCase()) { _gy = _C9; break } } } else { _gy = ~~_fy } return _gy } var _hy = null; function _07(_iy) { if (_hy) { _37() } var _jy = null; if (_ky) { _jy = _ly(_iy, !0) } if (_jy == null) { _jy = _ly(_iy, !1) } if (_jy == null) { _jy = new _my(_iy) } _hy = _jy } function _37() { if (!_hy) return; var _0t = _hy._ny(); _hy = null; return _0t } function _27(_oy, _ii, _py) { if (!_hy) return _py; return _hy._qy(_oy, _ii, _py) } function _P7(_oy, _ii, _bt) { if (!_hy) return ! 1; _hy._ry(_oy, _ii, "" + _sy(_bt)); return ! 0 } function _67(_7i) { var _ty = _j7(_7i); if (_ty == null) return 0; var _Ea = 0; for (var _H3 = 0; _H3 < _ty.length; _H3++) { if (!_ty[_H3]._uy) _Ea++ } return _Ea } function _vy(_lt, _V8, _W8, _7i) { var _0a = _lt._f3; var _2a = _lt._g3; _lt._te(_V8, _W8); var id = _wy(null, Math.floor(_7i), !1, _xy, _V8, _W8, function(_yy) { if (_yy._zy(_lt, !0)) { return _yy.id } else { return _xy } }); _lt._te(_0a, _2a); return id } function _Z6(_V8, _W8, _7i) { var _4s = _Ys._Gh(_7i); if (!_4s) { _Xg("Error: Trying to create an instance using non-existent object type (" + _7i + ")"); return _xy } var _Ay = _H8.__i(_V8, _W8, _7i); _Ay._g9(_0j, 0, _Ay, _Ay); return _Ay.id } function _n7(_lt) { _lt._g9(_By, 0, _lt, _lt); _lt._uy = !0 } function _Cy(_Ti, _V8, _W8) { var bottom, top; var _Dy = []; var _Ey = _H8._Fy; for (var _H3 = 0; _H3 < _Ey._3i.length; _H3++) { var _Ay = _Ey._3i[_H3]; if (_Ay._Gy) _Ay._Hy(); var _Iy = _Ay._Iy; if (! ((_V8 > _Iy._q9) || (_V8 < _Iy.left) || (_W8 > _Iy.bottom) || (_W8 < _Iy.top))) { _Dy[_Dy.length] = _Ay } } var _Ey = _H8._Fy; for (var _H3 = 0; _H3 < _Dy.length; _H3++) { _n7(_Dy[_H3]) } } function _Jy(_Ti, _Ky, _Ly) { if (_Ly) _Ti._g9(_By, 0, _Ti, _Ti); _Ti._My(_Ky, !0, !1); _Ti._Ny = _Ti._Oy._Py; var _Qy = _Ry._Gh(_Ti._Ny); if (_Qy) { _Ti._Iy.left = _Qy._Iy.left; _Ti._Iy._q9 = _Qy._Iy._q9; _Ti._Iy.top = _Qy._Iy.top; _Ti._Iy.bottom = _Qy._Iy.bottom } _Ti._Sy(_H8); if (_Ly) _Ti._g9(_0j, 0, _Ti, _Ti) } function _Ty(_Ti, _Ky, _Ly) { if (!_Ys._Uy(_Ky)) { debug("Error: Trying to change an instance to an nonexistent object type."); return } _Jy(_Ti, _Ky, _Ly) } var _Vy = _Ty; function _Wy(_7i, _Xy) { if (_7i._Yy >= 0) { var _Zy = _Ys._Gh(_7i._Yy); if (_Zy) { if (_Zy.__y == _Xy) { return ! 0 } else { return _Wy(_Zy, _Xy) } } } return ! 1 }; function _0z(_ii) { if (_1z[_ii]) { return } _1z[_ii] = 1; _2z[_ii] = 1; _3z = _ii } function _4z(_ii) { _5z[_ii] = 1; _1z[_ii] = 0 } function _6z(_7z) { with(_dh) { switch (_7z) { case 0: if (_nf[0] || _nf[1] || _nf[2]) return 0; else return 1; case 1: if (_nf[0]) return 1; else return 0; case 2: if (_nf[1]) return 1; else return 0; case 3: if (_nf[2]) return 1; else return 0; case - 1 : if (_nf[0] || _nf[1] || _nf[2]) return 1; else return 0 } } return 0; } function _8z(_7z) { with(_dh) { switch (_7z) { case 0: if (_if[0] || _if[1] || _if[2]) return 0; else return 1; case 1: if (_if[0]) return 1; else return 0; case 2: if (_if[1]) return 1; else return 0; case 3: if (_if[2]) return 1; else return 0; case - 1 : if (_if[0] || _if[1] || _if[2]) return 1; else return 0 } } return 0 } function _9z(_7z) { with(_dh) { switch (_7z) { case 0: if (_mf[0] || _mf[1] || _mf[2]) return 0; else return 1; case 1: if (_mf[0]) return 1; else return 0; case 2: if (_mf[1]) return 1; else return 0; case 3: if (_mf[2]) return 1; else return 0; case - 1 : if (_mf[0] || _mf[1] || _mf[2]) return 1; else return 0 } return 0 } } function _az(_bz, _cz) { if (_bz.readyState != 4) return; var _Qr = _oq(_bz); if (_Qr) { _Qr._dz = _bz.status; _Qr._pq = !0; if (_bz.status != 200) { _Qr._qq = _vq; _Qr._ez = ""; return } _Qr._qq = _rq; try { _Qr._ez = _bz.responseText } catch(e) { _Qr._ez = "" } _Qr._fz = _9i(); var _gz = _bz.getAllResponseHeaders().split("\r\n"); for (var _C9 in _gz) { var _hz = _gz[_C9].split(": "); if (_hz.length == 2) { _ji(_Qr._fz, _hz[0], _hz[1]) } } if (_cz) { _cz(_bz, _Qr) } } } function _iz(_fr, _bz) { var _Qr = _oq(_bz); if (_Qr) { _Qr._pq = !0; _Qr._qq = _rq; _Qr._ez = _bz.responseText; _Qr._dz = 200; _Qr._fz = -1 } } function _jz(_fr, _bz) { var _Qr = _oq(_bz); if (_Qr) { _Qr._pq = !0; _Qr._qq = _vq; _Qr._ez = ""; _Qr._dz = 404; _Qr._fz = -1 } } function _kz(_ce, _lz, _mz, _nz, _bz, _oz, _cz) { _bz.open(_ce, _lz); _bz.ontimeout = function(_fr) { _jz(_fr, _bz) }; _bz.onerror = function(_fr) { _jz(_fr, _bz) }; if (_oz) { _bz.onload = function(_fr) { _iz(_fr, _bz) } } else { _bz.onload = function(_fr) {}; _bz.onreadystatechange = function() { if (_bz.readyState == 4 && _bz.status == 200) { _iz(null, _bz) } } } if (_mz !== null) { for (var _hz in _mz) { if (!_mz.hasOwnProperty(_hz)) continue; try { _bz.setRequestHeader(_mz[_hz]._pz, _mz[_hz].value) } catch(e) { debug("Unable to set request header " + _mz[_hz]._pz + ":" + _mz[_hz].value + " " + e.message) } } } _bz._qz = function() {}; _bz.send(_nz) } function _rz(_ce, _lz, _mz, _nz, _bz, _cz) { _bz.open(_ce, _lz, !0); if (_mz !== null) { for (var _hz in _mz) { if (!_mz.hasOwnProperty(_hz)) continue; try { _bz.setRequestHeader(_mz[_hz]._pz, _mz[_hz].value) } catch(e) { debug("Unable to set request header " + _mz[_hz]._pz + ":" + _mz[_hz].value + " " + e.message); } } } else if (_ce == "POST") { _bz.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") } _bz.onreadystatechange = function() { _az(_bz, _cz) }; _bz.send(_nz) } function _sz(_lz, _mz) { var _tz = { _uz: null, _vz: !0, _wz: !1 }; if ((_lz.substring(0, 7) != "http://") && (_lz.substring(0, 8) != "https://")) { _tz._vz = !1 } else { var _xz = ""; if (_lz.substring(0, 7) == "http://") { _xz = _lz.substring(7, _lz.length - 7) } if (_lz.substring(0, 8) == "https://") { _xz = _lz.substring(8, _lz.length - 7) } if (_mz !== null) { _tz._vz = !1 } if (_xz.substring(0, document.domain.length) == document.domain) { _tz._vz = !1 } } if ((_tz._vz) && (window.XDomainRequest)) { _tz._uz = new XDomainRequest(); _tz._vz = !0; _tz._wz = !0 } else { if (window.XMLHttpRequest) { _tz._uz = new XMLHttpRequest(); _tz._vz = !1; _tz._wz = (_yz == _zz) } else if (window.ActiveXObject) { if (new ActiveXObject("Microsoft.XMLHTTP")) { _tz._uz = new ActiveXObject("Microsoft.XMLHTTP") } else { _tz._uz = new ActiveXObject("Msxml2.XMLHTTP") } } } return _tz } function _Az(_ce, _lz, _mz, _nz, _Bz, _Cz, _cz) { try { var _tz = _sz(_lz, _mz); if (_Bz) { _xq._Wh(_Dz, _lz, _Ez, _tz._uz) } if (_Cz !== undefined) { _tz._uz.responseType = _Cz } if (_tz._wz) { _kz(_ce, _lz, _mz, _nz, _tz._uz, _tz._vz, _cz) } else { _rz(_ce, _lz, _mz, _nz, _tz._uz, _cz) } } catch(e) { return - 1 } return _Dz++ } var _Fz = 0x7fff; var floor = Math.floor; function _Gz(_Hz) { var _H3 = _Hz & 0xffffffff; var _Mq = _Hz - _H3; if ((_H3 & 1) == 1) { if (_Mq >= 0.5) { return _H3 + 1 } else { return _H3 } } else { if (_Mq <= 0.5) { return _H3 } else { return _H3 + 1 } } } var round = _Gz; var _Xi = _Gz; var abs = Math.abs; function cos(_Hz) { var _V8 = Math.cos(_Hz); var _V9 = ~~ (_V8 * 0x1000000); _V8 = _V9 / 0x1000000; return _V8 } function sin(_Hz) { var _V8 = Math.sin(_Hz); var _V9 = ~~ (_V8 * 0x1000000); _V8 = _V9 / 0x1000000; return _V8 } function tan(_Hz) { var _V8 = Math.tan(_Hz); var _V9 = ~~ (_V8 * 0x1000000); _V8 = _V9 / 0x1000000; return _V8 } function _Iz(_aa, _ba, _x9, _y9) { var _f3 = _x9 - _aa; var _g3 = _y9 - _ba; if (_f3 === 0) { if (_g3 > 0) return 270.0; else if (_g3 < 0) return 90.0; else return 0.0 } else { var _Cw = 180.0 * Math.atan2(_g3, _f3) / _Y9; _Cw = (~~round(_Cw * 1000000)) / 1000000.0; if (_Cw <= 0.0) { return - _Cw } else { return (360.0 - _Cw) } } return _nv } function _Jz(_aa, _ba, _x9, _y9) { return _Iz(_aa, _ba, _x9, _y9) } function _U9(_Hz, _Kz) { if (_Hz < _Kz) return _Hz; else return _Kz } function _S9(_Hz, _Kz) { if (_Hz > _Kz) return _Hz; else return _Kz } var max = Math.max; var min = Math.min; var _Lz = []; var index = 0; var _Mz = _Nz(0); function _Nz(_Oz) { var _9q = _Oz; for (_H3 = 0; _H3 < 16; _H3++) { _9q = (((_9q * 214013 + 2531011) >> 16) & _Fz) | 0; _Lz[_H3] = ~~_9q } index = 0; _Mz = _Oz; return _Mz } function _Pz() { var _kb, _W9, _I3, _mk; _kb = _Lz[index]; _I3 = _Lz[(index + 13) & 15]; _W9 = _kb ^ _I3 ^ (_kb << 16) ^ (_I3 << 15); _I3 = _Lz[(index + 9) & 15]; _I3 ^= (_I3 >> 11); _kb = _Lz[index] = _W9 ^ _I3; _mk = _kb ^ ((_kb << 5) & 0xDA442D20); index = (index + 15) & 15; _kb = _Lz[index]; _Lz[index] = _kb ^ _W9 ^ _mk ^ (_kb << 2) ^ (_W9 << 18) ^ (_I3 << 28); return ((_Lz[index] & 0x7fffffff) / 2147483647.0) } function random(_Fd) { var _T9 = _Pz(); return _T9 * _Fd } function _87(_Qz, _Rz) { if (_Qz == _Rz) { return _Qz } var _Sz, _Tz; if (_Qz > _Rz) { _Sz = _Rz; _Tz = _Qz } else { _Sz = _Qz; _Tz = _Rz } var _Uz = _Pz(); _8j = _Sz + (_Uz * (_Tz - _Sz)); _Pz(); return _8j } function _57() { var __h = _57.arguments; var _0i = _57.arguments.length; var index = Math.floor(random(_0i)); return __h[index] } function _vf(_V8) { if (_V8 == 0) return 0; if (_V8 < 0) return - 1; return 1 } var ceil = Math.ceil; function _Vz(_V8) { return _V8 - ~~_V8 } function sqrt(_V8) { if (_V8 >= 0) return Math.sqrt(_V8); else _Xg("Cannot apply sqrt to negative number.") } function _ka(_V8) { return _V8 * _V8 } var _Wz = Math.pow; var exp = Math.exp; var _Xz = Math.log; var _Yz = Math.asin; var _Zz = Math.acos; var __z = Math.atan; var _0A = Math.atan2; function _1A() { var __h = _1A.arguments; var _0i = _1A.arguments.length; var _F9 = __h[0]; for (var _H3 = 1; _H3 < _0i; _H3++) { _F9 += __h[_H3] } return (_F9 / _0i) } function _2A() { var arguments = _2A.arguments; if (arguments.length == 0) { return 0 } var _H3, __9, _8j; for (_H3 = 0; _H3 < arguments.length; _H3++) { var _3A = 0; var _4A = 0; for (__9 = 0; __9 < arguments.length; __9++) { if (arguments[__9] < arguments[_H3]) { _3A = _3A + 1 } if (arguments[__9] <= arguments[_H3]) { _4A = _4A + 1 } } if ((_3A < (arguments.length / 2)) && (_4A >= (arguments.length / 2))) { return arguments[_H3] } } debug("Error: was not able to successfully find the median value"); return 0 } var _5A = 30, _6A = 10, _7A = 3, _8A = !0; function _9A(_aA, _bA) { var _nv = 0.0; while (_aA <= 0.0) { _aA = _aA + 360 } while (_aA >= 360.0) { _aA = _aA - 360 } while (_bA < 0.0) { _bA = _bA + 360 } while (_bA >= 360.) { _bA = _bA - 360 } _nv = _bA - _aA; if (_nv < 0) { _nv = -_nv } if (_nv > 180) { _nv = 360 - _nv } return _nv } function _cA(_lt, _V8, _W8, _dA, _eA) { if (_dA == _fA) { if (_eA) { return _gA(_lt, _V8, _W8) } else { return _hA(_lt, _V8, _W8) } } else { return (_vy(_lt, _V8, _W8, _dA) == _xy) } } function _iA(_lt, _V8, _W8, _jA, _dA, _eA) { var _nv = !1; var _kA = 0.0; var _lA = 0.0; var _mA = 0.0; if ((_lt._f3 == _V8) && (_lt._g3 == _W8)) return ! 0; _kA = sqrt(_do(_lt._f3 - _V8) + _do(_lt._g3 - _W8)); if (_kA <= _jA) { _lA = _V8; _mA = _W8; _nv = !0 } else { _lA = _lt._f3 + _jA * (_V8 - _lt._f3) / _kA; _mA = _lt._g3 + _jA * (_W8 - _lt._g3) / _kA; _nv = !1 } if (!_cA(_lt, _lA, _mA, _dA, _eA)) { return _nv } _lt._o7(_Iz(_lt._f3, _lt._g3, _lA, _mA)); _lt._te(_lA, _mA); return _nv } function _nA(_lt, _V8, _W8, _jA, _eA) { return _iA(_lt, _V8, _W8, _jA, _fA, _eA); } function _oA(_pA, _lt, _Ui, _dA, _eA) { var _nv = !1; var _qA = 0.0; var _rA = 0.0; if (_9A(_pA, _lt._sA) > _5A) { return _nv } _qA = _lt._f3 + _Ui * _7A * cos(_Y9 * _pA / 180); _rA = _lt._g3 - _Ui * _7A * sin(_Y9 * _pA / 180); if (!0 != _cA(_lt, _qA, _rA, _dA, _eA)) { return _nv } _qA = _lt._f3 + _Ui * cos(_Y9 * _pA / 180); _rA = _lt._g3 - _Ui * sin(_Y9 * _pA / 180); if (!0 != _cA(_lt, _qA, _rA, _dA, _eA)) { return _nv } _lt._o7(_pA); _lt._te(_qA, _rA); _nv = !0; return _nv } function _tA(_lt, _V8, _W8, _jA, _Ky, _eA) { var _nv = !1; var _kA = 0.0; var _uA = 0.0; var _vA = 0.0; if ((_lt._f3 == _V8) && (_lt._g3 == _W8)) { _nv = !0; return _nv } _kA = sqrt(_do(_lt._f3 - _V8) + _do(_lt._g3 - _W8)); if (_kA <= _jA) { if (_cA(_lt, _V8, _W8, _Ky, _eA)) { _lt._o7(_Jz(_lt._f3, _lt._g3, _V8, _W8)); _lt._te(_V8, _W8) } _nv = !0; return _nv } _uA = _Jz(_lt._f3, _lt._g3, _V8, _W8); _vA = 0; _nv = !1; while (_vA < 180) { if (_oA(_uA - _vA, _lt, _jA, _Ky, _eA)) { return _nv } if (_oA(_uA + _vA, _lt, _jA, _Ky, _eA)) { return _nv } _vA = _vA + _6A } if (_8A) { _lt._o7(_lt._sA + _5A) } return _nv } function _wA(_lt, _V8, _W8, _jA, _eA) { return _tA(_lt, _V8, _W8, _jA, _fA, _eA) } function _xA(_yA, _zA, _AA, _BA, _CA, _DA) { this._EA = _yA; this._FA = _zA; this._GA = ~~_AA; this._HA = ~~_BA; this._IA = _CA; this._JA = _DA; this._KA = []; this._zg() }; _xA.prototype._zg = function() { var _LA = this._GA * this._HA; for (var _H3 = 0; _H3 < _LA; _H3++) { this._KA[_H3] = 0 } }; var _MA = _NA; function _NA(_Ch) { var _OA = _PA._Gh(_Ch); if (_OA) { _yb.globalAlpha = _Ad; var _xk = _Uj(0xff0000, 1.0); var _yk = _Uj(0x00ff00, 1.0); for (var _f3 = 0; _f3 < _OA._GA; _f3++) { for (var _g3 = 0; _g3 < _OA._HA; _g3++) { var _1b = _yk; if (_OA._KA[_f3 * _OA._HA + _g3] < 0) { _1b = _xk } _yb.fillStyle = _1b; _yb._Lv((_OA._EA + _f3 * _OA._IA), (_OA._FA + _g3 * _OA._JA), _OA._IA, _OA._JA) } } return } _Xg("Error: invalid mp_grid ID (mp_grid_draw)") } function _hA(_lt, _V8, _W8) { var _0a, _2a, _nv, _QA; _nv = !0; _0a = _lt._f3; _2a = _lt._g3; _lt._te(_V8, _W8); var _3i = _H8._RA(); for (var _Zi = 0; _Zi < _3i.length; _Zi++) { _QA = _3i[_Zi]; if (_QA._SA) { if (_lt._zy(_QA, !0)) { _nv = !1; break } } } _lt._te(_0a, _2a); return _nv } function _gA(_lt, _V8, _W8) { var _0a, _2a, _nv, _QA; _nv = !0; _0a = _lt._f3; _2a = _lt._g3; _lt._te(_V8, _W8); var _3i = _H8._RA(); for (var _Zi = 0; _Zi < _3i.length; _Zi++) { _QA = _3i[_Zi]; if (_lt._zy(_QA, !0)) { _nv = !1; break } } _lt._te(_0a, _2a); return _nv } function _TA(_lt, _V8, _W8, _7i) { var _0a, _2a, _nv, _QA; _nv = !1; _0a = _lt._f3; _2a = _lt._g3; _lt._te(_V8, _W8); var _3i = _j7(_7i); for (var _Zi = 0; _Zi < _3i.length; _Zi++) { _QA = _3i[_Zi]; if (_lt._zy(_QA, !0)) { _nv = !0; break } } _lt._te(_0a, _2a); return _nv } function _UA(_lt, _V8, _W8, _Ui) { _lt._E7(_V8 - _lt._f3); _lt._F7(_W8 - _lt._g3); _lt._p7(_Ui) } function _VA(_lt, _V8, _W8, _WA) { if (_WA) { return _gA(_lt, _V8, _W8) } else { return _hA(_lt, _V8, _W8) } } function _XA(_Ti, _V8, _W8, _WA) { if (_WA) return _gA(_Ti, _V8, _W8); else return _hA(_Ti, _V8, _W8) } function _Yi(_U8) { if (!_Ys._Gh(_U8)) return ! 1; return ! 0 } var _YA = _mj; var _ZA = __A; var _0B = _1B; var _2B = _3B; var _4B = _5B; var _6B = _7B; var _8B = _9B; var _aB = _bB; var _cB = _dB; var _eB = _fB; var _gB = _hB; var _iB = _jB; var _kB = _lB; var _mB = _lB; var _nB = _oB; var _pB = _qB; var _rB = _nj; var _sB = _tB; var _uB = _vB; var _wB = _xB; var _yB = _zB; var _AB = _BB; var _CB = _DB; var _EB = _FB; var _GB = _HB; var _IB = _JB; var _KB = _JB; var _LB = _qj; var _MB = _qj; var _NB = _OB; var _PB = _OB; var _QB = _OB; var _RB = _OB; var _SB = _pj; var _TB = _pj; var _UB = _VB; var _WB = _VB; var _XB = _YB; var _ZB = _YB; var __B = _0C; var _1C = _rj; var _2C = _3C; var _4C = _5C; var _6C = _7C; var _8C = _9C; var _aC = _bC; var _cC = _dC; var _eC = _fC; var _gC = _hC; var _iC = _jC; var _kC = _lC; var _mC = _nC; var _oC = _pC; var _qC = _rC; var _sC = _tC; var _uC = _vC; var _wC = _xC; function _A7(_Ti, _tj, _Ui, _yC, _zC) { _Ti._wj(_tj, _Ui, 1, 0, _zC, _yC) } function _AC(_Ti) { _Ti._wj( - 1, 0, 1, 0, !1, 0) } var _BC = _CC; function _CC(_Ch, _DC, _EC, _zC) { var _FC = _GC._a3[_Ch]; if (!_FC) return; _yb.globalAlpha = _Ad; _yb.strokeStyle = _qv; var _0a, _2a, _jr; var _HC = 0; var _IC = _FC._JC(0); if (!_zC) { _DC = _DC - _IC._f3; _EC = _EC - _IC._g3 } else { _DC = 0; _EC = 0 } _HC = _Xi(_FC.length / 4.0); if (_HC == 0) return; var _z3 = !0; _yb.__v(); for (var _H3 = 0; _H3 <= _HC; _H3++) { _IC = _FC._JC(_H3 / _HC); if (_z3) { _yb._0w(_DC + _IC._f3, _EC + _IC._g3); _z3 = !1 } else { _yb._1w(_DC + _IC._f3, _EC + _IC._g3) } } _yb._3w(); _yb._2w() } var _KC = new _LC(); var _MC = new _LC(); var _NC = new _LC(); function _OC() { var _PC = _KC._Wh(new _QC(_PC)); return _PC } function _RC(_SC) { var _TC = _KC._Gh(_SC); _TC._UC() } function _VC(_SC, _WC) { var _TC = _KC._Gh(_SC); _TC._XC(_WC) } function _YC(_SC, _ZC) { var _TC = _KC._Gh(_SC); _TC.__C(_ZC) } function _0D(_SC, _1D) { var _TC = _KC._Gh(_SC); _TC._2D(_1D) } function _3D(_SC, _4D) { var _TC = _KC._Gh(_SC); _TC._5D(_4D) } function _6D(_SC, _7D) { var _TC = _KC._Gh(_SC); _TC._8D((_7D > 0.5) ? !0 : !1) } function _9D(_SC, _aD) { var _TC = _KC._Gh(_SC); _TC._bD(_aD) } function _cD(_SC, _aD) { var _TC = _KC._Gh(_SC); _TC._dD(_aD) } function _eD(_SC, _fD) { var _TC = _KC._Gh(_SC); _TC._gD(_fD) } function _hD(_SC, _iD) { var _TC = _KC._Gh(_SC); _TC._jD(_iD * _H8._kD._lD) } function _mD(_SC) { var _TC = _KC._Gh(_SC); _TC._nD() } function _oD(_SC, _pD, _qD) { var _TC = _KC._Gh(_SC); var scale = _H8._kD._lD; _TC._rD(_pD * scale, _qD * scale); } function _sD(_Ti, _SC, _Ch, _tD, _uD) { var _vD = -1; var _TC = _KC._Gh(_SC); var _7i = Math.floor(_Ch); if (_7i == _wD) { _7i = _Ti.id } if (_7i == _fA) { var _3i = _dy._RA(); for (var _Zi = 0; _Zi < _3i.length; _Zi++) { var _Ay = _3i[_Zi]; if (_Ay._xD) continue; _vD = _H8._kD._yD(_TC, _Ay, _tD, _uD) } } else if (_7i < 100000) { var _li = _Ys._Gh(_7i); if (_li === null) { return _zD } var _3i = _li._AD(); for (var _Zi = 0; _Zi < _3i.length; _Zi++) { var _Ay = _3i[_Zi]; if (_Ay._xD) continue; _vD = _H8._kD._yD(_TC, _Ay, _tD, _uD) } } else { var _Ay = _dy._Gh(_7i); _vD = _H8._kD._yD(_TC, _Ay, _tD, _uD) } return _vD } function _BD(_Ti, _SC, _Ch) { return _sD(_Ti, _SC, _Ch, 0.0, 0.0) } function _CD(_U8, _Cd, _DD) { var _ED = _FD._Gh(_U8); if (_ED === null) return; var _GD = _ED._HD; _GD._b5 = _Cd; _GD._k5 = _DD } var _ID = _CD; function _b8() { if ((_H8._JD + 1) >= _FD._KD.length) return; _LD = _FD._MD(_H8._JD + 1).id } function _cj() { _LD = _H8.id } function _S6(_ND) { var _OD = _FD._Gh(_ND); if ((_OD == null) || (_OD == undefined)) { _Zp("Error: Room " + _ND + " is not a valid room index") } else { _LD = _ND } } function _PD() { _S6(_QD) } var _RD = function() { _nc("yy_texture_get_texel_width()") }; var _SD = function() { _nc("yy_texture_get_texel_height()"); }; var _TD = function() { _nc("texture_set_stage()") }; var _UD = function() { _nc("shader_is_compiled()") }; var _VD = function() { _nc("shader_set()") }; var _WD = function() { _nc("shader_get_uniform()") }; var _XD = function() { _nc("shader_set_uniform_i()") }; var _YD = function() { _nc("shader_set_uniform_f()") }; var _ZD = function() { _nc("shader_set_uniform_matrix()") }; var __D = function() { _nc("shader_set_uniform_matrix()") }; var _0E = function() { _nc("shader_enable_corner_id()") }; var _1E = function() { _nc("shader_set_uniform_array_i()"); }; var _2E = function() { _nc("shader_set_uniform_array_f()") }; var _3E = function() { _nc("shader_set_uniform_matrix_array()") }; function _4E() { return 0 } var _5E = []; var _6E = 200000; var _7E = _6E; var _8E = []; var _9E = 0; var audio_sampledata = []; var _aE = !1; var _bE = 0; var _cE = 128; var _dE = null; var _eE = 0; var _fE = []; var _gE = { _hE: 0, _iE: 1, _jE: 2, _kE: 3, _lE: 4, _mE: 5, _nE: 6 }; var _oE = 0; var _pE = 1.0; var _qE = 0; function _rE() { if (_4h != _5h) return; _bE++ } var _sE; function _tE() { if (_4h != _5h) { return } _uE = g_WebAudioContext.createGainNode(); _uE.connect(g_WebAudioContext.destination); _vE = g_WebAudioContext.createGainNode(); _vE.connect(_uE); _wE(_gE._iE); var _xE; if (typeof document.hidden !== "undefined") { _sE = "hidden"; _xE = "visibilitychange" } else if (typeof document.mozHidden !== "undefined") { _sE = "mozHidden"; _xE = "mozvisibilitychange" } else if (typeof document.msHidden !== "undefined") { _sE = "msHidden"; _xE = "msvisibilitychange" } else if (typeof document.webkitHidden !== "undefined") { _sE = "webkitHidden"; _xE = "webkitvisibilitychange" } document.addEventListener(_xE, _yE, !1); _zE(0, 0, 0); _AE(0, 0, 1.0, 0, 1.0, 0.0) } function _BE() { this.buffer = null; this.gain = 1.0; this._CE = 1.0; this._DE = 1.0; this.duration = 0.0 } function _EE(_FE, _GE, _HE) { this._IE = g_WebAudioContext.createGainNode(); this._JE = null; this._gr = 0; this._KE(_FE, _GE, _HE) } _EE.prototype._KE = function(_FE, _GE, _HE) { this._LE = !1; this._ME = g_WebAudioContext.currentTime; this.playbackpoint = 0; this._NE = null; this.gain = 1.0; this._IE.gain.value = 1; if (this._JE != null) { this._JE.disconnect(); this._JE = null } this.paused = !1; this._OE = _FE; this._PE = _HE; this._QE = !1; this._RE = _GE; this._SE = !1; this._TE = null; this._UE = null; if (_FE >= 0) { this._SE = _VE(_FE); this._IE.gain.value = audio_sampledata[_FE].gain; if (this._gr >= _6E) { _fE[this._gr - _6E] = null } this._gr = _7E; _fE[_7E - _6E] = this; ++_7E } }; function _VE(_OE) { if (_OE >= 0 && _OE < _Yp._X2.length) { if (_Yp._X2[_OE]._b3 == 1) { return ! 0 } } else { debug("Error: soundid " + _OE + " not found") } return ! 1 } function _6h() { var _WE = g_WebAudioContext.createBufferSource(); var gain = g_WebAudioContext.createGainNode(); _WE.connect(gain); gain.connect(g_WebAudioContext.destination); gain.gain.value = 0; _WE.noteOn(0) } function _XE(_YE) { if (_YE._LE) { if (_YE._SE) _ZE(_YE); else __E(_YE); _YE._OE = -1; _YE._LE = !1 } } function _ZE(_YE) { if (_YE._TE != null) { try { _YE._TE.pause(); _YE._UE.disconnect(); if (_YE._IE != null) _YE._IE.disconnect(); if (_YE._JE != null) { _YE._JE.disconnect(); _YE._JE = null } } catch(_0F) { debug("Audio_StopStreamed exception: " + _0F) } } } function __E(_YE) { try { if (_YE._NE != null) { _YE._NE.noteOff(0); _YE._NE.disconnect(); if (_YE._IE != null) _YE._IE.disconnect(); if (_YE._JE != null) { _YE._JE.disconnect(); _YE._JE = null } } } catch(_0F) { debug("Audio_StopUnstreamed exception: " + _0F) } } function _1F(_YE) { if (!_YE.paused) { if (_YE._SE) _2F(_YE); else _3F(_YE); _YE.paused = !0 } } function _2F(_YE) { try { _YE._TE.pause() } catch(_0F) { debug("Audio_PauseStreamed exception: " + _0F) } } function _3F(_YE) { try { _YE._NE.onended = null; _YE._NE.noteOff(0); _YE.playbackpoint += g_WebAudioContext.currentTime - _YE._ME } catch(_0F) { debug("Audio_PauseUnstreamed exception: " + _0F) } } function _4F(_YE) { if (_YE.paused) { if (_YE._SE) _5F(_YE); else _6F(_YE); _YE.paused = !1 } } function _5F(_YE) { if (_YE.paused) { try { _YE._TE.play() } catch(_0F) { debug("Audio_ResumeStreamed exception: " + _0F); } } } function _6F(_YE) { try { _YE._NE = g_WebAudioContext.createBufferSource(); _YE._ME = g_WebAudioContext.currentTime; _YE._IE = g_WebAudioContext.createGainNode(); _YE._IE.gain.value = _YE.gain * audio_sampledata[_YE._OE].gain; _YE._NE.connect(_YE._IE); _YE._NE.onended = function(event) { _YE._LE = !1 }; if (_YE._JE != null) { _YE._IE.connect(_YE._JE) } else { _YE._IE.connect(_uE) } _YE._NE.buffer = audio_sampledata[_YE._OE].buffer; if (_YE._PE > 0) _YE._NE.loop = !0; { var _7F = Math.floor(_YE.playbackpoint / _YE._NE.buffer.duration); var _8F = _YE.playbackpoint - _7F * _YE._NE.buffer.duration; _YE._NE.noteGrainOn(0, _8F, _YE._NE.buffer.duration - _8F) } } catch(_0F) { debug("Audio_ResumeUnstreamed exception: " + _0F) } } function _9F(_YE) { var _aF = !1; if (_YE._LE) { return _YE.paused } return ! 1 } function _bF(_YE) { var _cF = !1; if (_YE._LE) { if (_YE._SE) _cF = _dF(_YE); else _cF = _eF(_YE) } return _cF } function _eF(_YE) { if (_YE._NE != null) { if ((_YE._NE.playbackState == undefined || _YE._NE.playbackState != _YE._NE.FINISHED_STATE) || _YE.paused) { return ! 0 } } return ! 1 } function _dF(_YE) { if (_YE._TE != null) { if (!_YE._TE.ended) { return ! 0; } } return ! 1 } function _yE() { if (_4h == _5h) { if (document[_sE] == !0) { if (!_aE) { _aE = !0; _fF(!0) } } else if (document[_sE] == !1) { if (_aE) { _gF(!0); _aE = !1 } } } } var _hF; function _wE(_iF) { if (_4h != _5h) { return } var _jF = g_WebAudioContext.createPanner(); _hF = _jF.INVERSE_DISTANCE; switch (_iF) { case _gE._hE: debug("Audio_falloff_none not supported in html5\n"); break; case _gE._iE: _hF = _jF.INVERSE_DISTANCE; break; case _gE._jE: debug("Audio_falloff_inverse_distance_clamped not supported in html5\n"); break; case _gE._kE: _hF = _jF.LINEAR_DISTANCE; break; case _gE._lE: debug("Audio_falloff_linear_distance_clamped not supported in html5\n"); break; case _gE._mE: _hF = _jF.EXPONENTIAL_DISTANCE; break; case _gE._nE: debug("Audio_falloff_exponent_distance_clamped not supported in html5\n"); break; default: debug("Attempting to set audio falloff to unknown model\n"); break } } function _fF(_kF) { for (_H3 = 0; _H3 < _eE; ++_H3) { var _WE = _5E[_H3]; if (_WE._LE) { if (!_WE.paused) { _1F(_WE); if (_kF) _WE._QE = !0 } } } } function _lF() { for (_H3 = 0; _H3 < _eE; ++_H3) { var _WE = _5E[_H3]; if (_WE._LE) { _XE(_WE) } } } function _gF(_kF) { for (_H3 = 0; _H3 < _eE; ++_H3) { var _WE = _5E[_H3]; if (_WE._LE) { if (_WE.paused) { if (_kF) { if (_WE._QE) { _4F(_WE); _WE._QE = !1 } } else { _4F(_WE) } } } } } function _zE(_mF, _nF, _oF) { if (_4h == _5h) { g_WebAudioContext.listener.setPosition(_mF, _nF, _oF) } } function _AE(_mF, _nF, _oF, _pF, _qF, _rF) { if (_4h == _5h) g_WebAudioContext.listener.setOrientation(_mF, _nF, _oF, _pF, _qF, _rF) } function _sF(e) { if (_4h != _5h) return; var targetid = e.target.targetid; debug("error loading sound" + targetid); if (targetid == undefined) {} else { debug("AudioError: " + this.URL); this.completed = !1; _tF++; ClearEventListeners(this) } } function _uF(e) { if (_4h != _5h) return; var targetid = e.target.targetid; if (_vF) debug("sound loaded" + targetid); if (targetid == undefined) {} else { this.completed = !0; ClearEventListeners(this); try { g_WebAudioContext.decodeAudioData(e.target.response, function(buffer) { var _wF = new _BE(); audio_sampledata[targetid] = _wF; _wF.buffer = buffer; _tF++; var _xF = _Yp._X2[targetid].volume; _wF.gain = _xF; _wF._CE = _xF; _wF._DE = 1.0 }, function(err) { debug("error decoding audio data:" + err); _tF++ }) } catch(_yF) { debug("error decoding audio data: " + _yF.message); _tF++ } } } function _zF(_lz, _Ch, _AF) { var _wF = new _BE(); audio_sampledata[_Ch] = _wF; _wF.buffer = null; var _xF = _Yp._X2[_Ch].volume; _wF._CE = _xF; _wF.gain = _xF; _wF._DE = 1.0; if (_Yp._X2[_Ch].duration != undefined) { _wF.duration = _Yp._X2[_Ch].duration } } function _BF(_lz, _Ch, _AF) { _lz = _CF(_lz); if ((_4h != _5h) || (_DF == !1)) { return undefined } var _EF; var index; index = _lz.indexOf(_AF); if (index >= 0) { _lz = _lz.substr(0, index) } if (_FF) { _AF = "ogg" } else if (_GF) { _AF = "mp3" } else { _AF = "ogg" } _lz = _lz + "." + _AF; var _9y = new XMLHttpRequest(); _9y.open('GET', _lz, !0); _9y.responseType = 'arraybuffer'; _9y.targetid = _Ch; _9y.URL = _lz; _9y.completed = !1; _9y.onload = _uF; _9y.onerror = _sF; _9y.send(); _HF[_Ch] = _9y; return _Ch } var _IF = 0, _JF = 1, _KF = 2, _LF = 3; function _MF(_NF) { if (_Ry._Gh(_NF) == null) return ! 1; return ! 0 } var _OF = _PF; function _PF(_U8, _V8, _W8, _vh, _wh, _Aj, _Bj) { var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); _TF = _Ry._Gh(_U8); _TF._P9++; _QF.width = _TF.width; _QF.height = _TF.height; _RF._UF(canvas, _V8, _W8, _vh, _wh, 0, 0, _QF.width, _QF.height); if (_Aj) { _QF.complete = _Hj(_RF, _vh, _wh) } else { _QF.complete = !0 } _TF._P9++; var _Kj = new _Lj(); _TF._VF[_TF._VF.length] = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _TF.width; _Kj._K3 = _TF.height; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; return _U8 } var _XF = _YF; function _YF(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj, _ZF, __F) { var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); _QF.width = _Fj._Gh(_Ch).width; _QF.height = _Fj._Gh(_Ch).height; _RF._UF(_Fj._Gh(_Ch), 0, 0); if (_Aj) { _QF.complete = _Hj(_RF, _vh, _wh) } else { _QF.complete = !0 } var _TF = new _0G(); var _1G = _Ry._2G(_TF); _TF._Z2 = "surface.copy"; _TF.width = _QF.width; _TF.height = _QF.height; _TF._Iy = new _Iq(); _TF._Iy._q9 = _TF.width; _TF._Iy.bottom = _TF.height; _TF._03 = !0; _TF._13 = !0; _TF.preload = !0; _TF._3G = 0; _TF._4G = !1; _TF._23 = _ZF; _TF._33 = __F; _TF._5G = !0; _TF._P9 = 1; _TF._6G = !1; _TF._7G = !1; _TF._Q9 = []; _TF._VF = []; _TF._8G = []; _TF._9G(); var _Kj = new _Lj(); _TF._VF[0] = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _TF.width; _Kj._K3 = _TF.height; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; _aG(_Kj); return _1G } var _bG = _cG; function _cG(_U8, _Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) { var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); _TF = _Ry._Gh(_U8); _TF._P9++; _QF.width = _TF.width; _QF.height = _TF.height; _RF._UF(_Fj._Gh(_Ch), 0, 0, _vh, _wh, 0, 0, _QF.width, _QF.height); if (_Aj) { _QF.complete = _Hj(_RF, _vh, _wh) } else { _QF.complete = !0 } var _Kj = new _Lj(); _TF._VF[_TF._VF.length] = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _TF.width; _Kj._K3 = _TF.height; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; return _U8 } var _dG = _eG; function _eG(_U8) { var _fG = _Ry._Gh(_U8); if (_fG == null) return 0; var _TF = new _0G(); var _1G = _Ry._2G(_TF); _TF._Z2 = _fG._Z2 + ".copy"; _TF.width = _fG.width; _TF.height = _fG.height; _TF._Iy._yh(_fG._Iy); _TF._03 = _fG._03; _TF._13 = _fG._13; _TF.preload = _fG.preload; _TF._3G = _fG._3G; _TF._4G = _fG._4G; _TF._23 = _fG._23; _TF._33 = _fG._33; _TF._5G = !0; _TF._P9 = _fG._P9; _TF._gG = _fG._gG; _TF._6G = _fG._6G; _TF._7G = _fG._7G; _TF._Q9 = []; _TF._VF = []; _TF._8G = []; for (var _H3 = 0; _H3 < _fG._P9; _H3++) { var _Kj = new _Lj(); _TF._VF[_H3] = _Kj; _Kj._5G(_fG._VF[_H3]); var _hG = _iG(_fG._VF[_H3]); _Kj._y5 = _WF(_hG); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._Ga = _Ha[_Kj._y5] } return _1G } function _jG(_kG, _lG, _mG, _nG, _ud, _oG) { var _J3 = _lG._w5; var _K3 = _lG._x5; var _pG = []; var _qG = _K3 * _J3; for (__9 = 0; __9 < _qG; __9++) _pG[__9] = !1; if (_ud == _IF) { var _rG = _sG(_lG); var index = 0; for (var _H3 = 0; _H3 < _rG.length; _H3 += 4) { if (_rG[_H3 + 3] > _oG) { _pG[index] = !0 } else { _pG[index] = !1 } index++ } } else { switch (_ud) { case _JF: { for (var _g3 = _nG.top; _g3 <= _nG.bottom; _g3++) { for (var _f3 = _nG.left; _f3 <= _nG._q9; _f3++) { _pG[_f3 + (_g3 * _J3)] = !0 } } break } case _KF: { var _ga = (_nG.left + _nG._q9) / 2; var _Yb = _ga - _nG.left + 0.5; var _ha = (_nG.top + _nG.bottom) / 2; var _Zb = _ha - _nG.top + 0.5; for (var _g3 = _nG.top; _g3 <= _nG.bottom; _g3++) { for (var _f3 = _nG.left; _f3 <= _nG._q9; _f3++) { if ((_Yb > 0) && (_Zb > 0)) { _pG[_f3 + (_g3 * _J3)] = _ka((_f3 - _ga) / _Yb) + _ka((_g3 - _ha) / _Zb) < 1 } } } break } case _LF: { var _ga = (_nG.left + _nG._q9) / 2; var _Yb = _ga - _nG.left + 0.5; var _ha = (_nG.top + _nG.bottom) / 2; var _Zb = _ha - _nG.top + 0.5; for (var _g3 = _nG.top; _g3 <= _nG.bottom; _g3++) { for (var _f3 = _nG.left; _f3 <= _nG._q9; _f3++) { if ((_Yb > 0) && (_Zb > 0)) { _pG[_f3 + (_g3 * _J3)] = Math.abs((_f3 - _ga) / _Yb) + Math.abs((_g3 - _ha) / _Zb) < 1 } } } break } } } if (_kG != null) { for (var _H3 = 0; _H3 < _pG.length; _H3++) { if (_kG[_H3]) _pG[_H3] = !0 } } return _pG } function _tG(_uG, _vG) { if (_MF(_uG)) { var _wG = _Ry._Gh(_uG); var _Kj = _wG._xG(~~_vG); if (_Kj) { return ({ _vd: _Kj._Ga, _Ld: _Kj }) } } return null } function _Nq(_Dh) { return String.fromCharCode(_Dh) } function _yG(_Xr) { if (!_Xr || _Xr == "") return 0; return _Xr.charCodeAt(0) } function _sy(_Xr) { if (_Xr == undefined) { return 0 } else if (typeof(_Xr) == "boolean") { if (_Xr) return 1; else return 0; } else if (typeof(_Xr) == "number") { return _Xr } return parseFloat(_Xr) } function _zG(_7i) { if (_7i == undefined) { return "undefined" } if (_7i instanceof Array) { var _Nh = "{"; for (var _H3 = 0; _H3 < _7i.length; ++_H3) { if (_H3 != 0) _Nh += ","; _Nh += _zG(_7i[_H3]) } _Nh += "}"; return _Nh } else if (typeof(_7i) == "number") { if ((~~_7i) != _7i) { return _7i.toFixed(2).toString() } else { return _7i.toString() } } else if (typeof(_7i) == "boolean") { if (_7i) return "1"; else return "0" } else { return _7i.toString() } } var _AG = []; function _BG(_CG) { debug("myBrandConnectReadyEvent"); _AG = _CG } function _DG() { _sq() } function _EG() { _FG = !0; debug("myBrandConnectDoneEvent") } function _GG() { var _HG = document.getElementById("ssaBrandConnectInterstitial"); var _IG = document.getElementById("gm4html5_div_id"); _IG.appendChild(_HG); _gq() } var _JG = !1; var _FG = !1; var ssa_json = { 'applicationUserId': '1234', 'applicationKey': '2b46ec59', 'onCampaignsReady': _BG, 'onCampaignsDone': _EG, 'onCampaignClose': _DG, 'onCampaignOpen': _GG, 'maxWidth': 1000, 'maxHeight': 700, }; var _KG = (function(_mk, _V9) { var _jb = _mk.createElement(_V9), _9q = _mk.getElementsByTagName(_V9)[0]; _jb._7r = !0; _jb.src = ('https:' != location.protocol ? 'http://jsd.supersonicads.com': 'https://a248.e.akamai.net/ssastatic.s3.amazonaws.com') + '/inlineDelivery/delivery.min.gz.js'; _9q.parentNode.insertBefore(_jb, _9q) }); var _LG = ads_engagement_launch; function ads_engagement_launch(_MG, _NG) { if (SSA_CORE != undefined) SSA_CORE.BrandConnect.engage(); } var _OG = []; _PG = _QG; function _QG(_Ch, _vh, _wh) { if (_Ch == _RG) { _SG = !0; _TG = _vh; _UG = _wh; return 1 } if (!_VG(_Ch)) { _Xg("Surface does not exist"); return 0 } _Dj(_vh, _wh, _Ch); return 0 } _Dj = _WG; function _WG(_vh, _wh, _XG) { var _Tj = document.createElement(_cq); _Tj._Od = _Tj.width = _vh; _Tj._Pd = _Tj.height = _wh; _Tj.complete = !0; _Tj._YG = !1; _Tj.name = ""; _Tj._yb = _Tj.getContext('2d'); _SF(_Tj._yb); var _Kj = new _Lj(); _Tj._ZG = _Kj; _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _vh; _Kj._K3 = _wh; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; if (_XG != undefined) { _Fj._gi(_XG, _Tj); _Kj._y5 = _XG } else { _Kj._y5 = _Fj._Wh(_Tj) } _Kj._Ga = _Tj; _Kj._Da = []; _Kj._Ea = 0; _Kj._Fa = 4; _Kj.__G = 0; _Kj._0H = null; _Kj._QF = _Tj; return _Kj._y5 } var _1H = _2H; function _2H(_Ch) { _Fj._di(_Ch) } function _VG(_Ch) { if (_Fj._Gh(_Ch) != null) return ! 0; else return ! 1 } function _3H(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { return _Tj._Od } return 0 } function _4H(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { return _Tj._Pd } return 0 } _5H = _6H; function _6H(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _yb._Lu(); _OG.push(_yb); _Tj._yb._7H = _Ch; _yb = _Tj._yb; _8H = !1 } } var _9H, _aH, _bH, _cH; var _dH = _eH; function _eH(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _fH.left = _gH.left; _fH.top = _gH.top; _fH._q9 = _gH._q9; _fH.bottom = _gH.bottom; _gH.left = 0; _gH.top = 0; _gH._q9 = _Tj._Od; _gH.bottom = _Tj._Pd; _hH._yh(_iH); _iH._jH = 0; _iH._kH = 0; _iH._lH = _Tj._Od; _iH._mH = _Tj._Pd; _iH._nH = 0; _iH._oH = 0; _iH._pH = _Tj._Od; _iH._qH = _Tj._Pd; _iH._Qg = 0; _iH._Sg = 0; _iH._rH = _Tj._Od; _iH._sH = _Tj._Pd; _iH._Rg = _iH._Qg + _iH._rH; _iH._Tg = _iH._Sg + _iH._sH; _yb._Lu(); _OG.push(_yb); _9H = _Ou; _aH = _Pu; _bH = _Qu; _cH = _Ru; _tH(0, 0, _Tj._Od, _Tj._Pd); _uH(0, 0, _Tj._Od, _Tj._Pd); g_CurrentGraphics = _Tj._yb; _yb = _Tj._yb; _yb._Lu(); _8H = !0 } } var _vH = _wH; function _wH() { if (_8H) { _gH = _fH; _iH._yh(_hH); _tH(_9H, _aH, _bH, _cH); _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH); _yb._Su() } var _xH = _OG.pop(); _yb = _xH ? _xH: _yH; g_CurrentGraphics = _yb; _yb._Su() } function _cw(_zH, _V8, _W8) { var data = null; var _Gj = _zH.getContext('2d'); try { data = _Gj._AH(_V8, _W8, 1, 1) } catch(_yF) { return 0xff000000 } _BH = data.data; var index = 0; var _CH = _BH[index] & 0xff; var _DH = _BH[index + 1] & 0xff; var _EH = _BH[index + 2] & 0xff; var _FH = _BH[index + 3] & 0xff; return (_CH | (_DH << 8) | (_EH << 16) | (_FH << 24)) } var _GH = _HH; var _IH = _JH; function _HH(_Ch, _V8, _W8) { return _JH(_Ch, _V8, _W8) & 0xffffff } function _JH(_Ch, _V8, _W8) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { return _cw(_Tj, _Xi(_V8), _Xi(_W8)) } return 0x00000000 } var _KH = _LH; function _LH(_Ch, _V8, _W8) { var _Tj = _Fj._Gh(_Ch); if (!_Tj) return; _V8 = ~~_V8; _W8 = ~~_W8; var alpha = _yb.globalAlpha; { _yb.globalAlpha = _Ad; _yb._UF(_Tj, _V8, _W8) } _yb.globalAlpha = alpha } function _MH(_Ch, _V8, _W8, _vh, _wh) { var _Tj = _Fj._Gh(_Ch); if (!_Tj) return; _NH(_Tj._ZG, _V8, _W8, _vh, _wh, 0xffffff, 1.0) } var _OH = _PH; function _PH(_Ch, _V8, _W8, __l, _0m, _QH, _Gd) { _nc("draw_surface_tiled_ext()") } function _RH(_SH, _V8, _W8, _TH) { var _Ej = _Fj._Gh(_SH); var _Qj = _Fj._Gh(_TH); if (_Ej != null && _Qj != null) { var _Gj = _Ej.getContext('2d'); _Gj.save(); _Gj.globalCompositeOperation = 'copy'; _Gj.drawImage(_Qj, _V8, _W8); _Gj.restore() } } function _UH(_SH, _V8, _W8, _TH, _VH, _WH, _XH, _YH) { var _Ej = _Fj._Gh(_SH); var _Qj = _Fj._Gh(_TH); if (_Ej != null && _Qj != null) { var _Mu = []; var _Gj = _Ej.getContext('2d'); _Gj.save(); _Mu[0] = 1; _Mu[1] = 0; _Mu[2] = 0; _Mu[3] = 1; _Mu[4] = 0; _Mu[5] = 0; _Gj.setTransform(_Mu[0], _Mu[1], _Mu[2], _Mu[3], _Mu[4], _Mu[5]); _Gj.beginPath(); _Gj.rect(_V8, _W8, _XH, _YH); _Gj.clip(); _Gj.globalCompositeOperation = 'copy'; _Gj.drawImage(_Qj, _VH, _WH, _XH, _YH, _V8, _W8, _XH, _YH); _Gj.restore() } } function _97(_lt, _ZH, __H, _V8, _W8) { if (__H < 0) __H = ~~_lt._L7; var _fG = _Ry._Gh(_ZH); if (_fG != null) { _fG._0I(__H, _V8, _W8, _Ad) } } function _1I(_2I, _3I) { if (_2I) { if (_3I === undefined) { canvas.style.cursor = "" } else { canvas.style.cursor = _3I } } else { canvas.style.cursor = "none" } } function _4I(_Cd) { _5I = _Dd(_Cd) } var _6I = _4I; function _7I() { return _Dd(_5I) } var _8I = _7I; function _T6(_V8, _W8) { var _9I = document.getElementById(_cq); var _aI = _9I; for (var _aI = _9I; _aI; _aI = _aI.parentNode) { var position; if (_aI["currentStyle"]) { position = _aI["currentStyle"]["position"] } else if (window.getComputedStyle) { try { var style = window.getComputedStyle(_aI, null); if (style) { position = style.getPropertyValue("position") } } catch(e) {} } if (position && (position == "fixed")) { debug("Warning: Canvas position fixed. Ignoring position alterations"); return } } _9I.style.position = "absolute"; _9I.style.left = _V8 + "px"; _9I.style.top = _W8 + "px" } function _U6(_vh, _wh) { canvas.width = _vh; canvas.height = _wh; _9w = _vh; _bw = _wh; _bI = canvas.width; _cI = canvas.height; _Og(canvas, _Pg); _dI = _Pg.top; _eI = _Pg.left; _fI = _Pg._q9; _gI = _Pg.bottom; _hI = _bI; _iI = _cI; _jI = _vh; _kI = _wh; _lI = 1; _mI = 1 } function _nI(_V8, _W8, _vh, _wh) { _U6(_vh, _wh); _T6(_V8, _W8) } function _oI() { return _fI - _eI } function _pI() { return _gI - _dI } var _qI; var _rI; var _sI; var _tI; var _uI; var _vI; var _wI; var _xI; var _yI; var _zI; var _AI; var _BI; var _CI = 0; var _DI = 1, _EI = 2, _FI = 3, _GI = 4, _HI = 5, _II = 6; var _JI = aa_1241_kz(); function aa_1241_kz() { return 0x87155211 } function _KI() { var _LI = null; if (window.XMLHttpRequest) { _LI = new XMLHttpRequest() } if (typeof(XMLHttpRequest) == "undefined") { _LI = function() { try { return new ActiveXObject("Msxml2.XMLHTTP.6.0") } catch(e) {} try { return new ActiveXObject("Msxml2.XMLHTTP.3.0") } catch(e) {} try { return new ActiveXObject("Msxml2.XMLHTTP") } catch(e) {} throw new _Xg("This browser does not support XMLHttpRequest.") } } this._MI = _LI; this._NI = !1 } var _OI = new _KI(); function _PI() {} var _QI = _RI; function _RI(_2I) {} var _SI = _TI; function _TI() { return ! 1 } var _UI = _VI; function _VI() {} var _WI = _XI; function _XI() {} var _YI = _ZI; function _ZI() {} var __I = _0J; function _0J() {} var _1J = _2J; function _2J() {} var _3J = _4J; function _4J() {} var _5J = _6J; function _6J() {} var _7J = _8J; function _8J() {} var _9J = _aJ; function _aJ() {} var _bJ = _cJ; function _cJ() {} var _dJ = _eJ; function _eJ() {} var _fJ = _gJ; function _gJ() { return - 1 } var _hJ = _iJ; function _iJ() {} var _jJ = _kJ; function _kJ() {} var _lJ = _mJ; function _mJ() {} var _nJ = _oJ; function _oJ() { return _pJ } function _qJ() { return _rJ } function _sJ() { return _yz } function _tJ() { return _uJ } var _vJ = _wJ; function _wJ(_lz, _xJ, _yJ) { if (_xJ != "_self" && _xJ != "_blank" && _xJ != "_parent" && _xJ != "_top") { _Xg("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)"); return } var _Is = window.open(_lz, _xJ, _yJ) } var _zJ = _AJ; function _AJ(_lz, _xJ) { _vJ(_lz, _xJ, "scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes") } var _BJ = _CJ; function _CJ(_lz) { _zJ(_lz, "_self") } var _DJ = _EJ; function _EJ(_FJ, _GJ) {} var _HJ = _IJ; function _IJ(_FJ, _JJ) {} var _KJ = null; var _LJ = null; var _MJ = _NJ; function _NJ(_f3, _g3, _ju) { if (_MJ) { _MJ(_f3, _g3, _ju) } } function ads_engagement_launch() { _nc("ads_engagement_launch()") } var _OJ = _PJ; function _PJ(__p, _QJ, _RJ, _SJ) {} var _TJ = _6j; function _6j() { var _V9 = new Date().getTime() * 1000; return _V9 - _qI; } var _UJ = _VJ; function _VJ(_V8, _W8, _vh, _wh, _WJ) { var _XJ = _YJ(); _XJ._f3 = _V8; _XJ._g3 = _W8; _XJ._J3 = _vh; _XJ._K3 = _wh; _XJ._pz = _WJ; _XJ._I9 = _V8 + _vh; _XJ._J9 = _W8 + _wh; _XJ.button = _XJ._vb = _XJ._xb = 0; _XJ._ZJ = __J; return (_XJ.index + 1) } var _0K = _1K; function _1K(_Ch) { if (_Ch < 0) return; var index = _Ch - 1; if ((index < 0) || (index >= _2K.length)) { debug("Invalid index when deleting virtual key") } _3K(_Ch - 1) } function _4K() { _5K = []; for (var _R9 = 0; _R9 < _2K.length; ++_R9) { var _6K = _2K[_R9]; if ((_6K._ZJ & _7K) != 0) _5K[_5K.length] = _6K } } var _8K = _9K; function _9K(_Ch) { if (_Ch < 0) return; _Ch--; if (!_2K[_Ch]) return; _2K[_Ch]._ZJ |= _7K; _4K() } var _aK = _bK; function _bK(_Ch) { if (_Ch < 0) return; _Ch--; if (!_2K[_Ch]) return; _2K[_Ch]._ZJ &= ~_7K; _4K() } var _cK = _dK; function _dK() { return 0 } var _eK = _fK; function _fK() { return 0 } var _gK = _hK; function _hK() { return 0 } var _iK = _jK; function _jK() { _2q("device_ios_get_imagename()") } var _kK = _lK; function _lK() { _2q("device_ios_get_image()") } var _mK = _nK; function _nK() { _2q("openfeint_start()") } var _oK = _pK; function _pK(_Hz, _Kz) { _2q("achievement_map_achievement()") } var _qK = _rK; function _rK(_Hz, _Kz, _sK) { _2q("achievement_map_leaderboard()") } var _tK = _uK; function _uK(_Hz, _Kz, _sK) { _2q("openfeint_send_challenge()") } var _vK = _wK; function _wK(_Hz) { _2q("openfeint_send_invite()") } var _xK = _yK; function _yK(_Hz, _Kz, _sK) { _2q("openfeint_send_social()") } var _zK = _AK; function _AK(_Hz) { _2q("openfeint_set_url()") } var _BK = _CK; function _CK() { _2q("openfeint_accept_challenge()"); return "" } var _DK = _EK; function _EK() { _2q("achievement_is_online()"); return ! 1 } var _FK = _GK; function _GK(_Hz, _Kz) { _2q("openfeint_send_result()") } var _HK = _IK; function _IK() { return ! 1 } function _JK() { _qI = new Date().getTime() * 1000; var _V9 = 0; for (var _H3 = 0; _H3 < 12; _H3++) { _up[_H3] = _V9; _V9 += _tp[_H3] } _rI = 0; _sI = 1; _tI = 2; _uI = 3; _vI = 4; _wI = 5; _xI = 0; _yI = 1; _zI = 2; _AI = 0; _BI = 1 } function _KK() { var _V9 = setTimeout(function() { for (var _LK in _Ry._Y2) { if (!_Ry._Y2.hasOwnProperty(_LK)) continue; _Ry._MK(_LK); break } _KK() }, 1000) } var _NK = _OK; function _OK() { return document.domain } function _PK(_QK, _RK) { for (var _SK in _QK) { var _TK = _QK[_SK]; if (_TK instanceof Array) { var _UK = _Sh(); _Zh(_RK, _UK); _PK(_TK, _UK) } else if (typeof(_TK) == "object") { var _VK = _9i(); _Zh(_RK, _VK); _Cr(_TK, _VK) } else if (typeof(_TK) == "string") { _Zh(_RK, _TK) } } } function _Cr(_Ja, _wr) { for (var _yr in _Ja) { if (_Ja.hasOwnProperty(_yr)) { var _TK = _Ja[_yr]; if (_TK instanceof Array) { var _WK = _Sh(); _ji(_wr, _yr, _WK); _PK(_TK, _WK) } else if (typeof(_TK) == "object") { var _XK = _9i(); _ji(_wr, _yr, _XK); _Cr(_TK, _XK) } else if (typeof(_TK) == "string") { _ji(_wr, _yr, _TK) } } } } var _YK = _ZK; function _ZK() {} var __K = _0L; var _0r = _Qq; function _0L() { return _0r } var _1L = _pr; var _2L = _sr; var _3L = _Dr; var _4L = _5L; function _5L() { if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") { if (typeof(g_fbOAuthToken) != "undefined") { if (g_fbOAuthToken != null) { var _dr = 'https://www.facebook.com/logout.php?access_token=' + g_fbOAuthToken + '&app_id=' + _Yp._A5._nr + '&next=http://www.yoyogames.com/facebook/wordsong/index.html'; var _er = new XMLHttpRequest(); _er.open('GET', _dr); _er.send(null); g_fbOAuthToken = null; _0r = 'UNINITIALISED' } } } else { debug("facebook_logout"); FB.logout(function(response) { if (response.status != 'connected') { _0r = _Qq; __q = ""; g_fbOAuthToken = "" } }) } return 0 } var _6L = _7L; function _7L(_8L, _9L) { if (_8L == 0) { return _6z(_9L) } else { if (_1h[_8L] && (_9L <= 1)) { return _1h[_8L]._nf } } return 0 } var _aL = _bL; function _bL(_8L, _9L) { if (_8L == 0) { return _8z(_9L) } else { if (_1h[_8L] && (_9L <= 1)) { return _1h[_8L]._if } } return 0 } var _cL = _dL; function _dL(_8L, _9L) { if (_8L == 0) { return _9z(_9L); } else { if (_1h[_8L] && (_9L <= 1)) { return _1h[_8L]._mf } } return 0 } var _eL = _fL; function _fL(_8L) { if (_8L == 0) { return _w6._h7 } else if (_1h[_8L]) { return _1h[_8L]._f3 } return 0 } var _gL = _hL; function _hL(_8L) { if (_8L == 0 && _iL[0]) { return _iL[0]._f3 } else if (_1h[_8L]) { return _1h[_8L]._f3 } return 0 } var _jL = _kL; function _kL(_8L) { if (_8L == 0) { return _w6._lL } else if (_1h[_8L]) { return _1h[_8L]._g3 } return 0 } var _mL = _nL; function _nL(_8L) { if (_8L == 0 && _iL[0]) { return _iL[0]._g3 } else if (_1h[_8L]) { return _1h[_8L]._g3 } return 0 } var _oL = _pL; function _pL() { return _qL } var _rL = _sL; function _sL() { return _tL }; function _uL() { var _yA = 0; var _zA = 0; var _vL = 0; var _wL = 0; canvas = document.getElementById(_cq); var _xL = _bI; var _yL = _cI; if (_zL && _AL) { var _J3 = _BL; var _K3 = _CL; var _tl, _ja, _ia; _tl = _J3 / _K3; _ja = _xL / _tl; if (_ja < _yL) { _tl = _K3 / _J3; _ja = _xL * _tl; _zA = (_yL - _ja) / 2; _ia = _xL; _ja += _zA } else { _tl = _J3 / _K3; _ia = _yL * _tl; _yA = (_xL - _ia) / 2; _ja = _yL; _ia += _yA } _vL = _ia; _wL = _ja } else { _vL = _xL; _wL = _yL } _DL._f3 = _yA; _DL._g3 = _zA; _DL._J3 = _vL - _yA; _DL._K3 = _wL - _zA } (function() { 'use strict'; Function.prototype._EL = function(parent) { this.prototype.parent = parent; for (var _f3 in parent.prototype) { if (!this.prototype[_f3]) this.prototype[_f3] = parent.prototype[_f3] } }; Function.prototype._FL = function(parent) { return this._EL(parent) }; Array.prototype._GL = function(_z3, _Xp, _HL) { if (typeof(_z3) === 'undefined') _z3 = 0; if (typeof(_Xp) === 'undefined') _Xp = this.length - _z3; if (typeof(_HL) === 'undefined') _HL = function(_kb, _W9) { return _kb < _W9 }; var left = _z3, _Gi = [], _Hn = 0; for (;;) { for (; left + 1 < _Xp; _Xp++) { var _IL = this[left + Math.floor(Math.random() * (_Xp - left))]; _Gi[_Hn++] = _Xp; for (var _q9 = left - 1;;) { while (_HL(this[++_q9], _IL)) {} while (_HL(_IL, this[--_Xp])) {} if (_q9 >= _Xp) break; var _Fv = this[_q9]; this[_q9] = this[_Xp]; this[_Xp] = _Fv } } if (_Hn === 0) break; left = _Xp; _Xp = _Gi[--_Hn] } return this }; Array.prototype._JL = function(_KL, length) { if (typeof(length) === 'undefined') length = this.length; var _R9 = 0; for (var _I3 = 0; _I3 < length; ++_I3) { if (_KL(this[_I3])) continue; if (_I3 === _R9) {++_R9; continue } this[_R9++] = this[_I3] } return _R9 }; Array.prototype._LL = function(_z3, _A3, _cf, _HL) { if (typeof(_HL) === 'undefined') _HL = function(_kb, _W9) { return _kb < _W9 }; var _Ea = _A3 - _z3; while (_Ea > 0) { var _ML = Math.floor(_Ea / 2); var _NL = _z3 + _ML; if (_HL(this[_NL], _cf)) { _z3 = ++_NL; _Ea -= _ML + 1 } else _Ea = _ML } return _z3 }; Array.prototype._OL = function(_z3, _A3, _cf, _HL) { if (typeof(_HL) === 'undefined') _HL = function(_kb, _W9) { return _kb < _W9 }; var _Ea = _A3 - _z3; while (_Ea > 0) { var _ML = Math.floor(_Ea / 2); var _NL = _z3 + _ML; if (!_HL(_cf, this[_NL])) { _z3 = ++_NL; _Ea -= _ML + 1 } else _Ea = _ML } return _z3 }; Array.prototype.rotate = function(_z3, _PL, _A3) { var _ni = _PL; while (_z3 != _ni) { var _QL = this[_z3]; this[_z3] = this[_ni]; this[_ni] = _QL; ++_z3; ++_ni; if (_ni === _A3) _ni = _PL; else if (_z3 === _PL) _PL = _ni } }; var _RL = (function() { if (typeof(_SL) === 'undefined') window['performance'] = { now: function() { return + new Date() } }; function _TL(name, parent) { this.name = name; this.parent = parent; this._UL = {}; this._VL = 0; this._WL = 0; this._XL = 0; this._YL = !1; this._ZL = 0 } _TL.prototype = { start: function() { this._VL = _SL.now(); this._YL = !0 }, stop: function(__L) { if (!this._YL) return; this._YL = !1; this._WL += _SL.now() - this._VL; if (__L) this.start(); for (var _f3 in this._UL) this._UL[_f3].stop(); }, __L: function(_0M) { if (!_0M) { this._YL = !0; this._XL += this._WL; this.start() } this._WL = 0; for (var _f3 in this._UL) this._UL[_f3].__L(!0) } }; var _1M = []; var _19 = new _TL("root"); function _2M(name, parent) { if (!_1M) throw new _Xg("late profile creation not allowed"); var _9q = new _TL(name, parent || 'root'); _1M.push(_9q); return _9q } function _3M(_4M) { _4M._ZL--; delete _4M._UL[_4M.name] } function _5M(_aI, _4M) { if (_aI.name === _4M.parent) return _aI; for (var _f3 in _aI._UL) { var _C9; if (_C9 = _5M(_aI._UL[_f3], _4M)) return _C9 } return null } function init() { while (_1M.length) { var _mv = _1M.pop(); if (! (_mv.parentNode = _5M(_19, _mv))) _1M._6M(_mv); else { _mv.parentNode._UL[_mv.name] = _mv; _mv.parentNode._ZL++ } } _1M = null } function _7M() { _19.__L(!0) } var _Nh = { _2M: _2M, _3M: _3M, init: init, __L: _7M, _8M: _19 }; return _Nh } ()); function _9M(_aM) { if (!_aM) { console.log("Assertion failed! Pls debug."); _bM } } var _cM = Number.MAX_VALUE; var _dM = 2.2204460492503131e-016; var _eM = Math.PI; var _fM = 2; var _gM = 8; var _hM = 0.1; var _iM = 2.0; var _jM = 0.005; var _kM = (2.0 / 180.0 * _eM); var _lM = (2.0 * _jM); var _mM = 8; var _nM = 32; var _oM = 1.0; var _pM = 0.2; var _qM = (8.0 / 180.0 * _eM); var _rM = 2.0; var _sM = (_rM * _rM); var _tM = (0.5 * _eM); var _uM = (_tM * _tM); var _vM = 0.2; var _wM = 0.75; var _xM = 0.5; var _yM = 0.01; var _zM = (2.0 / 180.0 * _eM); var _AM = ( - 1); var _BM = 0.75; var _CM = 1.0; var _DM = 5.0; var _EM = 2; var _FM = (_EM * _EM); var _GM = 256; function _HM(_IM, _JM, _KM) { this._LM = _IM; this._MM = _JM; this._NM = _KM } _HM.prototype = { toString: function() { return this._LM + '.' + this._MM + '.' + this._NM } }; var _OM = new _HM(2, 3, 1); function _PM(_f3) { return isFinite(_f3) && !isNaN(_f3) } var _QM = Math.sqrt; var _RM = Math.atan2; var _SM = Math.sin; var _TM = Math.cos; var _UM = Math.floor; var _VM = Math.ceil; var _WM = _QM; var _XM = _RM; function _YM(_f3) { return 1.0 / _QM(_f3) } function _ZM(_f3, _g3) { if (typeof(_f3) !== 'undefined') { this._f3 = _f3; this._g3 = _g3 } else this._f3 = this._g3 = 0 } _ZM.prototype = { _u8: function() { return new _ZM(this._f3, this._g3) }, __M: function() { this._f3 = 0.0; this._g3 = 0.0; return this }, _gi: function(_0N, _1N) { this._f3 = _0N; this._g3 = _1N; return this }, _2N: function(_R9) { this._f3 = _R9._f3; this._g3 = _R9._g3; return this }, _3N: function() { var _xb = new _ZM(); _xb._gi( - this._f3, -this._g3); return _xb }, _4N: function(_H3) { switch (_H3) { case 0: return this._f3; case 1: return this._g3 } }, _5N: function(_H3, _xb) { switch (_H3) { case 0: return this._f3 = _xb; case 1: return this._g3 = _xb } }, _Wh: function(_xb) { this._f3 += _xb._f3; this._g3 += _xb._g3; return this }, _6N: function(_xb) { this._f3 -= _xb._f3; this._g3 -= _xb._g3; return this }, _Vo: function(_kb) { this._f3 *= _kb; this._g3 *= _kb; return this }, _7N: function() { return _WM(this._f3 * this._f3 + this._g3 * this._g3) }, _8N: function() { return this._f3 * this._f3 + this._g3 * this._g3 }, _9N: function() { var length = this._7N(); if (length < _dM) { return 0.0 } var _aN = 1.0 / length; this._f3 *= _aN; this._g3 *= _aN; return length }, _bN: function() { return _PM(this._f3) && _PM(this._g3) }, _cN: function() { return new _ZM( - this._g3, this._f3) }, _dN: function(_eN) { var _xr = _eN || []; _xr[0] = this._f3; _xr[1] = this._g3; return _xr }, _fN: function(data) { this._f3 = data[0]; this._g3 = data[1] } }; _ZM._Wh = function(_kb, _W9) { return new _ZM(_kb._f3 + _W9._f3, _kb._g3 + _W9._g3) }; _ZM._6N = function(_kb, _W9) { return new _ZM(_kb._f3 - _W9._f3, _kb._g3 - _W9._g3) }; _ZM._gN = function(_kb, _W9) { return _kb._f3 == _W9._f3 && _kb._g3 == _W9._g3 }; _ZM._Vo = function(_9q, _kb) { return new _ZM(_9q * _kb._f3, _9q * _kb._g3) }; _ZM._3N = function(_kb) { return new _ZM( - _kb._f3, -_kb._g3) }; function _hN(_f3, _g3, _Cc) { if (typeof(_f3) !== 'undefined') { this._f3 = _f3; this._g3 = _g3; this._Cc = _Cc } } _hN.prototype = { _u8: function() { return new _hN(this._f3, this._g3, this._Cc) }, __M: function() { this._f3 = 0.0; this._g3 = 0.0; this._Cc = 0.0 }, _gi: function(_0N, _1N, _iN) { this._f3 = _0N; this._g3 = _1N; this._Cc = _iN }, _3N: function() { var _xb = new _hN(); _xb._gi( - this._f3, -this._g3, -this._Cc); return _xb }, _Wh: function(_xb) { this._f3 += _xb._f3; this._g3 += _xb._g3; this._Cc += _xb._Cc }, _6N: function(_xb) { this._f3 -= _xb._f3; this._g3 -= _xb._g3; this._Cc -= _xb._Cc }, _Vo: function(_9q) { this._f3 *= _9q; this._g3 *= _9q; this._Cc *= _9q }, _f3: 0, _g3: 0, _Cc: 0 }; _hN._Vo = function(_9q, _kb) { return new _hN(_9q * _kb._f3, _9q * _kb._g3, _9q * _kb._Cc) }; _hN._Wh = function(_kb, _W9) { return new _hN(_kb._f3 + _W9._f3, _kb._g3 + _W9._g3, _kb._Cc + _W9._Cc) }; _hN._6N = function(_kb, _W9) { return new _hN(_kb._f3 - _W9._f3, _kb._g3 - _W9._g3, _kb._Cc - _W9._Cc) }; function _jN(_kN, _lN) { this._yF = _kN ? _kN._u8() : new _ZM(); this._mN = _lN ? _lN._u8() : new _ZM() } _jN.prototype = { _gi: function(_kN, _lN) { this._yF._2N(_kN); this._mN._2N(_lN) }, _2N: function(_fp) { this._yF._2N(_fp._yF); this._mN._2N(_fp._mN) }, _nN: function() { this._yF._f3 = 1.0; this._mN._f3 = 0.0; this._yF._g3 = 0.0; this._mN._g3 = 1.0 }, __M: function() { this._yF._f3 = 0.0; this._mN._f3 = 0.0; this._yF._g3 = 0.0; this._mN._g3 = 0.0 }, _oN: function() { var _kb = this._yF._f3, _W9 = this._mN._f3, _I3 = this._yF._g3, _mk = this._mN._g3; var _pN = new _jN(); var _qN = _kb * _mk - _W9 * _I3; if (_qN != 0.0) { _qN = 1.0 / _qN } _pN._yF._f3 = _qN * _mk; _pN._mN._f3 = -_qN * _W9; _pN._yF._g3 = -_qN * _I3; _pN._mN._g3 = _qN * _kb; return _pN }, _rN: function(_W9) { var _sN = this._yF._f3, _tN = this._mN._f3, _uN = this._yF._g3, _vN = this._mN._g3; var _qN = _sN * _vN - _tN * _uN; if (_qN != 0.0) { _qN = 1.0 / _qN } var _f3 = new _ZM(); _f3._f3 = _qN * (_vN * _W9._f3 - _tN * _W9._g3); _f3._g3 = _qN * (_sN * _W9._g3 - _uN * _W9._f3); return _f3 } }; _jN._Wh = function(_aM, _pN) { return new _jN(_ZM._Wh(_aM._yF, _pN._yF), _ZM._Wh(_aM._mN, _pN._mN)) }; function _wN(_kN, _lN, _xN) { this._yF = _kN ? _kN._u8() : new _hN(); this._mN = _lN ? _lN._u8() : new _hN(); this._yN = _xN ? _xN._u8() : new _hN() } _wN.prototype = { __M: function() { this._yF.__M(); this._mN.__M(); this._yN.__M() }, _zN: function(_W9) { var _qN = _AN(this._yF, _BN(this._mN, this._yN)); if (_qN != 0.0) { _qN = 1.0 / _qN } var _f3 = new _hN(); _f3._f3 = _qN * _AN(_W9, _BN(this._mN, this._yN)); _f3._g3 = _qN * _AN(this._yF, _BN(_W9, this._yN)); _f3._Cc = _qN * _AN(this._yF, _BN(this._mN, _W9)); return _f3 }, _CN: function(_W9) { var _sN = this._yF._f3, _tN = this._mN._f3, _uN = this._yF._g3, _vN = this._mN._g3; var _qN = _sN * _vN - _tN * _uN; if (_qN != 0.0) { _qN = 1.0 / _qN } var _f3 = new _ZM(); _f3._f3 = _qN * (_vN * _W9._f3 - _tN * _W9._g3); _f3._g3 = _qN * (_sN * _W9._g3 - _uN * _W9._f3); return _f3 }, _DN: function(_EN) { var _kb = this._yF._f3, _W9 = this._mN._f3, _I3 = this._yF._g3, _mk = this._mN._g3; var _qN = _kb * _mk - _W9 * _I3; if (_qN != 0.0) { _qN = 1.0 / _qN } _EN._yF._f3 = _qN * _mk; _EN._mN._f3 = -_qN * _W9; _EN._yF._Cc = 0.0; _EN._yF._g3 = -_qN * _I3; _EN._mN._g3 = _qN * _kb; _EN._mN._Cc = 0.0; _EN._yN._f3 = 0.0; _EN._yN._g3 = 0.0; _EN._yN._Cc = 0.0 }, _FN: function(_EN) { var _qN = _AN(this._yF, _BN(this._mN, this._yN)); if (_qN != 0.0) { _qN = 1.0 / _qN } var _sN = this._yF._f3, _tN = this._mN._f3, _GN = this._yN._f3; var _vN = this._mN._g3, _HN = this._yN._g3; var _IN = this._yN._Cc; _EN._yF._f3 = _qN * (_vN * _IN - _HN * _HN); _EN._yF._g3 = _qN * (_GN * _HN - _tN * _IN); _EN._yF._Cc = _qN * (_tN * _HN - _GN * _vN); _EN._mN._f3 = _EN._yF._g3; _EN._mN._g3 = _qN * (_sN * _IN - _GN * _GN); _EN._mN._Cc = _qN * (_GN * _tN - _sN * _HN); _EN._yN._f3 = _EN._yF._Cc; _EN._yN._g3 = _EN._mN._Cc; _EN._yN._Cc = _qN * (_sN * _vN - _tN * _tN) } }; function _JN(_0b, _I3) { if (typeof(_I3) !== 'undefined') { this._9q = _0b; this._I3 = _I3 } else if (typeof(_0b) !== 'undefined') this._gi(_0b) } _JN.prototype = { _u8: function() { return new _JN(this._9q, this._I3) }, _2N: function(_R9) { this._9q = _R9._9q; this._I3 = _R9._I3 }, _gi: function(_f3) { this._9q = _SM(_f3); this._I3 = _TM(_f3) }, _nN: function() { this._9q = 0.0; this._I3 = 1.0 }, _KN: function() { return _XM(this._9q, this._I3) }, _LN: function() { return new _ZM(this._I3, this._9q) }, _MN: function() { return new _ZM( - this._9q, this._I3) }, _9q: 0, _I3: 1 }; function _NN(position, _i5) { this._mv = new _ZM(); this._fu = new _JN(); if (position) { this._mv._2N(position); this._fu._2N(_i5) } } _NN.prototype = { _u8: function() { var _ON = new _NN(this._mv, this._fu); return _ON }, _2N: function(_ON) { this._mv._2N(_ON._mv); this._fu._2N(_ON._fu) }, _nN: function() { this._mv.__M(); this._fu._nN() }, _gi: function(position, _0b) { this._mv._2N(position); this._fu._gi(_0b) } }; function _PN() { this._QN = new _ZM(); this._RN = new _ZM(); this._I3 = new _ZM() } _PN.prototype = { _2N: function(_SN) { this._QN._2N(_SN._QN); this._RN._2N(_SN._RN); this._I3._2N(_SN._I3); this._kb = _SN._kb; this._TN = _SN._TN; this._UN = _SN._UN }, _u8: function() { var _SN = new _PN(); _SN._QN._2N(this._QN); _SN._RN._2N(this._RN); _SN._I3._2N(this._I3); _SN._kb = this._kb; _SN._TN = this._TN; _SN._UN = this._UN; return _SN }, _VN: function(_ON, _WN) { _ON._mv._f3 = ((1.0 - _WN) * this._RN._f3) + (_WN * this._I3._f3); _ON._mv._g3 = ((1.0 - _WN) * this._RN._g3) + (_WN * this._I3._g3); var _0b = (1.0 - _WN) * this._TN + _WN * this._kb; _ON._fu._gi(_0b); _ON._mv._f3 -= _ON._fu._I3 * this._QN._f3 - _ON._fu._9q * this._QN._g3; _ON._mv._g3 -= _ON._fu._9q * this._QN._f3 + _ON._fu._I3 * this._QN._g3 }, _XN: function(alpha) { _9M(this._UN < 1.0); var _WN = (alpha - this._UN) / (1.0 - this._UN); this._RN._Wh(_ZM._Vo(_WN, _ZM._6N(this._I3, this._RN))); this._TN += _WN * (this._kb - this._TN); this._UN = alpha }, _9N: function() { var _YN = 2.0 * _eM; var _mk = _YN * _UM(this._TN / _YN); this._TN -= _mk; this._kb -= _mk }, _TN: 0, _kb: 0, _UN: 0 }; function _ZN(_kb, _W9) { return _kb._f3 * _W9._f3 + _kb._g3 * _W9._g3 } function __N(_kb, _W9) { return _kb._f3 * _W9._g3 - _kb._g3 * _W9._f3 } function _0O(_kb, _9q) { return new _ZM(_9q * _kb._g3, -_9q * _kb._f3); } function _1O(_9q, _kb) { return new _ZM( - _9q * _kb._g3, _9q * _kb._f3) } function _2O(_aM, _xb) { return new _ZM(_aM._yF._f3 * _xb._f3 + _aM._mN._f3 * _xb._g3, _aM._yF._g3 * _xb._f3 + _aM._mN._g3 * _xb._g3) } function _3O(_aM, _xb) { return new _ZM(_ZN(_xb, _aM._yF), _ZN(_xb, _aM._mN)) } function _4O(_kb, _W9) { var _I3 = _ZM._6N(_kb, _W9); return _I3._7N() } function _5O(_kb, _W9) { var _I3 = _ZM._6N(_kb, _W9); return _ZN(_I3, _I3) } function _AN(_kb, _W9) { return _kb._f3 * _W9._f3 + _kb._g3 * _W9._g3 + _kb._Cc * _W9._Cc } function _BN(_kb, _W9) { return new _hN(_kb._g3 * _W9._Cc - _kb._Cc * _W9._g3, _kb._Cc * _W9._f3 - _kb._f3 * _W9._Cc, _kb._f3 * _W9._g3 - _kb._g3 * _W9._f3) } function _6O(_aM, _pN) { return new _jN(_2O(_aM, _pN._yF), _2O(_aM, _pN._mN)) } function _7O(_aM, _pN) { var _kN = new _ZM(_ZN(_aM._yF, _pN._yF), _ZN(_aM._mN, _pN._yF)); var _lN = new _ZM(_ZN(_aM._yF, _pN._mN), _ZN(_aM._mN, _pN._mN)); return new _jN(_kN, _lN) } function _8O(_aM, _xb) { return _hN._Wh(_hN._Wh(_hN._Vo(_xb._f3, _aM._yF), _hN._Vo(_xb._g3, _aM._mN)), _hN._Vo(_xb._Cc, _aM._yN)) } function _9O(_aM, _xb) { return new _ZM(_aM._yF._f3 * _xb._f3 + _aM._mN._f3 * _xb._g3, _aM._yF._g3 * _xb._f3 + _aM._mN._g3 * _xb._g3) } function _aO(_fu, _T9) { var _bO = new _JN(); _bO._9q = _fu._9q * _T9._I3 + _fu._I3 * _T9._9q; _bO._I3 = _fu._I3 * _T9._I3 - _fu._9q * _T9._9q; return _bO } function _cO(_fu, _T9) { var _bO = new _JN(); _bO._9q = _fu._I3 * _T9._9q - _fu._9q * _T9._I3; _bO._I3 = _fu._I3 * _T9._I3 + _fu._9q * _T9._9q; return _bO } function _dO(_fu, _xb) { return new _ZM(_fu._I3 * _xb._f3 - _fu._9q * _xb._g3, _fu._9q * _xb._f3 + _fu._I3 * _xb._g3) } function _eO(_fu, _xb) { return new _ZM(_fu._I3 * _xb._f3 + _fu._9q * _xb._g3, -_fu._9q * _xb._f3 + _fu._I3 * _xb._g3) } function _fO(_gO, _xb) { return new _ZM((_gO._fu._I3 * _xb._f3 - _gO._fu._9q * _xb._g3) + _gO._mv._f3, (_gO._fu._9q * _xb._f3 + _gO._fu._I3 * _xb._g3) + _gO._mv._g3); } function _hO(_gO, _xb) { var _0k = _xb._f3 - _gO._mv._f3; var _1k = _xb._g3 - _gO._mv._g3; var _f3 = (_gO._fu._I3 * _0k + _gO._fu._9q * _1k); var _g3 = ( - _gO._fu._9q * _0k + _gO._fu._I3 * _1k); return new _ZM(_f3, _g3) } function _iO(_aM, _pN) { var _jO = new _NN(); _jO._fu = _aO(_aM._fu, _pN._fu); _jO._mv = _ZM._Wh(_dO(_aM._fu, _pN._mv), _aM._mv); return _jO } function _kO(_aM, _pN) { var _jO = new _NN(); _jO._fu = _cO(_aM._fu, _pN._fu); var _lO = _pN._mv._f3 - _aM._mv._f3; var _mO = _pN._mv._g3 - _aM._mv._g3; _jO._mv._f3 = _aM._fu._I3 * _lO + _aM._fu._9q * _mO; _jO._mv._g3 = -_aM._fu._9q * _lO + _aM._fu._I3 * _mO; return _jO } var _nO = Math.abs; function _oO(_kb) { return new _ZM(_nO(_kb._f3), _nO(_kb._g3)) } function _pO(_aM) { return new _jN(_oO(_aM._yF), _oO(_aM._mN)) } var _qO = Math.min; function _rO(_kb, _W9) { return new _ZM(_qO(_kb._f3, _W9._f3), _qO(_kb._g3, _W9._g3)) } var _sO = Math.max; function _tO(_kb, _W9) { return new _ZM(_sO(_kb._f3, _W9._f3), _sO(_kb._g3, _W9._g3)) } function _uO(_kb, _si, _ri) { return _sO(_si, _qO(_kb, _ri)) } function _vO(_kb, _si, _ri) { return _tO(_si, _rO(_kb, _ri)) } function _wO(_f3) { _f3 |= (_f3 >> 1); _f3 |= (_f3 >> 2); _f3 |= (_f3 >> 4); _f3 |= (_f3 >> 8); _f3 |= (_f3 >> 16); return _f3 + 1 } function _xO(_f3) { var _8j = _f3 > 0 && (_f3 & (_f3 - 1)) == 0; return _8j } var _yO = 32767; function _zO(_AO, _BO) { var _T9 = Math.random(); if (typeof(_AO) !== 'undefined') _T9 = (_BO - _AO) * _T9 + _AO; else _T9 = 2.0 * _T9 - 1.0; return _T9 } function _CO(_T9, _jb, _W9) { this._T9 = _T9 || 0; this._jb = _jb || 0; this._W9 = _W9 || 0 } _CO.prototype = { _gi: function(_T9, _jb, _W9) { this._T9 = _T9; this._jb = _jb; this._W9 = _W9 } }; function _DO() {} _DO.prototype = { _EO: function(_ZJ) { this._FO = _ZJ }, _GO: function() { return this._FO }, _HO: function(_ZJ) { this._FO |= _ZJ }, _IO: function(_ZJ) { this._FO &= ~_ZJ }, _JO: function(_ZJ) { this._FO ^= _ZJ; }, _KO: function(_rb, _LO, _bb) {}, _MO: function(_rb, _LO, _bb) {}, _NO: function(_OO, _PO, _bb) {}, _QO: function(_OO, _PO, _RO, _bb) {}, _SO: function(_TO, _UO, _bb) {}, _VO: function(_ON) {}, _WO: function(_XO, _PO, _YO, _Ea) {}, _FO: 0 }; _DO._ZO = 1; _DO.__O = 2; _DO._0P = 4; _DO._1P = 8; _DO._2P = 16; _DO._3P = 32; _DO._4P = 64; _DO._5P = 128; _DO._6P = 256; _DO._7P = 512; _DO._8P = 1024; if (typeof(_SL) === 'undefined') { window._SL = { now: function() { return + new Date() } } } function _9P() { this._aP() } _9P.prototype = { _aP: function() { this._bP = _SL.now() }, _cP: function() { return _SL.now() - this._bP; } }; function _dP() { this._eP = 0; this._OO = new _ZM(); this._fP = 0 } function _gP() { this._hP = 0; this._iP = 0 } _gP.prototype = { _u8: function() {}, _jP: function() { return this._hP }, _kP: function() {}, _lP: function(_ON, _mv) {}, _mP: function(_4u, _2u, transform, _nP) {}, _oP: function(_pP, _ON, _nP) {}, _qP: function(_rP, _sP) {}, _tP: function(_ON, _mv, _uP, _vP, _nP) {}, _dN: function(_eN) { var _xr = _eN || {}; _xr['m_type'] = this._hP; _xr['m_radius'] = this._iP; return _xr }, _fN: function(data) { this._iP = data['m_radius'] } }; _gP._wP = 0; _gP._xP = 1; _gP._yP = 2; _gP._zP = 3; _gP._AP = 4; function _BP() { this.parent.call(this); this._hP = _gP._wP; this._iP = 0; this._CP = new _ZM(); Object.seal(this) } _BP.prototype = { _u8: function() { var _DP = new _BP(); _DP._iP = this._iP; _DP._CP = this._CP._u8(); return _DP }, _kP: function() { return 1 }, _lP: function(transform, _mv) { var _OO = _ZM._Wh(transform._mv, _dO(transform._fu, this._CP)); var _mk = _ZM._6N(_mv, _OO); return _ZN(_mk, _mk) <= this._iP * this._iP }, _mP: function(_4u, _2u, transform, _nP) { var position = _ZM._Wh(transform._mv, _dO(transform._fu, this._CP)); var _9q = _ZM._6N(_2u._TO, position); var _W9 = _ZN(_9q, _9q) - this._iP * this._iP; var _T9 = _ZM._6N(_2u._UO, _2u._TO); var _I3 = _ZN(_9q, _T9); var _5v = _ZN(_T9, _T9); var _EP = _I3 * _I3 - _5v * _W9; if (_EP < 0.0 || _5v < _dM) { return ! 1 } var _kb = -(_I3 + _WM(_EP)); if (0.0 <= _kb && _kb <= _2u._FP * _5v) { _kb /= _5v; _4u._GP = _kb; _4u._vP = _ZM._Wh(_9q, _ZM._Vo(_kb, _T9)); _4u._vP._9N(); return ! 0 } return ! 1 }, _oP: function(_pP, transform, _nP) { var _0k = transform._mv._f3 + (transform._fu._I3 * this._CP._f3 - transform._fu._9q * this._CP._g3); var _1k = transform._mv._g3 + (transform._fu._9q * this._CP._f3 + transform._fu._I3 * this._CP._g3); _pP._HP._f3 = _0k - this._iP; _pP._HP._g3 = _1k - this._iP; _pP._IP._f3 = _0k + this._iP; _pP._IP._g3 = _1k + this._iP }, _qP: function(_rP, _sP) { _rP._eP = _sP * _eM * this._iP * this._iP; _rP._OO = this._CP; _rP._fP = _rP._eP * (0.5 * this._iP * this._iP + _ZN(this._CP, this._CP)) }, _JP: function(_mk) { return 0 }, _KP: function(_mk) { return this._CP }, _LP: function() { return 1 }, _MP: function(index) { _9M(index == 0); return this._CP }, _tP: function(transform, _mv, _uP, _vP, _nP) { var _OO = _ZM._Wh(transform._mv, _dO(transform._fu, this._CP)); var _mk = _ZM._6N(_mv, _OO); var _NP = _mk._7N(); _uP[0] = _NP - this._iP; _vP._2N(_ZM._Vo(1 / _NP, _mk)) }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['m_p'] = this._CP._dN(); return _xr }, _fN: function(data) { this.parent.prototype._fN.call(this, data); this._CP._fN(data['m_p']) } }; _BP._EL(_gP); function _OP() { this.parent.call(this); this._hP = _gP._xP; this._iP = _lM; this._PP = new _ZM(); this._QP = new _ZM(); this._RP = new _ZM(); this._SP = new _ZM(); this._TP = !1; this._UP = !1; Object.seal(this) } _OP.prototype = { _gi: function(_hc, _ic) { this._QP._2N(_hc); this._RP._2N(_ic); this._TP = !1; this._UP = !1 }, _u8: function() { var _DP = new _OP(); _DP._PP = this._PP._u8(); _DP._QP = this._QP._u8(); _DP._RP = this._RP._u8(); _DP._SP = this._SP._u8(); _DP._TP = this._TP; _DP._UP = this._UP; return _DP }, _kP: function() { return 1 }, _lP: function(transform, _mv) { return ! 1 }, _mP: function(_4u, _2u, _ON, _nP) { var _TO = _eO(_ON._fu, _ZM._6N(_2u._TO, _ON._mv)); var _UO = _eO(_ON._fu, _ZM._6N(_2u._UO, _ON._mv)); var _mk = _ZM._6N(_UO, _TO); var _hc = this._QP; var _ic = this._RP; var e = _ZM._6N(_ic, _hc); var _vP = new _ZM(e._g3, -e._f3); _vP._9N(); var _VP = _ZN(_vP, _ZM._6N(_hc, _TO)); var _WP = _ZN(_vP, _mk); if (_WP == 0.0) { return ! 1 } var _V9 = _VP / _WP; if (_V9 < 0.0 || _2u._FP < _V9) { return ! 1 } var _fu = _ZM._Wh(_TO, _ZM._Vo(_V9, _mk)); var _T9 = _ZM._6N(_ic, _hc); var _5v = _ZN(_T9, _T9); if (_5v == 0.0) { return ! 1 } var _9q = _ZN(_ZM._6N(_fu, _hc), _T9) / _5v; if (_9q < 0.0 || 1.0 < _9q) { return ! 1 } _4u._GP = _V9; if (_VP > 0.0) { _4u._vP = _dO(_ON._fu, _vP)._3N() } else { _4u._vP = _dO(_ON._fu, _vP) } return ! 0 }, _oP: function(_pP, _ON, _nP) { var _5k = (_ON._fu._I3 * this._QP._f3 - _ON._fu._9q * this._QP._g3) + _ON._mv._f3; var _8k = (_ON._fu._9q * this._QP._f3 + _ON._fu._I3 * this._QP._g3) + _ON._mv._g3; var _6k = (_ON._fu._I3 * this._RP._f3 - _ON._fu._9q * this._RP._g3) + _ON._mv._f3; var _9k = (_ON._fu._9q * this._RP._f3 + _ON._fu._I3 * this._RP._g3) + _ON._mv._g3; var _XP = _qO(_5k, _6k); var _YP = _qO(_8k, _9k); var _ZP = _sO(_5k, _6k); var __P = _sO(_8k, _9k); _pP._HP._f3 = _XP - this._iP; _pP._HP._g3 = _YP - this._iP; _pP._IP._f3 = _ZP + this._iP; _pP._IP._g3 = __P + this._iP }, _qP: function(_rP, _sP) { _rP._eP = 0.0; _rP._OO = _ZM._Vo(0.5, _ZM._Wh(this._QP, this._RP)); _rP._fP = 0.0 }, _tP: function(_ON, _mv, _uP, _vP, _nP) { var _hc = _fO(_ON, this._QP); var _ic = _fO(_ON, this._RP); var _mk = _ZM._6N(_mv, _hc); var _9q = _ZM._6N(_ic, _hc); var _0Q = _ZN(_mk, _9q); if (_0Q > 0) { var _mp = _ZN(_9q, _9q); if (_0Q > _mp) { _mk._2N(_ZM._6N(_mv, _ic)) } else { _mk._6N(_ZM._Vo(_0Q / _mp, _9q)) } } var _NP = _mk._7N(); _uP[0] = _NP; _vP._2N(_NP > 0 ? _ZM._Vo(1 / _NP, _mk) : new _ZM(0, 0)) }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['m_vertex1'] = this._QP._dN(); _xr['m_vertex2'] = this._RP._dN(); _xr['m_hasVertex0'] = this._TP; if (this._TP) _xr['m_vertex0'] = this._PP._dN(); _xr['m_hasVertex3'] = this._UP; if (this._UP) _xr['m_vertex3'] = this._SP._dN(); return _xr }, _fN: function(data) { this.parent.prototype._fN.call(this, data); this._QP._fN(data['m_vertex1']); this._RP._fN(data['m_vertex2']); this._TP = data['m_hasVertex0']; if (this._TP) this._PP._fN(data['m_vertex0']); this._UP = data['m_hasVertex3']; if (this._UP) this._SP._fN(data['m_vertex3']) } }; _OP._EL(_gP); function _1Q() { this.parent.call(this); this._hP = _gP._zP; this._iP = _lM; this._2Q = null; this._3Q = 0; this._4Q = new _ZM(); this._5Q = new _ZM(); this._6Q = !1; this._7Q = !1; Object.seal(this) } _1Q._8Q = new _OP(); _1Q.prototype = { _9Q: function(_rb, _Ea) { _9M(this._2Q == null && this._3Q == 0); _9M(_Ea >= 3); for (var _H3 = 1; _H3 < _Ea; ++_H3) { var _hc = _rb[_H3 - 1]; var _ic = _rb[_H3]; _9M(_5O(_hc, _ic) > _jM * _jM) } this._3Q = _Ea + 1; this._2Q = new Array(this._3Q); for (var _H3 = 0; _H3 < _Ea; ++_H3) this._2Q[_H3] = _rb[_H3]._u8(); this._2Q[_Ea] = this._2Q[0]._u8(); this._4Q._2N(this._2Q[this._3Q - 2]); this._5Q._2N(this._2Q[1]); this._6Q = !0; this._7Q = !0 }, _aQ: function(_rb, _Ea) { _9M(this._2Q == null && this._3Q == 0); _9M(_Ea >= 2); for (var _H3 = 1; _H3 < _Ea; ++_H3) { var _hc = _rb[_H3 - 1]; var _ic = _rb[_H3]; _9M(_5O(_hc, _ic) > _jM * _jM) } this._3Q = _Ea; this._2Q = new Array(_Ea); for (var _H3 = 0; _H3 < _Ea; ++_H3) this._2Q[_H3] = _rb[_H3]._u8(); this._6Q = !1; this._7Q = !1; this._4Q.__M(); this._5Q.__M() }, _bQ: function(_cQ) { this._4Q._2N(_cQ); this._6Q = !0 }, _dQ: function(_eQ) { this._5Q._2N(_eQ); this._7Q = !0 }, _u8: function() { var _DP = new _1Q(); _DP._3Q = this._3Q; _DP._2Q = new Array(this._3Q); for (var _H3 = 0; _H3 < this._3Q; ++_H3) _DP._2Q[_H3] = this._2Q[_H3]._u8(); _DP._4Q = this._4Q._u8(); _DP._5Q = this._5Q._u8(); _DP._6Q = this._6Q; _DP._7Q = this._7Q; return _DP; }, _kP: function() { return this._3Q - 1 }, _fQ: function(_gQ, index) { _9M(0 <= index && index < this._3Q - 1); _gQ._hP = _gP._xP; _gQ._iP = this._iP; _gQ._QP = this._2Q[index + 0]; _gQ._RP = this._2Q[index + 1]; if (index > 0) { _gQ._PP = this._2Q[index - 1]; _gQ._TP = !0 } else { _gQ._PP = this._4Q; _gQ._TP = this._6Q } if (index < this._3Q - 2) { _gQ._SP = this._2Q[index + 2]; _gQ._UP = !0 } else { _gQ._SP = this._5Q; _gQ._UP = this._7Q } }, _lP: function(transform, _mv) { return ! 1 }, _mP: function(_4u, _2u, _ON, _nP) { _9M(_nP < this._3Q); var _hQ = _nP; var _iQ = _nP + 1; if (_iQ == this._3Q) { _iQ = 0 } _1Q._8Q._QP = this._2Q[_hQ]._u8(); _1Q._8Q._RP = this._2Q[_iQ]._u8(); return _1Q._8Q._mP(_4u, _2u, _ON, 0) }, _oP: function(_pP, _ON, _nP) { _9M(_nP < this._3Q); var _hQ = _nP; var _iQ = _nP + 1; if (_iQ == this._3Q) { _iQ = 0 } var _5k = (_ON._fu._I3 * this._2Q[_hQ]._f3 - _ON._fu._9q * this._2Q[_hQ]._g3) + _ON._mv._f3; var _8k = (_ON._fu._9q * this._2Q[_hQ]._f3 + _ON._fu._I3 * this._2Q[_hQ]._g3) + _ON._mv._g3; var _6k = (_ON._fu._I3 * this._2Q[_iQ]._f3 - _ON._fu._9q * this._2Q[_iQ]._g3) + _ON._mv._f3; var _9k = (_ON._fu._9q * this._2Q[_iQ]._f3 + _ON._fu._I3 * this._2Q[_iQ]._g3) + _ON._mv._g3; _pP._HP._f3 = _qO(_5k, _6k); _pP._HP._g3 = _qO(_8k, _9k); _pP._IP._f3 = _sO(_5k, _6k); _pP._IP._g3 = _sO(_8k, _9k) }, _qP: function(_rP, _sP) { _rP._eP = 0.0; _rP._OO.__M(); _rP._fP = 0.0 }, _tP: function(_ON, _mv, _uP, _vP, _nP) { this._fQ(_1Q._8Q, _nP); _1Q._8Q._tP(_ON, _mv, _uP, _vP, 0) }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['m_count'] = this._3Q; _xr['m_vertices'] = []; for (var _H3 = 0; _H3 < this._3Q; ++_H3) _xr['m_vertices'].push(this._2Q[_H3]._dN()); _xr['m_hasPrevVertex'] = this._6Q; if (this._6Q) _xr['m_prevVertex'] = this._4Q._dN(); _xr['m_hasNextVertex'] = this._7Q; if (this._7Q) _xr['m_nextVertex'] = this._5Q._dN(); return _xr }, _fN: function(data) { this.parent.prototype._fN.call(this, data); this._3Q = data['m_count']; this._2Q = []; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { this._2Q[_H3] = new _ZM(); this._2Q[_H3]._fN(data['m_vertices'][_H3]) } this._6Q = data['m_hasPrevVertex']; if (this._6Q) this._4Q._fN(data['m_prevVertex']); this._7Q = data['m_hasNextVertex']; if (this._7Q) this._5Q._fN(data['m_nextVertex']) } }; _1Q._EL(_gP); function _jQ() { this.parent.call(this); this._hP = _gP._yP; this._iP = _lM; this._3Q = 0; this._kQ = new _ZM(); this._2Q = new Array(_gM); this._lQ = new Array(_gM); Object.seal(this) } _jQ.prototype = { _u8: function() { var _DP = new _jQ(); _DP._3Q = this._3Q; _DP._kQ = this._kQ._u8(); for (var _H3 = 0; _H3 < this._3Q; ++_H3) { _DP._2Q[_H3] = this._2Q[_H3]._u8(); _DP._lQ[_H3] = this._lQ[_H3]._u8() } return _DP }, _kP: function() { return 1 }, _gi: function(_rb, _Ea) { _9M(3 <= _Ea && _Ea <= _gM); if (_Ea < 3) { this._mQ(1.0, 1.0); return } var _C9 = _qO(_Ea, _gM); var _nQ = new Array(_gM); var _oQ = 0; for (var _H3 = 0; _H3 < _C9; ++_H3) { var _xb = _rb[_H3]; var _pQ = !0; for (var __9 = 0; __9 < _oQ; ++__9) { if (_5O(_xb, _nQ[__9]) < 0.5 * _jM) { _pQ = !1; break } } if (_pQ) { _nQ[_oQ++] = _xb._u8() } } _C9 = _oQ; if (_C9 < 3) { _9M(!1); this._mQ(1.0, 1.0); return } var _qQ = 0; var _Lb = _nQ[0]._f3; for (_H3 = 1; _H3 < _C9; ++_H3) { var _f3 = _nQ[_H3]._f3; if (_f3 > _Lb || (_f3 == _Lb && _nQ[_H3]._g3 < _nQ[_qQ]._g3)) { _qQ = _H3; _Lb = _f3 } } var _rQ = new Array(_gM); var _F9 = 0; var _sQ = _qQ; for (;;) { _rQ[_F9] = _sQ; var _tQ = 0; for (__9 = 1; __9 < _C9; ++__9) { if (_tQ == _sQ) { _tQ = __9; continue } var _T9 = _ZM._6N(_nQ[_tQ], _nQ[_rQ[_F9]]); var _xb = _ZM._6N(_nQ[__9], _nQ[_rQ[_F9]]); var _I3 = __N(_T9, _xb); if (_I3 < 0.0) { _tQ = __9 } if (_I3 == 0.0 && _xb._8N() > _T9._8N()) { _tQ = __9 } }++_F9; _sQ = _tQ; if (_tQ == _qQ) { break } } this._3Q = _F9; for (_H3 = 0; _H3 < _F9; ++_H3) { this._2Q[_H3] = _nQ[_rQ[_H3]]._u8() } for (_H3 = 0; _H3 < _F9; ++_H3) { var _hQ = _H3; var _iQ = _H3 + 1 < _F9 ? _H3 + 1 : 0; var _gQ = _ZM._6N(this._2Q[_iQ], this._2Q[_hQ]); _9M(_gQ._8N() > _dM * _dM); this._lQ[_H3] = _0O(_gQ, 1.0)._u8(); this._lQ[_H3]._9N() } this._kQ = _jQ._uQ(this._2Q, _F9) }, _mQ: function(_vQ, _wQ, _OO, _0b) { this._3Q = 4; this._2Q[0] = new _ZM( - _vQ, -_wQ); this._2Q[1] = new _ZM(_vQ, -_wQ); this._2Q[2] = new _ZM(_vQ, _wQ); this._2Q[3] = new _ZM( - _vQ, _wQ); this._lQ[0] = new _ZM(0.0, -1.0); this._lQ[1] = new _ZM(1.0, 0.0); this._lQ[2] = new _ZM(0.0, 1.0); this._lQ[3] = new _ZM( - 1.0, 0.0); if (!_OO) return; this._kQ._2N(_OO); var _ON = new _NN(); _ON._mv = _OO; _ON._fu._gi(_0b); for (var _H3 = 0; _H3 < this._3Q; ++_H3) { this._2Q[_H3]._2N(_fO(_ON, this._2Q[_H3])); this._lQ[_H3]._2N(_dO(_ON._fu, this._lQ[_H3])) } }, _lP: function(_ON, _mv) { var _xQ = _eO(_ON._fu, _ZM._6N(_mv, _ON._mv)); for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _yQ = _ZN(this._lQ[_H3], _ZM._6N(_xQ, this._2Q[_H3])); if (_yQ > 0.0) { return ! 1 } } return ! 0 }, _mP: function(_4u, _2u, _ON, _nP) { var _TO = _eO(_ON._fu, _ZM._6N(_2u._TO, _ON._mv)); var _UO = _eO(_ON._fu, _ZM._6N(_2u._UO, _ON._mv)); var _mk = _ZM._6N(_UO, _TO); var _Sz = 0.0, _zQ = _2u._FP; var index = -1; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _VP = _ZN(this._lQ[_H3], _ZM._6N(this._2Q[_H3], _TO)); var _WP = _ZN(this._lQ[_H3], _mk); if (_WP == 0.0) { if (_VP < 0.0) { return ! 1 } } else { if (_WP < 0.0 && _VP < _Sz * _WP) { _Sz = _VP / _WP; index = _H3 } else if (_WP > 0.0 && _VP < _zQ * _WP) { _zQ = _VP / _WP } } if (_zQ < _Sz) { return ! 1 } } _9M(0.0 <= _Sz && _Sz <= _2u._FP); if (index >= 0) { _4u._GP = _Sz; _4u._vP = _dO(_ON._fu, this._lQ[index]); return ! 0 } return ! 1 }, _oP: function(_pP, _ON, _nP) { var _XP = (_ON._fu._I3 * this._2Q[0]._f3 - _ON._fu._9q * this._2Q[0]._g3) + _ON._mv._f3; var _YP = (_ON._fu._9q * this._2Q[0]._f3 + _ON._fu._I3 * this._2Q[0]._g3) + _ON._mv._g3; var _ZP = _XP; var __P = _YP; for (var _H3 = 1; _H3 < this._3Q; ++_H3) { var _AQ = (_ON._fu._I3 * this._2Q[_H3]._f3 - _ON._fu._9q * this._2Q[_H3]._g3) + _ON._mv._f3; var _BQ = (_ON._fu._9q * this._2Q[_H3]._f3 + _ON._fu._I3 * this._2Q[_H3]._g3) + _ON._mv._g3; _XP = _qO(_XP, _AQ); _YP = _qO(_YP, _BQ); _ZP = _sO(_ZP, _AQ); __P = _sO(__P, _BQ) } _pP._HP._f3 = _XP - this._iP; _pP._HP._g3 = _YP - this._iP; _pP._IP._f3 = _ZP + this._iP; _pP._IP._g3 = __P + this._iP }, _qP: function(_rP, _sP) { _9M(this._3Q >= 3); var _OO = new _ZM(0.0, 0.0); var _CQ = 0.0; var _fP = 0.0; var _9q = new _ZM(0.0, 0.0); for (var _H3 = 0; _H3 < this._3Q; ++_H3) { _9q._Wh(this._2Q[_H3]) } _9q._Vo(1.0 / this._3Q); var _DQ = 1.0 / 3.0; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _EQ = _ZM._6N(this._2Q[_H3], _9q); var _FQ = _H3 + 1 < this._3Q ? _ZM._6N(this._2Q[_H3 + 1], _9q) : _ZM._6N(this._2Q[0], _9q); var _GQ = __N(_EQ, _FQ); var _HQ = 0.5 * _GQ; _CQ += _HQ; _OO._Wh(_ZM._Vo(_HQ * _DQ, _ZM._Wh(_EQ, _FQ))); var _IQ = _EQ._f3, _JQ = _EQ._g3; var _KQ = _FQ._f3, _LQ = _FQ._g3; var _MQ = _IQ * _IQ + _KQ * _IQ + _KQ * _KQ; var _NQ = _JQ * _JQ + _LQ * _JQ + _LQ * _LQ; _fP += (0.25 * _DQ * _GQ) * (_MQ + _NQ) } _rP._eP = _sP * _CQ; _9M(_CQ > _dM); _OO._Vo(1.0 / _CQ); _rP._OO = _ZM._Wh(_OO, _9q); _rP._fP = _sP * _fP; _rP._fP += _rP._eP * (_ZN(_rP._OO, _rP._OO) - _ZN(_OO, _OO)) }, _LP: function() { return this._3Q }, _MP: function(index) { _9M(0 <= index && index < this._3Q); return this._2Q[index] }, _OQ: function() { for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _hQ = _H3; var _iQ = _H3 < this._3Q - 1 ? _hQ + 1 : 0; var _mv = this._2Q[_hQ]; var e = _ZM._6N(this._2Q[_iQ], _mv); for (var __9 = 0; __9 < this._3Q; ++__9) { if (__9 == _hQ || __9 == _iQ) { continue } var _xb = _ZM._6N(this._2Q[__9], _mv); var _I3 = __N(e, _xb); if (_I3 < 0.0) { return ! 1 } } } return ! 0 }, _tP: function(_ON, _mv, _PQ, _vP, _nP) { var _xQ = _eO(_ON._fu, _ZM._6N(_mv, _ON._mv)); var maxDistance = -Number.MAX_VALUE; var _QQ = _xQ; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _yQ = _ZN(this._lQ[_H3], _ZM._6N(_xQ, this._2Q[_H3])); if (_yQ > maxDistance) { maxDistance = _yQ; _QQ = this._lQ[_H3] } } if (maxDistance > 0) { var _RQ = _QQ; var _SQ = maxDistance * maxDistance; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _uP = _ZM._6N(_xQ, this._2Q[_H3]); var _TQ = _uP._8N(); if (_SQ > _TQ) { _RQ = _uP; _SQ = _TQ } } _PQ[0] = _WM(_SQ); _vP._2N(_dO(_ON._fu, _RQ)); _vP._9N() } else { _PQ[0] = maxDistance; _vP._2N(_dO(_ON._fu, _QQ)) } }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['m_count'] = this._3Q; _xr['m_centroid'] = this._kQ._dN(); _xr['m_vertices'] = []; _xr['m_normals'] = []; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { _xr['m_vertices'].push(this._2Q[_H3]._dN()); _xr['m_normals'].push(this._lQ[_H3]._dN()) } return _xr }, _fN: function(data) { this.parent.prototype._fN.call(this, data); this._3Q = data['m_count']; this._kQ._fN(data['m_centroid']); this._2Q = []; this._lQ = []; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { this._2Q[_H3] = new _ZM(); this._2Q[_H3]._fN(data['m_vertices'][_H3]); this._lQ[_H3] = new _ZM(); this._lQ[_H3]._fN(data['m_normals'][_H3]) } } }; _jQ._uQ = function(_UQ, _Ea) { _9M(_Ea >= 3); var _I3 = new _ZM(); var _CQ = 0.0; var _VQ = new _ZM(0.0, 0.0); var _WQ = 1.0 / 3.0; for (var _H3 = 0; _H3 < _Ea; ++_H3) { var _TO = _VQ; var _UO = _UQ[_H3]; var _XQ = _H3 + 1 < _Ea ? _UQ[_H3 + 1] : _UQ[0]; var _EQ = _ZM._6N(_UO, _TO); var _FQ = _ZM._6N(_XQ, _TO); var _GQ = __N(_EQ, _FQ); var _HQ = 0.5 * _GQ; _CQ += _HQ; _I3._Wh(_ZM._Vo(_HQ, _ZM._Vo(_WQ, _ZM._Wh(_ZM._Wh(_TO, _UO), _XQ)))) } _9M(_CQ > _dM); _I3._Vo(1.0 / _CQ); return _I3 }; _jQ._EL(_gP); function _YQ() { this._ZQ = 0; this.__Q = 0 } function _0R(_1R, _2R) { if (_1R._ZQ == _2R._ZQ) { return _1R.__Q - _2R.__Q } return _1R._ZQ - _2R._ZQ } function _3R() { this._4R = new _5R(); this._6R = 0; this._7R = 0; this._8R = 0; this._9R = []; this._aR = 0; this._bR = [] } _3R.prototype = { _cR: function(_pP, _dR) { var _eR = this._4R._cR(_pP, _dR); ++this._7R; this._fR(_eR); return _eR }, _gR: function(_eR) { this._hR(_eR); --this._7R; this._4R._gR(_eR) }, _iR: function(_eR, _pP, _jR) { var buffer = this._4R._iR(_eR, _pP, _jR); if (buffer) { this._fR(_eR); } }, _kR: function(_eR) { this._fR(_eR) }, _lR: function(_eR) { return this._4R._lR(_eR) }, _mR: function(_eR) { return this._4R._mR(_eR) }, _nR: function(_ZQ, __Q) { var _oR = this._4R._lR(_ZQ); var _pR = this._4R._lR(__Q); return _qR(_oR, _pR) }, _rR: function() { return this._7R }, _sR: function(_tR) { this._8R = 0; this._9R.length = 0; for (var _H3 = 0; _H3 < this._aR; ++_H3) { this._6R = this._bR[_H3]; if (this._6R == _3R._uR) { continue } var _vR = this._4R._lR(this._6R); this._4R._wR(this, _vR) } this._aR = 0; this._9R.sort(_0R); var _H3 = 0; while (_H3 < this._8R) { var _xR = this._9R[_H3]; var _yR = this._4R._mR(_xR._ZQ); var _zR = this._4R._mR(_xR.__Q); _tR._AR(_yR, _zR); ++_H3; while (_H3 < this._8R) { var _BR = this._9R[_H3]; if (_BR._ZQ != _xR._ZQ || _BR.__Q != _xR.__Q) { break }++_H3 } } }, _wR: function(_tR, _pP) { this._4R._wR(_tR, _pP) }, _mP: function(_tR, _2u) { this._4R._mP(_tR, _2u) }, _CR: function() { return this._4R._DR() }, _ER: function() { return this._4R._FR() }, _GR: function() { return this._4R._HR() }, _IR: function(_JR) { this._4R._IR(_JR) }, _fR: function(_eR) { this._bR[this._aR] = _eR; ++this._aR }, _hR: function(_eR) { for (var _H3 = 0; _H3 < this._aR; ++_H3) { if (this._bR[_H3] == _eR) { this._bR[_H3] = _3R._uR } } }, _KR: function(_eR) { if (_eR == this._6R) { return ! 0 } this._9R[this._8R] = new _YQ(); this._9R[this._8R]._ZQ = _qO(_eR, this._6R); this._9R[this._8R].__Q = _sO(_eR, this._6R); ++this._8R; return ! 0 } }; _3R._uR = -1; function _LR() { this._2Q = null; this._3Q = 0; this._iP = 0 } _LR.prototype = { _2N: function(_R9) { this._2Q = _R9._2Q; this._3Q = _R9._3Q; this._iP = _R9._iP }, _gi: function(_DP, index) { switch (_DP._jP()) { case _gP._wP: { var _MR = _DP; this._2Q = [_MR._CP]; this._3Q = 1; this._iP = _MR._iP } break; case _gP._yP: { var _NR = _DP; this._2Q = _NR._2Q; this._3Q = _NR._3Q; this._iP = _NR._iP } break; case _gP._zP: { var _OR = _DP; _9M(0 <= index && index < _OR._3Q); this._2Q = [_OR._2Q[index]]; if (index + 1 < _OR._3Q) { this._2Q[1] = _OR._2Q[index + 1] } else { this._2Q[1] = _OR._2Q[0] } this._3Q = 2; this._iP = _OR._iP } break; case _gP._xP: { var _gQ = _DP; this._2Q = [_gQ._QP, _gQ._RP]; this._3Q = 2; this._iP = _gQ._iP } break; default: _9M(!1) } }, _JP: function(_Yb, _Zb) { var _PR = 0; var _QR = this._2Q[0]._f3 * _Yb + this._2Q[0]._g3 * _Zb; for (var _H3 = 1; _H3 < this._3Q; ++_H3) { var value = this._2Q[_H3]._f3 * _Yb + this._2Q[_H3]._g3 * _Zb; if (value > _QR) { _PR = _H3; _QR = value } } return _PR }, _KP: function(_Yb, _Zb) { return this._2Q[this._JP(_Yb, _Zb)] }, _LP: function() { return this._3Q }, _MP: function(index) { _9M(0 <= index && index < this._3Q); return this._2Q[index] } }; function _RR() { this._SR = 0; this._Ea = 0; this._TR = [0, 0, 0]; this._UR = [0, 0, 0] }; function _VR() { this._WR = new _LR(); this._XR = new _LR(); this._YR = new _NN(); this._ZR = new _NN(); this.__R = !1 }; function _0S() { this._1S = new _ZM(); this._2S = new _ZM(); this._uP = 0; this._3S = 0 }; function _4S() { this._5S = new _ZM(); this._6S = new _ZM(); this._J3 = new _ZM(); this._kb = 0; this._TR = 0; this._UR = 0 } _4S.prototype = { _2N: function(_R9) { this._5S._f3 = _R9._5S._f3; this._5S._g3 = _R9._5S._g3; this._6S._f3 = _R9._6S._f3; this._6S._g3 = _R9._6S._g3; this._J3._f3 = _R9._J3._f3; this._J3._g3 = _R9._J3._g3; this._kb = _R9._kb; this._TR = _R9._TR; this._UR = _R9._UR } }; function _7S() { this._8S = [new _4S(), new _4S(), new _4S()]; this._3Q = 0 } _7S.prototype = { _9S: function(_Da, _WR, _YR, _XR, _ZR) { _9M(_Da._Ea <= 3); this._3Q = _Da._Ea; var _rb = this._8S; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _xb = _rb[_H3]; _xb._TR = _Da._TR[_H3]; _xb._UR = _Da._UR[_H3]; var _aS = _WR._MP(_xb._TR); var _bS = _XR._MP(_xb._UR); _xb._5S._f3 = (_YR._fu._I3 * _aS._f3 - _YR._fu._9q * _aS._g3) + _YR._mv._f3; _xb._5S._g3 = (_YR._fu._9q * _aS._f3 + _YR._fu._I3 * _aS._g3) + _YR._mv._g3; _xb._6S._f3 = (_ZR._fu._I3 * _bS._f3 - _ZR._fu._9q * _bS._g3) + _ZR._mv._f3; _xb._6S._g3 = (_ZR._fu._9q * _bS._f3 + _ZR._fu._I3 * _bS._g3) + _ZR._mv._g3; _xb._J3._f3 = _xb._6S._f3 - _xb._5S._f3; _xb._J3._g3 = _xb._6S._g3 - _xb._5S._g3; _xb._kb = 0.0 } if (this._3Q > 1) { var _cS = _Da._SR; var _dS = this._eS(); if (_dS < 0.5 * _cS || 2.0 * _cS < _dS || _dS < _dM) { this._3Q = 0 } } if (this._3Q == 0) { var _xb = _rb[0]; _xb._TR = 0; _xb._UR = 0; var _aS = _WR._MP(0); var _bS = _XR._MP(0); _xb._5S._f3 = (_YR._fu._I3 * _aS._f3 - _YR._fu._9q * _aS._g3) + _YR._mv._f3; _xb._5S._g3 = (_YR._fu._9q * _aS._f3 + _YR._fu._I3 * _aS._g3) + _YR._mv._g3; _xb._6S._f3 = (_ZR._fu._I3 * _bS._f3 - _ZR._fu._9q * _bS._g3) + _ZR._mv._f3; _xb._6S._g3 = (_ZR._fu._9q * _bS._f3 + _ZR._fu._I3 * _bS._g3) + _ZR._mv._g3; _xb._J3._f3 = _xb._6S._f3 - _xb._5S._f3; _xb._J3._g3 = _xb._6S._g3 - _xb._5S._g3; _xb._kb = 1.0; this._3Q = 1 } }, _fS: function(_Da) { _Da._SR = this._eS(); _Da._Ea = this._3Q; var _rb = this._8S; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { _Da._TR[_H3] = _rb[_H3]._TR; _Da._UR[_H3] = _rb[_H3]._UR } }, _gS: function(_mv) { switch (this._3Q) { case 1: _mv._f3 = -this._8S[0]._J3._f3; _mv._g3 = -this._8S[0]._J3._g3; break; case 2: { var _hS = this._8S[1]._J3._f3 - this._8S[0]._J3._f3; var _iS = this._8S[1]._J3._g3 - this._8S[0]._J3._g3; var _jS = _hS * -this._8S[0]._J3._g3 - _iS * -this._8S[0]._J3._f3; if (_jS > 0.0) { _mv._f3 = -1.0 * _iS; _mv._g3 = 1.0 * _hS } else { _mv._f3 = 1.0 * _iS; _mv._g3 = -1.0 * _hS } } break; default: _9M(!1); _mv._f3 = _mv._g3 = 0; break } }, _kS: function(_mv) { switch (this._3Q) { case 1: _mv._f3 = this._8S[0]._J3._f3; _mv._g3 = this._8S[0]._J3._g3; break; case 2: _mv._f3 = (this._8S[0]._kb * this._8S[0]._J3._f3) + (this._8S[1]._kb * this._8S[1]._J3._f3); _mv._g3 = (this._8S[0]._kb * this._8S[0]._J3._g3) + (this._8S[1]._kb * this._8S[1]._J3._g3); break; case 3: _mv._f3 = _mv._g3 = 0; break; default: _9M(!1); _mv._f3 = _mv._g3 = 0; break } }, _lS: function(_mS, _nS) { switch (this._3Q) { case 1: _mS._f3 = this._8S[0]._5S._f3; _mS._g3 = this._8S[0]._5S._g3; _nS._f3 = this._8S[0]._6S._f3; _nS._g3 = this._8S[0]._6S._g3; break; case 2: _mS._f3 = (this._8S[0]._kb * this._8S[0]._5S._f3) + (this._8S[1]._kb * this._8S[1]._5S._f3); _mS._g3 = (this._8S[0]._kb * this._8S[0]._5S._g3) + (this._8S[1]._kb * this._8S[1]._5S._g3); _nS._f3 = (this._8S[0]._kb * this._8S[0]._6S._f3) + (this._8S[1]._kb * this._8S[1]._6S._f3); _nS._g3 = (this._8S[0]._kb * this._8S[0]._6S._g3) + (this._8S[1]._kb * this._8S[1]._6S._g3); break; case 3: _mS._f3 = (this._8S[0]._kb * this._8S[0]._5S._f3) + (this._8S[1]._kb * this._8S[1]._5S._f3) + (this._8S[2]._kb * this._8S[2]._5S._f3); _mS._g3 = (this._8S[0]._kb * this._8S[0]._5S._g3) + (this._8S[1]._kb * this._8S[1]._5S._g3) + (this._8S[2]._kb * this._8S[2]._5S._g3); _nS._f3 = _mS._f3; _nS._g3 = _mS._g3; break; default: _9M(!1); break } }, _eS: function() { switch (this._3Q) { case 1: return 0.0; case 2: return _4O(this._8S[0]._J3, this._8S[1]._J3); case 3: return (this._8S[1]._J3._f3 - this._8S[0]._J3._f3) * (this._8S[2]._J3._g3 - this._8S[0]._J3._g3) - (this._8S[1]._J3._g3 - this._8S[0]._J3._g3) * (this._8S[2]._J3._f3 - this._8S[0]._J3._f3); default: _9M(!1); return 0.0 } }, _oS: function() { var _pS = this._8S[0]._J3; var _qS = this._8S[1]._J3; var _hS = _qS._f3 - _pS._f3; var _iS = _qS._g3 - _pS._g3; var _rS = -(_pS._f3 * _hS + _pS._g3 * _iS); if (_rS <= 0.0) { this._8S[0]._kb = 1.0; this._3Q = 1; return } var _sS = _qS._f3 * _hS + _qS._g3 * _iS; if (_sS <= 0.0) { this._8S[1]._kb = 1.0; this._3Q = 1; this._8S[0]._2N(this._8S[1]); return } var _tS = 1.0 / (_sS + _rS); this._8S[0]._kb = _sS * _tS; this._8S[1]._kb = _rS * _tS; this._3Q = 2 }, _uS: function() { var _pS = this._8S[0]._J3; var _qS = this._8S[1]._J3; var _vS = this._8S[2]._J3; var _hS = _qS._f3 - _pS._f3; var _iS = _qS._g3 - _pS._g3; var _wS = _pS._f3 * _hS + _pS._g3 * _iS; var _xS = _qS._f3 * _hS + _qS._g3 * _iS; var _sS = _xS; var _rS = -_wS; var _yS = _vS._f3 - _pS._f3; var _zS = _vS._g3 - _pS._g3; var _AS = _pS._f3 * _yS + _pS._g3 * _zS; var _BS = _vS._f3 * _yS + _vS._g3 * _zS; var _CS = _BS; var _DS = -_AS; var _ES = _vS._f3 - _qS._f3; var _FS = _vS._g3 - _qS._g3; var _GS = _qS._f3 * _ES + _qS._g3 * _FS; var _HS = _vS._f3 * _ES + _vS._g3 * _FS; var _IS = _HS; var _JS = -_GS; var _KS = _hS * _zS - _iS * _yS; var _LS = _KS * (_qS._f3 * _vS._g3 - _qS._g3 * _vS._f3); var _MS = _KS * (_vS._f3 * _pS._g3 - _vS._g3 * _pS._f3); var _NS = _KS * (_pS._f3 * _qS._g3 - _pS._g3 * _qS._f3); if (_rS <= 0.0 && _DS <= 0.0) { this._8S[0]._kb = 1.0; this._3Q = 1; return; } if (_sS > 0.0 && _rS > 0.0 && _NS <= 0.0) { var _tS = 1.0 / (_sS + _rS); this._8S[0]._kb = _sS * _tS; this._8S[1]._kb = _rS * _tS; this._3Q = 2; return } if (_CS > 0.0 && _DS > 0.0 && _MS <= 0.0) { var _OS = 1.0 / (_CS + _DS); this._8S[0]._kb = _CS * _OS; this._8S[2]._kb = _DS * _OS; this._3Q = 2; this._8S[1]._2N(this._8S[2]); return } if (_sS <= 0.0 && _JS <= 0.0) { this._8S[1]._kb = 1.0; this._3Q = 1; this._8S[0]._2N(this._8S[1]); return } if (_CS <= 0.0 && _IS <= 0.0) { this._8S[2]._kb = 1.0; this._3Q = 1; this._8S[0]._2N(this._8S[2]); return } if (_IS > 0.0 && _JS > 0.0 && _LS <= 0.0) { var _PS = 1.0 / (_IS + _JS); this._8S[1]._kb = _IS * _PS; this._8S[2]._kb = _JS * _PS; this._3Q = 2; this._8S[0]._2N(this._8S[2]); return } var _QS = 1.0 / (_LS + _MS + _NS); this._8S[0]._kb = _LS * _QS; this._8S[1]._kb = _MS * _QS; this._8S[2]._kb = _NS * _QS; this._3Q = 3 } }; var _RS = new _7S(); var _SS = new _ZM(); var _TS = new _ZM(); function _US(_4u, _Da, _2u) {++_US._VS; var _WR = _2u._WR; var _XR = _2u._XR; var _YR = _2u._YR; var _ZR = _2u._ZR; _RS._9S(_Da, _WR, _YR, _XR, _ZR); var _rb = _RS._8S; var _WS = 20; var _XS = [0, 0, 0], _YS = [0, 0, 0]; var _ZS = 0; var __S = _cM; var _0T = __S; var _1T = 0; while (_1T < _WS) { _ZS = _RS._3Q; for (var _H3 = 0; _H3 < _ZS; ++_H3) { _XS[_H3] = _rb[_H3]._TR; _YS[_H3] = _rb[_H3]._UR } switch (_RS._3Q) { case 1: break; case 2: _RS._oS(); break; case 3: _RS._uS(); break; default: _9M(!1) } if (_RS._3Q == 3) { break } _RS._kS(_TS); _0T = _TS._8N(); if (_0T >= __S) {} __S = _0T; _RS._gS(_TS); if (_TS._8N() < _dM * _dM) { break } var _2T = _rb[_RS._3Q]; _2T._TR = _WR._JP(_YR._fu._I3 * -_TS._f3 + _YR._fu._9q * -_TS._g3, -_YR._fu._9q * -_TS._f3 + _YR._fu._I3 * -_TS._g3); var _3T = _WR._MP(_2T._TR); _2T._5S._f3 = (_YR._fu._I3 * _3T._f3 - _YR._fu._9q * _3T._g3) + _YR._mv._f3; _2T._5S._g3 = (_YR._fu._9q * _3T._f3 + _YR._fu._I3 * _3T._g3) + _YR._mv._g3; _2T._UR = _XR._JP(_ZR._fu._I3 * _TS._f3 + _ZR._fu._9q * _TS._g3, -_ZR._fu._9q * _TS._f3 + _ZR._fu._I3 * _TS._g3); var _4T = _XR._MP(_2T._UR); _2T._6S._f3 = (_ZR._fu._I3 * _4T._f3 - _ZR._fu._9q * _4T._g3) + _ZR._mv._f3; _2T._6S._g3 = (_ZR._fu._9q * _4T._f3 + _ZR._fu._I3 * _4T._g3) + _ZR._mv._g3; _2T._J3._f3 = _2T._6S._f3 - _2T._5S._f3; _2T._J3._g3 = _2T._6S._g3 - _2T._5S._g3; ++_1T; ++_US._5T; var _6T = !1; for (var _H3 = 0; _H3 < _ZS; ++_H3) { if (_2T._TR == _XS[_H3] && _2T._UR == _YS[_H3]) { _6T = !0; break } } if (_6T) { break }++_RS._3Q } _US._7T = _sO(_US._7T, _1T); _RS._lS(_4u._1S, _4u._2S); _4u._uP = _4O(_4u._1S, _4u._2S); _4u._3S = _1T; _RS._fS(_Da); if (_2u.__R) { var _8T = _WR._iP; var _9T = _XR._iP; if (_4u._uP > _8T + _9T && _4u._uP > _dM) { _4u._uP -= _8T + _9T; _SS._f3 = _4u._2S._f3 - _4u._1S._f3; _SS._g3 = _4u._2S._g3 - _4u._1S._g3; _SS._9N(); _4u._1S._f3 += (_8T * _SS._f3); _4u._1S._g3 += (_8T * _SS._g3); _4u._2S._f3 -= (_9T * _SS._f3); _4u._2S._g3 -= (_9T * _SS._g3) } else { var _0k = (0.5 * (_4u._1S._f3 + _4u._2S._f3)); var _1k = (0.5 * (_4u._1S._g3 + _4u._2S._g3)); _4u._1S._f3 = _0k; _4u._1S._g3 = _1k; _4u._2S._f3 = _0k; _4u._2S._g3 = _1k; _4u._uP = 0.0 } } } _US._VS = 0; _US._5T = 0; _US._7T = 0; var _aT = 255; function _bT() {} _bT.prototype = { _TR: 0, _UR: 0, _cT: 0, _dT: 0, _aP: function() { this._TR = this._UR = this._cT = this._dT = 0 }, _Gh: function() { return this._TR | (this._UR << 8) | (this._cT << 16) | (this._dT << 24) }, _2N: function(_eT) { this._TR = _eT._TR; this._UR = _eT._UR; this._cT = _eT._cT; this._dT = _eT._dT } }; _bT._fT = 0; _bT._gT = 1; function _hT() { this._iT = new _ZM(); this._jT = 0; this._kT = 0; this.id = new _bT() }; _hT.prototype = { _u8: function() { var _lT = new _hT(); _lT._iT._f3 = this._iT._f3; _lT._iT._g3 = this._iT._g3; _lT._jT = this._jT; _lT._kT = this._kT; _lT.id._2N(this.id); return _lT } }; function _mT() { this._e3 = new Array(_fM); this._nT = new _ZM(); this._iT = new _ZM(); this.type = 0; this._oT = 0 }; _mT.prototype = { _u8: function() { var _pT = new _mT(); _pT._oT = this._oT; _pT.type = this.type; _pT._iT._f3 = this._iT._f3; _pT._iT._g3 = this._iT._g3; _pT._nT._f3 = this._nT._f3; _pT._nT._g3 = this._nT._g3; for (var _H3 = 0; _H3 < this._oT; ++_H3) _pT._e3[_H3] = this._e3[_H3]._u8(); return _pT }, _2N: function(_pT) { this._oT = _pT._oT; this.type = _pT.type; this._iT._f3 = _pT._iT._f3; this._iT._g3 = _pT._iT._g3; this._nT._f3 = _pT._nT._f3; this._nT._g3 = _pT._nT._g3; for (var _H3 = 0; _H3 < this._oT; ++_H3) this._e3[_H3] = _pT._e3[_H3]._u8() } }; _mT._qT = 0; _mT._rT = 1; _mT._sT = 2; _mT._tT = 0; _mT._uT = 1; _mT._vT = 2; _mT._wT = 3; function _xT() { this._vP = new _ZM(); this._e3 = new Array(_fM); this._yT = new Array(_fM) } _xT.prototype = { _zT: function(_pT, _AT, _BT, _CT, _DT) { if (_pT._oT == 0) { return } switch (_pT.type) { case _mT._qT: { this._vP._f3 = 1; this._vP._g3 = 0; var _ET = (_AT._fu._I3 * _pT._iT._f3 - _AT._fu._9q * _pT._iT._g3) + _AT._mv._f3; var _FT = (_AT._fu._9q * _pT._iT._f3 + _AT._fu._I3 * _pT._iT._g3) + _AT._mv._g3; var _GT = (_CT._fu._I3 * _pT._e3[0]._iT._f3 - _CT._fu._9q * _pT._e3[0]._iT._g3) + _CT._mv._f3; var _HT = (_CT._fu._9q * _pT._e3[0]._iT._f3 + _CT._fu._I3 * _pT._e3[0]._iT._g3) + _CT._mv._g3; var _IT = _ET - _GT; var _JT = _FT - _HT; if ((_IT * _IT + _JT * _JT) > _dM * _dM) { this._vP._f3 = _GT - _ET; this._vP._g3 = _HT - _FT; this._vP._9N() } var _KT = _ET + (_BT * this._vP._f3); var _LT = _FT + (_BT * this._vP._g3); var _MT = _GT - (_DT * this._vP._f3); var _NT = _HT - (_DT * this._vP._g3); this._e3[0] = new _ZM(0.5 * (_KT + _MT), 0.5 * (_LT + _NT)); this._yT[0] = (_MT - _KT) * this._vP._f3 + (_NT - _LT) * this._vP._g3 } break; case _mT._rT: { this._vP._f3 = _AT._fu._I3 * _pT._nT._f3 - _AT._fu._9q * _pT._nT._g3; this._vP._g3 = _AT._fu._9q * _pT._nT._f3 + _AT._fu._I3 * _pT._nT._g3; var _OT = (_AT._fu._I3 * _pT._iT._f3 - _AT._fu._9q * _pT._iT._g3) + _AT._mv._f3; var _PT = (_AT._fu._9q * _pT._iT._f3 + _AT._fu._I3 * _pT._iT._g3) + _AT._mv._g3; for (var _H3 = 0; _H3 < _pT._oT; ++_H3) { var _QT = (_CT._fu._I3 * _pT._e3[_H3]._iT._f3 - _CT._fu._9q * _pT._e3[_H3]._iT._g3) + _CT._mv._f3; var _RT = (_CT._fu._9q * _pT._e3[_H3]._iT._f3 + _CT._fu._I3 * _pT._e3[_H3]._iT._g3) + _CT._mv._g3; var _mk = (_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3; var _KT = _QT + ((_BT - _mk) * this._vP._f3); var _LT = _RT + ((_BT - _mk) * this._vP._g3); var _MT = (_QT - (_DT * this._vP._f3)); var _NT = (_RT - (_DT * this._vP._g3)); this._e3[_H3] = new _ZM(0.5 * (_KT + _MT), 0.5 * (_LT + _NT)); this._yT[_H3] = (_MT - _KT) * this._vP._f3 + (_NT - _LT) * this._vP._g3; } } break; case _mT._sT: { this._vP._f3 = _CT._fu._I3 * _pT._nT._f3 - _CT._fu._9q * _pT._nT._g3; this._vP._g3 = _CT._fu._9q * _pT._nT._f3 + _CT._fu._I3 * _pT._nT._g3; var _OT = (_CT._fu._I3 * _pT._iT._f3 - _CT._fu._9q * _pT._iT._g3) + _CT._mv._f3; var _PT = (_CT._fu._9q * _pT._iT._f3 + _CT._fu._I3 * _pT._iT._g3) + _CT._mv._g3; for (var _H3 = 0; _H3 < _pT._oT; ++_H3) { var _QT = (_AT._fu._I3 * _pT._e3[_H3]._iT._f3 - _AT._fu._9q * _pT._e3[_H3]._iT._g3) + _AT._mv._f3; var _RT = (_AT._fu._9q * _pT._e3[_H3]._iT._f3 + _AT._fu._I3 * _pT._e3[_H3]._iT._g3) + _AT._mv._g3; var _mk = (_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3; var _MT = _QT + ((_DT - _mk) * this._vP._f3); var _NT = _RT + ((_DT - _mk) * this._vP._g3); var _KT = (_QT - (_BT * this._vP._f3)); var _LT = (_RT - (_BT * this._vP._g3)); this._e3[_H3] = new _ZM(0.5 * (_KT + _MT), 0.5 * (_LT + _NT)); this._yT[_H3] = (_KT - _MT) * this._vP._f3 + (_LT - _NT) * this._vP._g3 } this._vP._f3 = -this._vP._f3; this._vP._g3 = -this._vP._g3 } break } } }; function _ST(_TT, _UT, _VT, _WT) { for (var _H3 = 0; _H3 < _fM; ++_H3) { _TT[_H3] = _mT._tT; _UT[_H3] = _mT._tT } for (var _H3 = 0; _H3 < _VT._oT; ++_H3) { var id = _VT._e3[_H3].id; _TT[_H3] = _mT._wT; for (var __9 = 0; __9 < _WT._oT; ++__9) { if (_WT._e3[__9].id._Gh() == id._Gh()) { _TT[_H3] = _mT._vT; break } } } for (var _H3 = 0; _H3 < _WT._oT; ++_H3) { var id = _WT._e3[_H3].id; _UT[_H3] = _mT._uT; for (var __9 = 0; __9 < _VT._oT; ++__9) { if (_VT._e3[__9].id._Gh() == id._Gh()) { _UT[_H3] = _mT._vT; break } } } } function _XT() { this._xb = new _ZM(); this.id = new _bT() }; function _YT() { this._TO = new _ZM(), this._UO = new _ZM(); this._FP = 0 }; function _ZT() { this._vP = new _ZM(); this._GP = 0 }; function __T() { this._HP = new _ZM(); this._IP = new _ZM() } __T.prototype = { _2N: function(_0U) { this._HP._f3 = _0U._HP._f3; this._HP._g3 = _0U._HP._g3; this._IP._f3 = _0U._IP._f3; this._IP._g3 = _0U._IP._g3 }, _u8: function() { var _1U = new __T(); _1U._HP._f3 = this._HP._f3; _1U._HP._g3 = this._HP._g3; _1U._IP._f3 = this._IP._f3; _1U._IP._g3 = this._IP._g3; return _1U }, _bN: function() { return (this._IP._f3 - this._HP._f3) >= 0.0 && (this._IP._g3 - this._HP._g3) >= 0.0 && this._HP._bN() && this._IP._bN() }, _2U: function() { return new _ZM(0.5 * (this._HP._f3 + this._IP._f3), 0.5 * (this._HP._g3 + this._IP._g3)) }, _3U: function() { return new _ZM(0.5 * (this._IP._f3 - this._HP._f3), 0.5 * (this._IP._g3 - this._HP._g3)) }, _4U: function() { return 2.0 * ((this._IP._f3 - this._HP._f3) + (this._IP._g3 - this._HP._g3)) }, _5U: function(_6U, _7U) { if (_7U) { this._HP._f3 = _qO(_6U._HP._f3, _7U._HP._f3); this._HP._g3 = _qO(_6U._HP._g3, _7U._HP._g3); this._IP._f3 = _sO(_6U._IP._f3, _7U._IP._f3); this._IP._g3 = _sO(_6U._IP._g3, _7U._IP._g3) } else { this._HP._f3 = _qO(this._HP._f3, _6U._HP._f3); this._HP._g3 = _qO(this._HP._g3, _6U._HP._g3); this._IP._f3 = _sO(this._IP._f3, _6U._IP._f3); this._IP._g3 = _sO(this._IP._g3, _6U._IP._g3) } }, _8U: function(_pP) { return this._HP._f3 <= _pP._HP._f3 && this._HP._g3 <= _pP._HP._g3 && _pP._IP._f3 <= this._IP._f3 && _pP._IP._g3 <= this._IP._g3 }, _mP: function(_4u, _2u) { var _9U = -_cM; var _aU = _cM; var _mv = _2u._TO; var _mk = _ZM._6N(_2u._UO, _2u._TO); var _bU = _oO(_mk); var _vP = new _ZM(); for (var _H3 = 0; _H3 < 2; ++_H3) { if (_bU._4N(_H3) < _dM) { if (_mv._4N(_H3) < this._HP._4N(_H3) || this._IP._4N(_H3) < _mv._4N(_H3)) { return ! 1 } } else { var _cU = 1.0 / _mk._4N(_H3); var _dU = (this._HP._4N(_H3) - _mv._4N(_H3)) * _cU; var _eU = (this._IP._4N(_H3) - _mv._4N(_H3)) * _cU; var _9q = -1.0; if (_dU > _eU) { var _Fv = _eU; _eU = _dU; _dU = _Fv; _9q = 1.0 } if (_dU > _9U) { _vP._f3 = _vP._g3 = 0; _vP._5N(_H3, _9q); _9U = _dU } _aU = _qO(_aU, _eU); if (_9U > _aU) { return ! 1 } } } if (_9U < 0.0 || _2u._FP < _9U) { return ! 1 } _4u._GP = _9U; _4u._vP._f3 = _vP._f3; _4u._vP._g3 = _vP._g3; return ! 0; } }; function _fU(_pT, _gU, _AT, _hU, _CT) { _pT._oT = 0; var _mS = _fO(_AT, _gU._CP); var _nS = _fO(_CT, _hU._CP); var _Yb = _nS._f3 - _mS._f3; var _Zb = _nS._g3 - _mS._g3; var _iU = _Yb * _Yb + _Zb * _Zb; var _8T = _gU._iP, _9T = _hU._iP; var _PO = _8T + _9T; if (_iU > _PO * _PO) { return } _pT.type = _mT._qT; _pT._iT._f3 = _gU._CP._f3; _pT._iT._g3 = _gU._CP._g3; _pT._nT._f3 = _pT._nT._g3 = 0; _pT._oT = 1; _pT._e3[0] = new _hT(); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; _pT._e3[0].id._aP() } function _jU(_pT, _kU, _AT, _hU, _CT) { _pT._oT = 0; var _I3 = _fO(_CT, _hU._CP); var _lU = _hO(_AT, _I3); var _mU = 0; var _nU = -_cM; var _PO = _kU._iP + _hU._iP; var _LO = _kU._3Q; var _rb = _kU._2Q; var _oU = _kU._lQ; for (var _H3 = 0; _H3 < _LO; ++_H3) { var _9q = _oU[_H3]._f3 * (_lU._f3 - _rb[_H3]._f3) + _oU[_H3]._g3 * (_lU._g3 - _rb[_H3]._g3); if (_9q > _PO) { return } if (_9q > _nU) { _nU = _9q; _mU = _H3 } } var _pU = _mU; var _qU = _pU + 1 < _LO ? _pU + 1 : 0; var _hc = _rb[_pU]; var _ic = _rb[_qU]; if (_nU < _dM) { _pT._oT = 1; _pT.type = _mT._rT; _pT._nT._f3 = _oU[_mU]._f3; _pT._nT._g3 = _oU[_mU]._g3; _pT._iT._f3 = 0.5 * (_hc._f3 + _ic._f3); _pT._iT._g3 = 0.5 * (_hc._g3 + _ic._g3); _pT._e3[0] = new _hT(); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; _pT._e3[0].id._aP(); return } var _rU = (_lU._f3 - _hc._f3) * (_ic._f3 - _hc._f3) + (_lU._g3 - _hc._g3) * (_ic._g3 - _hc._g3); var _sU = (_lU._f3 - _ic._f3) * (_hc._f3 - _ic._f3) + (_lU._g3 - _ic._g3) * (_hc._g3 - _ic._g3); if (_rU <= 0.0) { if (_5O(_lU, _hc) > _PO * _PO) { return } _pT._oT = 1; _pT.type = _mT._rT; _pT._nT._f3 = _lU._f3 - _hc._f3; _pT._nT._g3 = _lU._g3 - _hc._g3; _pT._nT._9N(); _pT._iT._f3 = _hc._f3; _pT._iT._g3 = _hc._g3; _pT._e3[0] = new _hT(); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; _pT._e3[0].id._aP() } else if (_sU <= 0.0) { if (_5O(_lU, _ic) > _PO * _PO) { return } _pT._oT = 1; _pT.type = _mT._rT; _pT._nT._f3 = _lU._f3 - _ic._f3; _pT._nT._g3 = _lU._g3 - _ic._g3; _pT._nT._9N(); _pT._iT._f3 = _ic._f3; _pT._iT._g3 = _ic._g3; _pT._e3[0] = new _hT(); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; _pT._e3[0].id._aP() } else { var _tU = 0.5 * (_hc._f3 + _ic._f3); var _uU = 0.5 * (_hc._g3 + _ic._g3); var _nU = (_lU._f3 - _tU) * _oU[_pU]._f3 + (_lU._g3 - _uU) * _oU[_pU]._g3; if (_nU > _PO) { return } _pT._oT = 1; _pT.type = _mT._rT; _pT._nT._f3 = _oU[_pU]._f3; _pT._nT._g3 = _oU[_pU]._g3; _pT._iT._f3 = _tU; _pT._iT._g3 = _uU; _pT._e3[0] = new _hT(); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; _pT._e3[0].id._aP() } } function _vU(_wU, _xU, _yU, _zU, _AU) { var _BU = _xU._3Q; var _CU = _zU._3Q; var _DU = _xU._lQ; var _EU = _xU._2Q; var _FU = _zU._2Q; var _ON = _kO(_AU, _yU); var _PR = 0; var _GU = -_cM; for (var _H3 = 0; _H3 < _BU; ++_H3) { var _Jc = _ON._fu._I3 * _DU[_H3]._f3 - _ON._fu._9q * _DU[_H3]._g3; var _Kc = _ON._fu._9q * _DU[_H3]._f3 + _ON._fu._I3 * _DU[_H3]._g3; var _5k = (_ON._fu._I3 * _EU[_H3]._f3 - _ON._fu._9q * _EU[_H3]._g3) + _ON._mv._f3; var _8k = (_ON._fu._9q * _EU[_H3]._f3 + _ON._fu._I3 * _EU[_H3]._g3) + _ON._mv._g3; var _HU = _cM; for (var __9 = 0; __9 < _CU; ++__9) { var _IU = _Jc * (_FU[__9]._f3 - _5k) + _Kc * (_FU[__9]._g3 - _8k); if (_IU < _HU) { _HU = _IU } } if (_HU > _GU) { _GU = _HU; _PR = _H3 } } _wU[0] = _PR; return _GU } function _JU(_I3, _xU, _yU, _KU, _zU, _AU) { var _LU = _xU._lQ; var _CU = _zU._3Q; var _MU = _zU._2Q; var _NU = _zU._lQ; _9M(0 <= _KU && _KU < _xU._3Q); var _OU = _yU._fu._I3 * _LU[_KU]._f3 - _yU._fu._9q * _LU[_KU]._g3; var _PU = _yU._fu._9q * _LU[_KU]._f3 + _yU._fu._I3 * _LU[_KU]._g3; var _QU = _AU._fu._I3 * _OU + _AU._fu._9q * _PU; var _RU = -_AU._fu._9q * _OU + _AU._fu._I3 * _PU; var index = 0; var _SU = _cM; for (var _H3 = 0; _H3 < _CU; ++_H3) { var _yQ = _QU * _NU[_H3]._f3 + _RU * _NU[_H3]._g3; if (_yQ < _SU) { _SU = _yQ; index = _H3 } } var _hQ = index; var _iQ = _hQ + 1 < _CU ? _hQ + 1 : 0; _I3[0]._xb._f3 = (_AU._fu._I3 * _MU[_hQ]._f3 - _AU._fu._9q * _MU[_hQ]._g3) + _AU._mv._f3; _I3[0]._xb._g3 = (_AU._fu._9q * _MU[_hQ]._f3 + _AU._fu._I3 * _MU[_hQ]._g3) + _AU._mv._g3; _I3[0].id._TR = _KU; _I3[0].id._UR = _hQ; _I3[0].id._cT = _bT._gT; _I3[0].id._dT = _bT._fT; _I3[1]._xb._f3 = (_AU._fu._I3 * _MU[_iQ]._f3 - _AU._fu._9q * _MU[_iQ]._g3) + _AU._mv._f3; _I3[1]._xb._g3 = (_AU._fu._9q * _MU[_iQ]._f3 + _AU._fu._I3 * _MU[_iQ]._g3) + _AU._mv._g3; _I3[1].id._TR = _KU; _I3[1].id._UR = _iQ; _I3[1].id._cT = _bT._gT; _I3[1].id._dT = _bT._fT } function _TU(_pT, _UU, _AT, _VU, _CT) { _pT._oT = 0; var _WU = _UU._iP + _VU._iP; var _XU = [0]; var _YU = _vU(_XU, _UU, _AT, _VU, _CT); if (_YU > _WU) return; var _ZU = [0]; var __U = _vU(_ZU, _VU, _CT, _UU, _AT); if (__U > _WU) return; var _xU; var _zU; var _yU, _AU; var _KU = 0; var _0V = 0; var _1V = 0.1 * _jM; if (__U > _YU + _1V) { _xU = _VU; _zU = _UU; _yU = _CT; _AU = _AT; _KU = _ZU[0]; _pT.type = _mT._sT; _0V = 1 } else { _xU = _UU; _zU = _VU; _yU = _AT; _AU = _CT; _KU = _XU[0]; _pT.type = _mT._rT; _0V = 0 } _JU(_TU._2V, _xU, _yU, _KU, _zU, _AU); var _BU = _xU._3Q; var _3V = _xU._2Q; var _4V = _KU; var _5V = _KU + 1 < _BU ? _KU + 1 : 0; var _6V = _3V[_4V]; var _7V = _3V[_5V]; _TU._8V._f3 = _7V._f3 - _6V._f3; _TU._8V._g3 = _7V._g3 - _6V._g3; _TU._8V._9N(); var _9V = 1.0 * _TU._8V._g3; var _aV = -1.0 * _TU._8V._f3; var _OT = 0.5 * (_6V._f3 + _7V._f3); var _PT = 0.5 * (_6V._g3 + _7V._g3); var _bV = _yU._fu._I3 * _TU._8V._f3 - _yU._fu._9q * _TU._8V._g3; var _cV = _yU._fu._9q * _TU._8V._f3 + _yU._fu._I3 * _TU._8V._g3; var _dV = 1.0 * _cV; var _eV = -1.0 * _bV; _6V = _fO(_yU, _6V); _7V = _fO(_yU, _7V); var _fV = _dV * _6V._f3 + _eV * _6V._g3; var _gV = -(_bV * _6V._f3 + _cV * _6V._g3) + _WU; var _hV = (_bV * _7V._f3 + _cV * _7V._g3) + _WU; var _iV = new Array(2); var _jV = new Array(2); var _kV; _kV = _lV(_iV, _TU._2V, -_bV, -_cV, _gV, _4V); if (_kV < 2) return; _kV = _lV(_jV, _iV, _bV, _cV, _hV, _5V); if (_kV < 2) { return } _pT._nT._f3 = _9V; _pT._nT._g3 = _aV; _pT._iT._f3 = _OT; _pT._iT._g3 = _PT; var _oT = 0; for (var _H3 = 0; _H3 < _fM; ++_H3) { var _nU = (_dV * _jV[_H3]._xb._f3 + _eV * _jV[_H3]._xb._g3) - _fV; if (_nU <= _WU) { var _mV = _pT._e3[_oT] = new _hT(); _mV._iT._2N(_hO(_AU, _jV[_H3]._xb)); _mV.id._2N(_jV[_H3].id); if (_0V) { var _nV = new _bT(); _nV._2N(_mV.id); _mV.id._TR = _nV._UR; _mV.id._UR = _nV._TR; _mV.id._cT = _nV._dT; _mV.id._dT = _nV._cT }++_oT } } _pT._oT = _oT } _TU._8V = new _ZM(); _TU._2V = [new _XT(), new _XT()]; function _oV(_pT, _XU, _AT, _hU, _CT) { _pT._oT = 0; var _pV = _hO(_AT, _fO(_CT, _hU._CP)); var _aM = _XU._QP, _pN = _XU._RP; var _yF = _pN._f3 - _aM._f3; var _mN = _pN._g3 - _aM._g3; var _vb = _yF * (_pN._f3 - _pV._f3) + _mN * (_pN._g3 - _pV._g3); var _xb = _yF * (_pV._f3 - _aM._f3) + _mN * (_pV._g3 - _aM._g3); var _PO = _XU._iP + _hU._iP; var _nV = new _bT(); _nV._UR = 0; _nV._dT = _bT._fT; if (_xb <= 0.0) { var _qV = _aM; var _Yb = _pV._f3 - _qV._f3; var _Zb = _pV._g3 - _qV._g3; var _Cw = _Yb * _Yb + _Zb * _Zb; if (_Cw > _PO * _PO) { return } if (_XU._TP) { var _rV = _XU._PP; var _sV = _aM; var _tV = _sV._f3 - _rV._f3; var _uV = _sV._g3 - _rV._g3; var _rU = _tV * (_sV._f3 - _pV._f3) + _uV * (_sV._g3 - _pV._g3); if (_rU > 0.0) { return } } _nV._TR = 0; _nV._cT = _bT._fT; _pT._oT = 1; _pT.type = _mT._qT; _pT._nT._f3 = _pT._nT._g3 = 0; _pT._iT._f3 = _qV._f3; _pT._iT._g3 = _qV._g3; _pT._e3[0] = new _hT(); _pT._e3[0].id._2N(_nV); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; return } if (_vb <= 0.0) { var _qV = _pN; var _Yb = _pV._f3 - _qV._f3; var _Zb = _pV._g3 - _qV._g3; var _Cw = _Yb * _Yb + _Zb * _Zb; if (_Cw > _PO * _PO) { return } if (_XU._UP) { var _vV = _XU._SP; var _wV = _pN; var _xV = _vV._f3 - _wV._f3; var _yV = _vV._g3 - _wV._g3; var _ic = _xV * (_pV._f3 - _wV._f3) + _yV * (_pV._g3 - _wV._g3); if (_ic > 0.0) { return } } _nV._TR = 1; _nV._cT = _bT._fT; _pT._oT = 1; _pT.type = _mT._qT; _pT._nT._f3 = _pT._nT._g3 = 0; _pT._iT._f3 = _qV._f3; _pT._iT._g3 = _qV._g3; _pT._e3[0] = new _hT(); _pT._e3[0].id._2N(_nV); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3; return } var _zV = _yF * _yF + _mN * _mN; _9M(_zV > 0.0); var _AV = (1.0 / _zV) * ((_vb * _aM._f3) + (_xb * _pN._f3)); var _BV = (1.0 / _zV) * ((_vb * _aM._g3) + (_xb * _pN._g3)); var _Yb = _pV._f3 - _AV; var _Zb = _pV._g3 - _BV; var _Cw = _Yb * _Yb + _Zb * _Zb; if (_Cw > _PO * _PO) { return } var _Jc = -_mN; var _Kc = _yF; if (_Jc * (_pV._f3 - _aM._f3) + _Kc * (_pV._g3 - _aM._g3) < 0.0) { _Jc = -_Jc; _Kc = -_Kc } _nV._TR = 0; _nV._cT = _bT._gT; _pT._oT = 1; _pT.type = _mT._rT; _pT._nT._f3 = _Jc; _pT._nT._g3 = _Kc; _pT._nT._9N(); _pT._iT._f3 = _aM._f3; _pT._iT._g3 = _aM._g3; _pT._e3[0] = new _hT(); _pT._e3[0].id._2N(_nV); _pT._e3[0]._iT._f3 = _hU._CP._f3; _pT._e3[0]._iT._g3 = _hU._CP._g3 } function _CV() { this.type = 0; this.index = 0; this._nU = 0 } _CV._DV = 0; _CV._EV = 1; _CV._FV = 2; function _GV() { this._rb = new Array(_gM); this._oU = new Array(_gM); this._Ea = 0 }; function _HV() { this._hQ = 0, this._iQ = 0; this._hc = new _ZM(), this._ic = new _ZM(); this._vP = new _ZM(); this._IV = new _ZM(); this._gV = 0; this._JV = new _ZM(); this._hV = 0 }; function _KV() { this._LV = new _GV(); this._MV = new _NN(); this._NV = new _ZM(); this._OV = new _ZM(), this._PV = new _ZM(), this._QV = new _ZM(), this._RV = new _ZM(); this._SV = new _ZM(), this._TV = new _ZM(), this._UV = new _ZM(); this._VV = new _ZM(); this._WV = 0, this._XV = 0; this._YV = new _ZM(), this._ZV = new _ZM(); this._iP = 0; this.__V = !1 } _KV._0W = new _ZM(); _KV._1W = new _ZM(); _KV._2W = new _ZM(); _KV.prototype = { _3W: function(_pT, _XU, _AT, _4W, _CT) { this._MV._2N(_kO(_AT, _CT)); this._NV._f3 = (this._MV._fu._I3 * _4W._kQ._f3 - this._MV._fu._9q * _4W._kQ._g3) + this._MV._mv._f3; this._NV._g3 = (this._MV._fu._9q * _4W._kQ._f3 + this._MV._fu._I3 * _4W._kQ._g3) + this._MV._mv._g3; this._OV._f3 = _XU._PP._f3; this._OV._g3 = _XU._PP._g3; this._PV._f3 = _XU._QP._f3; this._PV._g3 = _XU._QP._g3; this._QV._f3 = _XU._RP._f3; this._QV._g3 = _XU._RP._g3; this._RV._f3 = _XU._SP._f3; this._RV._g3 = _XU._SP._g3; var _5W = _XU._TP; var _6W = _XU._UP; _KV._0W._f3 = this._QV._f3 - this._PV._f3; _KV._0W._g3 = this._QV._g3 - this._PV._g3; _KV._0W._9N(); this._TV._f3 = _KV._0W._g3; this._TV._g3 = -_KV._0W._f3; var _7W = this._TV._f3 * (this._NV._f3 - this._PV._f3) + this._TV._g3 * (this._NV._g3 - this._PV._g3); var _8W = 0.0, _9W = 0.0; var _aW = !1, _bW = !1; if (_5W) { _KV._1W._f3 = this._PV._f3 - this._OV._f3; _KV._1W._g3 = this._PV._g3 - this._OV._g3; _KV._1W._9N(); this._SV._f3 = _KV._1W._g3; this._SV._g3 = -_KV._1W._f3; _aW = (_KV._1W._f3 * _KV._0W._g3 - _KV._1W._g3 * _KV._0W._f3) >= 0; _8W = this._SV._f3 * (this._NV._f3 - this._OV._f3) + this._SV._g3 * (this._NV._g3 - this._OV._g3) } if (_6W) { _KV._2W._f3 = this._RV._f3 - this._QV._f3; _KV._2W._g3 = this._RV._g3 - this._QV._g3; _KV._2W._9N(); this._UV._f3 = _KV._2W._g3; this._UV._g3 = -_KV._2W._f3; _bW = (_KV._0W._f3 * _KV._2W._g3 - _KV._0W._g3 * _KV._2W._f3) > 0.0; _9W = this._UV._f3 * (this._NV._f3 - this._QV._f3) + this._UV._g3 * (this._NV._g3 - this._QV._g3) } if (_5W && _6W) { if (_aW && _bW) { this.__V = _8W >= 0.0 || _7W >= 0.0 || _9W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = this._SV._f3; this._YV._g3 = this._SV._g3; this._ZV._f3 = this._UV._f3; this._ZV._g3 = this._UV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = -this._TV._f3; this._YV._g3 = -this._TV._g3; this._ZV._f3 = -this._TV._f3; this._ZV._g3 = -this._TV._g3 } } else if (_aW) { this.__V = _8W >= 0.0 || (_7W >= 0.0 && _9W >= 0.0); if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = this._SV._f3; this._YV._g3 = this._SV._g3; this._ZV._f3 = this._TV._f3; this._ZV._g3 = this._TV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = -this._UV._f3; this._YV._g3 = -this._UV._g3; this._ZV._f3 = -this._TV._f3; this._ZV._g3 = -this._TV._g3 } } else if (_bW) { this.__V = _9W >= 0.0 || (_8W >= 0.0 && _7W >= 0.0); if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = this._TV._f3; this._YV._g3 = this._TV._g3; this._ZV._f3 = this._UV._f3; this._ZV._g3 = this._UV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = -this._TV._f3; this._YV._g3 = -this._TV._g3; this._ZV._f3 = -this._SV._f3; this._ZV._g3 = -this._SV._g3 } } else { this.__V = _8W >= 0.0 && _7W >= 0.0 && _9W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = this._TV._f3; this._YV._g3 = this._TV._g3; this._ZV._f3 = this._TV._f3; this._ZV._g3 = this._TV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = -this._UV._f3; this._YV._g3 = -this._UV._g3; this._ZV._f3 = -this._SV._f3; this._ZV._g3 = -this._SV._g3 } } } else if (_5W) { if (_aW) { this.__V = _8W >= 0.0 || _7W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = this._SV._f3; this._YV._g3 = this._SV._g3; this._ZV._f3 = -this._TV._f3; this._ZV._g3 = -this._TV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = this._TV._f3; this._YV._g3 = this._TV._g3; this._ZV._f3 = -this._TV._f3; this._ZV._g3 = -this._TV._g3 } } else { this.__V = _8W >= 0.0 && _7W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = this._TV._f3; this._YV._g3 = this._TV._g3; this._ZV._f3 = -this._TV._f3; this._ZV._g3 = -this._TV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = this._TV._f3; this._YV._g3 = this._TV._g3; this._ZV._f3 = -this._SV._f3; this._ZV._g3 = -this._SV._g3 } } } else if (_6W) { if (_bW) { this.__V = _7W >= 0.0 || _9W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = -this._TV._f3; this._YV._g3 = -this._TV._g3; this._ZV._f3 = this._UV._f3; this._ZV._g3 = this._UV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = -this._TV._f3; this._YV._g3 = -this._TV._g3; this._ZV._f3 = this._TV._f3; this._ZV._g3 = this._TV._g3 } } else { this.__V = _7W >= 0.0 && _9W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = -this._TV._f3; this._YV._g3 = -this._TV._g3; this._ZV._f3 = this._TV._f3; this._ZV._g3 = this._TV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = -this._UV._f3; this._YV._g3 = -this._UV._g3; this._ZV._f3 = this._TV._f3; this._ZV._g3 = this._TV._g3 } } } else { this.__V = _7W >= 0.0; if (this.__V) { this._VV._f3 = this._TV._f3; this._VV._g3 = this._TV._g3; this._YV._f3 = -this._TV._f3; this._YV._g3 = -this._TV._g3; this._ZV._f3 = -this._TV._f3; this._ZV._g3 = -this._TV._g3 } else { this._VV._f3 = -this._TV._f3; this._VV._g3 = -this._TV._g3; this._YV._f3 = this._TV._f3; this._YV._g3 = this._TV._g3; this._ZV._f3 = this._TV._f3; this._ZV._g3 = this._TV._g3 } } this._LV._Ea = _4W._3Q; for (var _H3 = 0; _H3 < _4W._3Q; ++_H3) { this._LV._rb[_H3] = _fO(this._MV, _4W._2Q[_H3]); this._LV._oU[_H3] = _dO(this._MV._fu, _4W._lQ[_H3]) } this._iP = 2.0 * _lM; _pT._oT = 0; var _cW = this._dW(); if (_cW.type == _CV._DV) { return } if (_cW._nU > this._iP) { return } var _eW = this._fW(); if (_eW.type != _CV._DV && _eW._nU > this._iP) { return } var _gW = 0.98; var _hW = 0.001; var _iW = new _CV(); if (_eW.type == _CV._DV) { _iW = _cW } else if (_eW._nU > _gW * _cW._nU + _hW) { _iW = _eW } else { _iW = _cW } var _tQ = new Array(2); var _jW = new _HV(); if (_iW.type == _CV._EV) { _pT.type = _mT._rT; var _PR = 0; var _QR = this._VV._f3 * this._LV._oU[0]._f3 + this._VV._g3 * this._LV._oU[0]._g3; for (var _H3 = 1; _H3 < this._LV._Ea; ++_H3) { var value = this._VV._f3 * this._LV._oU[_H3]._f3 + this._VV._g3 * this._LV._oU[_H3]._g3; if (value < _QR) { _QR = value; _PR = _H3 } } var _hQ = _PR; var _iQ = _hQ + 1 < this._LV._Ea ? _hQ + 1 : 0; _tQ[0] = new _XT(); _tQ[0]._xb._f3 = this._LV._rb[_hQ]._f3; _tQ[0]._xb._g3 = this._LV._rb[_hQ]._g3; _tQ[0].id._TR = 0; _tQ[0].id._UR = _hQ; _tQ[0].id._cT = _bT._gT; _tQ[0].id._dT = _bT._fT; _tQ[1] = new _XT(); _tQ[1]._xb._f3 = this._LV._rb[_iQ]._f3; _tQ[1]._xb._g3 = this._LV._rb[_iQ]._g3; _tQ[1].id._TR = 0; _tQ[1].id._UR = _iQ; _tQ[1].id._cT = _bT._gT; _tQ[1].id._dT = _bT._fT; if (this.__V) { _jW._hQ = 0; _jW._iQ = 1; _jW._hc._f3 = this._PV._f3; _jW._hc._g3 = this._PV._g3; _jW._ic._f3 = this._QV._f3; _jW._ic._g3 = this._QV._g3; _jW._vP._f3 = this._TV._f3; _jW._vP._g3 = this._TV._g3 } else { _jW._hQ = 1; _jW._iQ = 0; _jW._hc._f3 = this._QV._f3; _jW._hc._g3 = this._QV._g3; _jW._ic._f3 = this._PV._f3; _jW._ic._g3 = this._PV._g3; _jW._vP._f3 = -this._TV._f3; _jW._vP._g3 = -this._TV._g3 } } else { _pT.type = _mT._sT; _tQ[0] = new _XT(); _tQ[0]._xb = this._PV; _tQ[0].id._TR = 0; _tQ[0].id._UR = _iW.index; _tQ[0].id._cT = _bT._fT; _tQ[0].id._dT = _bT._gT; _tQ[1] = new _XT(); _tQ[1]._xb = this._QV; _tQ[1].id._TR = 0; _tQ[1].id._UR = _iW.index; _tQ[1].id._cT = _bT._fT; _tQ[1].id._dT = _bT._gT; _jW._hQ = _iW.index; _jW._iQ = _jW._hQ + 1 < this._LV._Ea ? _jW._hQ + 1 : 0; _jW._hc._f3 = this._LV._rb[_jW._hQ]._f3; _jW._hc._g3 = this._LV._rb[_jW._hQ]._g3; _jW._ic._f3 = this._LV._rb[_jW._iQ]._f3; _jW._ic._g3 = this._LV._rb[_jW._iQ]._g3; _jW._vP._f3 = this._LV._oU[_jW._hQ]._f3; _jW._vP._g3 = this._LV._oU[_jW._hQ]._g3 } _jW._IV._f3 = _jW._vP._g3; _jW._IV._g3 = -_jW._vP._f3; _jW._JV._f3 = -_jW._IV._f3; _jW._JV._g3 = -_jW._IV._g3; _jW._gV = _jW._IV._f3 * _jW._hc._f3 + _jW._IV._g3 * _jW._hc._g3; _jW._hV = _jW._JV._f3 * _jW._ic._f3 + _jW._JV._g3 * _jW._ic._g3; var _iV = new Array(2); var _jV = new Array(2); var _kV; _kV = _lV(_iV, _tQ, _jW._IV._f3, _jW._IV._g3, _jW._gV, _jW._hQ); if (_kV < _fM) { return; } _kV = _lV(_jV, _iV, _jW._JV._f3, _jW._JV._g3, _jW._hV, _jW._iQ); if (_kV < _fM) { return } if (_iW.type == _CV._EV) { _pT._nT._f3 = _jW._vP._f3; _pT._nT._g3 = _jW._vP._g3; _pT._iT._f3 = _jW._hc._f3; _pT._iT._g3 = _jW._hc._g3 } else { _pT._nT._f3 = _4W._lQ[_jW._hQ]._f3; _pT._nT._g3 = _4W._lQ[_jW._hQ]._g3; _pT._iT._f3 = _4W._2Q[_jW._hQ]._f3; _pT._iT._g3 = _4W._2Q[_jW._hQ]._g3 } var _oT = 0; for (var _H3 = 0; _H3 < _fM; ++_H3) { var _nU = _jW._vP._f3 * (_jV[_H3]._xb._f3 - _jW._hc._f3) + _jW._vP._g3 * (_jV[_H3]._xb._g3 - _jW._hc._g3); if (_nU <= this._iP) { var _mV = _pT._e3[_oT] = new _hT(); if (_iW.type == _CV._EV) { _mV._iT._2N(_hO(this._MV, _jV[_H3]._xb)); _mV.id._2N(_jV[_H3].id) } else { _mV._iT._f3 = _jV[_H3]._xb._f3; _mV._iT._g3 = _jV[_H3]._xb._g3; _mV.id._cT = _jV[_H3].id._dT; _mV.id._dT = _jV[_H3].id._cT; _mV.id._TR = _jV[_H3].id._UR; _mV.id._UR = _jV[_H3].id._TR }++_oT } } _pT._oT = _oT }, _dW: function() { var _RO = new _CV(); _RO.type = _CV._EV; _RO.index = this.__V ? 0 : 1; _RO._nU = Number.MAX_VALUE; for (var _H3 = 0; _H3 < this._LV._Ea; ++_H3) { var _9q = this._VV._f3 * (this._LV._rb[_H3]._f3 - this._PV._f3) + this._VV._g3 * (this._LV._rb[_H3]._g3 - this._PV._g3); if (_9q < _RO._nU) { _RO._nU = _9q } } return _RO }, _fW: function() { var _RO = new _CV(); _RO.type = _CV._DV; _RO.index = -1; _RO._nU = -Number.MAX_VALUE; var _kW = -this._VV._g3; var _lW = this._VV._f3; for (var _H3 = 0; _H3 < this._LV._Ea; ++_H3) { var _Jc = -this._LV._oU[_H3]._f3; var _Kc = -this._LV._oU[_H3]._g3; var _lp = _Jc * (this._LV._rb[_H3]._f3 - this._PV._f3) + _Kc * (this._LV._rb[_H3]._g3 - this._PV._g3); var _mp = _Jc * (this._LV._rb[_H3]._f3 - this._QV._f3) + _Kc * (this._LV._rb[_H3]._g3 - this._QV._g3); var _9q = _qO(_lp, _mp); if (_9q > this._iP) { _RO.type = _CV._FV; _RO.index = _H3; _RO._nU = _9q; return _RO } if (_Jc * _kW + _Kc * _lW >= 0.0) { if ((_Jc - this._ZV._f3) * this._VV._f3 + (_Kc - this._ZV._g3) * this._VV._g3 < -_kM) { continue } } else { if ((_Jc - this._YV._f3) * this._VV._f3 + (_Kc - this._YV._g3) * this._VV._g3 < -_kM) { continue } } if (_9q > _RO._nU) { _RO.type = _CV._FV; _RO.index = _H3; _RO._nU = _9q } } return _RO } }; _KV._mW = 0; _KV._nW = 1; _KV._oW = 2; function _pW(_pT, _XU, _AT, _4W, _CT) { _pW._qW._3W(_pT, _XU, _AT, _4W, _CT) } _pW._qW = new _KV(); function _lV(_rW, _sW, _dV, _eV, _L3, _tW) { var _uW = 0; var _vW = (_dV * _sW[0]._xb._f3 + _eV * _sW[0]._xb._g3) - _L3; var _wW = (_dV * _sW[1]._xb._f3 + _eV * _sW[1]._xb._g3) - _L3; if (_vW <= 0.0) _rW[_uW++] = _sW[0]; if (_wW <= 0.0) _rW[_uW++] = _sW[1]; if (_vW * _wW < 0.0) { var _xW = _vW / (_vW - _wW); _rW[_uW] = new _XT(); _rW[_uW]._xb._f3 = _sW[0]._xb._f3 + (_xW * (_sW[1]._xb._f3 - _sW[0]._xb._f3)); _rW[_uW]._xb._g3 = _sW[0]._xb._g3 + (_xW * (_sW[1]._xb._g3 - _sW[0]._xb._g3)); _rW[_uW].id._TR = _tW; _rW[_uW].id._UR = _sW[0].id._UR; _rW[_uW].id._cT = _bT._fT; _rW[_uW].id._dT = _bT._gT; ++_uW } return _uW } function _yW(_zW, _TR, _AW, _UR, _AT, _CT) { _yW._2u._WR._gi(_zW, _TR); _yW._2u._XR._gi(_AW, _UR); _yW._2u._YR = _AT; _yW._2u._ZR = _CT; _yW._2u.__R = !0; _yW._Da._Ea = 0; _US(_yW._4u, _yW._Da, _yW._2u); return _yW._4u._uP < 10.0 * _dM } _yW._2u = new _VR(); _yW._Da = new _RR(); _yW._4u = new _0S(); function _qR(_kb, _W9) { return ! ((_W9._HP._f3 - _kb._IP._f3) > 0.0 || (_W9._HP._g3 - _kb._IP._g3) > 0.0 || (_kb._HP._f3 - _W9._IP._f3) > 0.0 || (_kb._HP._g3 - _W9._IP._g3) > 0.0) } var _BW = -1; function _CW() { this._pP = new __T(); this._dR = null; this.parent = 0; this._DW = this._EW = this.height = 0 } _CW.prototype = { _FW: function() { return this._DW == _BW } }; function _5R() { this._GW = _BW; this._HW = 16; this._IW = 0; this._JW = new Array(this._HW); for (var _H3 = 0; _H3 < this._HW - 1; ++_H3) { this._JW[_H3] = new _CW(); this._JW[_H3].parent = _H3 + 1; this._JW[_H3].height = -1; } this._JW[this._HW - 1] = new _CW(); this._JW[this._HW - 1].parent = _BW; this._JW[this._HW - 1].height = -1; this._KW = 0; this._LW = 0; this._MW = 0 } _5R._NW = new _ZM(_hM, _hM); _5R.prototype = { _cR: function(_pP, _dR) { var _eR = this._OW(); this._JW[_eR]._pP._HP._2N(_ZM._6N(_pP._HP, _5R._NW)); this._JW[_eR]._pP._IP._2N(_ZM._Wh(_pP._IP, _5R._NW)); this._JW[_eR]._dR = _dR; this._JW[_eR].height = 0; this._PW(_eR); return _eR }, _gR: function(_eR) { _9M(0 <= _eR && _eR < this._HW); _9M(this._JW[_eR]._FW()); this._QW(_eR); this._RW(_eR) }, _iR: function(_eR, _pP, _jR) { _9M(0 <= _eR && _eR < this._HW); _9M(this._JW[_eR]._FW()); if (this._JW[_eR]._pP._8U(_pP)) { return ! 1 } this._QW(_eR); this._JW[_eR]._pP._2N(_pP); this._JW[_eR]._pP._HP._6N(_5R._NW); this._JW[_eR]._pP._IP._Wh(_5R._NW); var _mk = _ZM._Vo(_iM, _jR); if (_mk._f3 < 0.0) { this._JW[_eR]._pP._HP._f3 += _mk._f3 } else { this._JW[_eR]._pP._IP._f3 += _mk._f3 } if (_mk._g3 < 0.0) { this._JW[_eR]._pP._HP._g3 += _mk._g3 } else { this._JW[_eR]._pP._IP._g3 += _mk._g3 } this._PW(_eR); return ! 0 }, _mR: function(_eR) { _9M(0 <= _eR && _eR < this._HW); return this._JW[_eR]._dR }, _lR: function(_eR) { _9M(0 <= _eR && _eR < this._HW); return this._JW[_eR]._pP }, _wR: function(_tR, _pP) { var _Gi = []; _Gi.push(this._GW); while (_Gi.length > 0) { var _SW = _Gi.pop(); if (_SW == _BW) { continue } var _aI = this._JW[_SW]; if (_qR(_aI._pP, _pP)) { if (_aI._FW()) { var _TW = _tR._KR(_SW); if (_TW == !1) { return } } else { _Gi.push(_aI._DW); _Gi.push(_aI._EW) } } } }, _mP: function(_tR, _2u) { var _TO = _2u._TO; var _UO = _2u._UO; var _T9 = _ZM._6N(_UO, _TO); _9M(_T9._8N() > 0.0); _T9._9N(); var _xb = _1O(1.0, _T9); var _UW = _oO(_xb); var _FP = _2u._FP; var _VW = new __T(); { var _V9 = _ZM._Wh(_TO, _ZM._Vo(_FP, _ZM._6N(_UO, _TO))); _VW._HP._2N(_rO(_TO, _V9)); _VW._IP._2N(_tO(_TO, _V9)) } var _Gi = []; _Gi.push(this._GW); while (_Gi.length > 0) { var _SW = _Gi.pop(); if (_SW == _BW) { continue } var _aI = this._JW[_SW]; if (_qR(_aI._pP, _VW) == !1) { continue } var _I3 = _aI._pP._2U(); var _K3 = _aI._pP._3U(); var _nU = _nO(_ZN(_xb, _ZM._6N(_TO, _I3))) - _ZN(_UW, _K3); if (_nU > 0.0) { continue } if (_aI._FW()) { var _WW = new _YT(); _WW._TO._2N(_2u._TO); _WW._UO._2N(_2u._UO); _WW._FP = _FP; var value = _tR._XW(_WW, _SW); if (value == 0.0) { return } if (value > 0.0) { _FP = value; var _V9 = _ZM._Wh(_TO, _ZM._Vo(_FP, _ZM._6N(_UO, _TO))); _VW._HP._2N(_rO(_TO, _V9)); _VW._IP._2N(_tO(_TO, _V9)) } } else { _Gi.push(_aI._DW); _Gi.push(_aI._EW) } } }, _OQ: function() { this._YW(this._GW); this._ZW(this._GW); var __W = 0; var _0X = this._KW; while (_0X != _BW) { _9M(0 <= _0X && _0X < this._HW); _0X = this._JW[_0X].parent; ++__W } _9M(this._DR() == this._1X()); _9M(this._IW + __W == this._HW) }, _DR: function() { if (this._GW == _BW) { return 0 } return this._JW[this._GW].height }, _FR: function() { var _2X = 0; for (var _H3 = 0; _H3 < this._HW; ++_H3) { var _aI = this._JW[_H3]; if (_aI.height <= 1) { continue } _9M(_aI._FW() == !1); var _DW = _aI._DW; var _EW = _aI._EW; var _3X = _nO(this._JW[_EW].height - this._JW[_DW].height); _2X = _sO(_2X, _3X) } return _2X }, _HR: function() { if (this._GW == _BW) { return 0.0 } var _19 = this._JW[this._GW]; var _4X = _19._pP._4U(); var _5X = 0.0; for (var _H3 = 0; _H3 < this._HW; ++_H3) { var _aI = this._JW[_H3]; if (_aI.height < 0) { continue } _5X += _aI._pP._4U() } return _5X / _4X }, _6X: function() { var _7X = new Array(this._IW); var _Ea = 0; for (var _H3 = 0; _H3 < this._HW; ++_H3) { if (this._JW[_H3].height < 0) { continue } if (this._JW[_H3]._FW()) { this._JW[_H3].parent = _BW; _7X[_Ea] = _H3; ++_Ea } else { this._RW(_H3) } } while (_Ea > 1) { var _8X = _cM; var _9X = -1, _aX = -1; for (_H3 = 0; _H3 < _Ea; ++_H3) { var _bX = this._JW[_7X[_H3]]._pP; for (var __9 = _H3 + 1; __9 < _Ea; ++__9) { var _cX = this._JW[_7X[__9]]._pP; var _W9 = new __T(); _W9._5U(_bX, _cX); var _dX = _W9._4U(); if (_dX < _8X) { _9X = _H3; _aX = __9; _8X = _dX } } } var _eX = _7X[_9X]; var _fX = _7X[_aX]; var _DW = this._JW[_eX]; var _EW = this._JW[_fX]; var _gX = this._OW(); var parent = this._JW[_gX]; parent._DW = _eX; parent._EW = _fX; parent.height = 1 + _sO(_DW.height, _EW.height); parent._pP._5U(_DW._pP, _EW._pP); parent.parent = _BW; _DW.parent = _gX; _EW.parent = _gX; _7X[_aX] = _7X[_Ea - 1]; _7X[_9X] = _gX; --_Ea } this._GW = _7X[0]; this._OQ() }, _IR: function(_JR) { for (var _H3 = 0; _H3 < this._HW; ++_H3) { this._JW[_H3]._pP._HP._6N(_JR); this._JW[_H3]._pP._IP._6N(_JR) } }, _OW: function() { if (this._KW == _BW) { _9M(this._IW == this._HW); var _hX = this._JW; this._HW *= 2; this._JW = _hX.concat(new Array(this._HW - this._IW)); for (var _H3 = this._IW; _H3 < this._HW - 1; ++_H3) { this._JW[_H3] = new _CW(); this._JW[_H3].parent = _H3 + 1; this._JW[_H3].height = -1 } this._JW[this._HW - 1] = new _CW(); this._JW[this._HW - 1].parent = _BW; this._JW[this._HW - 1].height = -1; this._KW = this._IW } var _SW = this._KW; this._KW = this._JW[_SW].parent; this._JW[_SW].parent = _BW; this._JW[_SW]._DW = _BW; this._JW[_SW]._EW = _BW; this._JW[_SW].height = 0; this._JW[_SW]._dR = null; ++this._IW; return _SW }, _RW: function(_SW) { _9M(0 <= _SW && _SW < this._HW); _9M(0 < this._IW); this._JW[_SW].parent = this._KW; this._JW[_SW].height = -1; this._KW = _SW; --this._IW }, _PW: function(_iX) {++this._MW; if (this._GW == _BW) { this._GW = _iX; this._JW[this._GW].parent = _BW; return } var _jX = this._JW[_iX]._pP; var index = this._GW; while (this._JW[index]._FW() == !1) { var _DW = this._JW[index]._DW; var _EW = this._JW[index]._EW; var _CQ = this._JW[index]._pP._4U(); var _kX = new __T(); _kX._5U(this._JW[index]._pP, _jX); var _lX = _kX._4U(); var _dX = 2.0 * _lX; var _mX = 2.0 * (_lX - _CQ); var _nX; var _pP; if (this._JW[_DW]._FW()) { _pP = new __T(); _pP._5U(_jX, this._JW[_DW]._pP); _nX = _pP._4U() + _mX } else { _pP = new __T(); _pP._5U(_jX, this._JW[_DW]._pP); var _oX = this._JW[_DW]._pP._4U(); var _pX = _pP._4U(); _nX = (_pX - _oX) + _mX } var _qX; if (this._JW[_EW]._FW()) { _pP = new __T(); _pP._5U(_jX, this._JW[_EW]._pP); _qX = _pP._4U() + _mX } else { _pP = new __T(); _pP._5U(_jX, this._JW[_EW]._pP); var _oX = this._JW[_EW]._pP._4U(); var _pX = _pP._4U(); _qX = _pX - _oX + _mX } if (_dX < _nX && _dX < _qX) { break } if (_nX < _qX) { index = _DW } else { index = _EW } } var _rX = index; var _sX = this._JW[_rX].parent; var _tX = this._OW(); this._JW[_tX].parent = _sX; this._JW[_tX]._dR = null; this._JW[_tX]._pP._5U(_jX, this._JW[_rX]._pP); this._JW[_tX].height = this._JW[_rX].height + 1; if (_sX != _BW) { if (this._JW[_sX]._DW == _rX) { this._JW[_sX]._DW = _tX; } else { this._JW[_sX]._EW = _tX } this._JW[_tX]._DW = _rX; this._JW[_tX]._EW = _iX; this._JW[_rX].parent = _tX; this._JW[_iX].parent = _tX } else { this._JW[_tX]._DW = _rX; this._JW[_tX]._EW = _iX; this._JW[_rX].parent = _tX; this._JW[_iX].parent = _tX; this._GW = _tX } index = this._JW[_iX].parent; while (index != _BW) { index = this._uX(index); var _DW = this._JW[index]._DW; var _EW = this._JW[index]._EW; _9M(_DW != _BW); _9M(_EW != _BW); this._JW[index].height = 1 + _sO(this._JW[_DW].height, this._JW[_EW].height); this._JW[index]._pP._5U(this._JW[_DW]._pP, this._JW[_EW]._pP); index = this._JW[index].parent } }, _QW: function(_iX) { if (_iX == this._GW) { this._GW = _BW; return } var parent = this._JW[_iX].parent; var _vX = this._JW[parent].parent; var _rX; if (this._JW[parent]._DW == _iX) { _rX = this._JW[parent]._EW } else { _rX = this._JW[parent]._DW } if (_vX != _BW) { if (this._JW[_vX]._DW == parent) { this._JW[_vX]._DW = _rX } else { this._JW[_vX]._EW = _rX } this._JW[_rX].parent = _vX; this._RW(parent); var index = _vX; while (index != _BW) { index = this._uX(index); var _DW = this._JW[index]._DW; var _EW = this._JW[index]._EW; this._JW[index]._pP._5U(this._JW[_DW]._pP, this._JW[_EW]._pP); this._JW[index].height = 1 + _sO(this._JW[_DW].height, this._JW[_EW].height); index = this._JW[index].parent } } else { this._GW = _rX; this._JW[_rX].parent = _BW; this._RW(parent) } }, _uX: function(_wX) { _9M(_wX != _BW); var _aM = this._JW[_wX]; if (_aM._FW() || _aM.height < 2) { return _wX } var _xX = _aM._DW; var _yX = _aM._EW; _9M(0 <= _xX && _xX < this._HW); _9M(0 <= _yX && _yX < this._HW); var _pN = this._JW[_xX]; var _jO = this._JW[_yX]; var _3X = _jO.height - _pN.height; if (_3X > 1) { var _zX = _jO._DW; var _AX = _jO._EW; var _BX = this._JW[_zX]; var _CX = this._JW[_AX]; _9M(0 <= _zX && _zX < this._HW); _9M(0 <= _AX && _AX < this._HW); _jO._DW = _wX; _jO.parent = _aM.parent; _aM.parent = _yX; if (_jO.parent != _BW) { if (this._JW[_jO.parent]._DW == _wX) { this._JW[_jO.parent]._DW = _yX } else { _9M(this._JW[_jO.parent]._EW == _wX); this._JW[_jO.parent]._EW = _yX } } else { this._GW = _yX } if (_BX.height > _CX.height) { _jO._EW = _zX; _aM._EW = _AX; _CX.parent = _wX; _aM._pP._5U(_pN._pP, _CX._pP); _jO._pP._5U(_aM._pP, _BX._pP); _aM.height = 1 + _sO(_pN.height, _CX.height); _jO.height = 1 + _sO(_aM.height, _BX.height) } else { _jO._EW = _AX; _aM._EW = _zX; _BX.parent = _wX; _aM._pP._5U(_pN._pP, _BX._pP); _jO._pP._5U(_aM._pP, _CX._pP); _aM.height = 1 + _sO(_pN.height, _BX.height); _jO.height = 1 + _sO(_aM.height, _CX.height) } return _yX } if (_3X < -1) { var _DX = _pN._DW; var _EX = _pN._EW; var _GQ = this._JW[_DX]; var _FX = this._JW[_EX]; _9M(0 <= _DX && _DX < this._HW); _9M(0 <= _EX && _EX < this._HW); _pN._DW = _wX; _pN.parent = _aM.parent; _aM.parent = _xX; if (_pN.parent != _BW) { if (this._JW[_pN.parent]._DW == _wX) { this._JW[_pN.parent]._DW = _xX } else { _9M(this._JW[_pN.parent]._EW == _wX); this._JW[_pN.parent]._EW = _xX } } else { this._GW = _xX } if (_GQ.height > _FX.height) { _pN._EW = _DX; _aM._DW = _EX; _FX.parent = _wX; _aM._pP._5U(_jO._pP, _FX._pP); _pN._pP._5U(_aM._pP, _GQ._pP); _aM.height = 1 + _sO(_jO.height, _FX.height); _pN.height = 1 + _sO(_aM.height, _GQ.height) } else { _pN._EW = _EX; _aM._DW = _DX; _GQ.parent = _wX; _aM._pP._5U(_jO._pP, _GQ._pP); _pN._pP._5U(_aM._pP, _FX._pP); _aM.height = 1 + _sO(_jO.height, _GQ.height); _pN.height = 1 + _sO(_aM.height, _FX.height) } return _xX } return _wX }, _1X: function(_SW) { if (typeof(_SW) === 'undefined') _SW = this._GW; _9M(0 <= _SW && _SW < this._HW); var _aI = this._JW[_SW]; if (_aI._FW()) { return 0 } var _GX = this._1X(_aI._DW); var _HX = this._1X(_aI._EW); return 1 + _sO(_GX, _HX) }, _YW: function(index) { if (index == _BW) { return } if (index == this._GW) { _9M(this._JW[index].parent == _BW) } var _aI = this._JW[index]; var _DW = _aI._DW; var _EW = _aI._EW; if (_aI._FW()) { _9M(_DW == _BW); _9M(_EW == _BW); _9M(_aI.height == 0); return } _9M(0 <= _DW && _DW < this._HW); _9M(0 <= _EW && _EW < this._HW); _9M(this._JW[_DW].parent == index); _9M(this._JW[_EW].parent == index); this._YW(_DW); this._YW(_EW) }, _ZW: function(index) { if (index == _BW) { return } var _aI = this._JW[index]; var _DW = _aI._DW; var _EW = _aI._EW; if (_aI._FW()) { _9M(_DW == _BW); _9M(_EW == _BW); _9M(_aI.height == 0); return } _9M(0 <= _DW && _DW < this._HW); _9M(0 <= _EW && _EW < this._HW); var _GX = this._JW[_DW].height; var _HX = this._JW[_EW].height; var height; height = 1 + _sO(_GX, _HX); _9M(_aI.height == height); var _pP = new __T(); _pP._5U(this._JW[_DW]._pP, this._JW[_EW]._pP); _9M(_ZM._gN(_pP._HP, _aI._pP._HP)); _9M(_ZM._gN(_pP._IP, _aI._pP._IP)); this._ZW(_DW); this._ZW(_EW) } }; function _IX() { this._WR = new _LR(); this._XR = new _LR(); this._JX = new _PN(); this._KX = new _PN(); this._LX = 0 }; function _MX() { this._Lz = 0; this._V9 = 0 }; _MX._DV = 0; _MX._NX = 1; _MX._OX = 2; _MX._PX = 3; _MX._QX = 4; function _RX() { this._SX = null; this._TX = null; this._UX = null; this._VX = null; this._hP = 0; this._WX = new _ZM(); this._XX = new _ZM() } var _YX = new _NN(); var _ZX = new _NN(); _RX.prototype = { _zT: function(_Da, _WR, _JX, _XR, _KX, _dU) { this._SX = _WR; this._TX = _XR; var _Ea = _Da._Ea; _9M(0 < _Ea && _Ea < 3); this._UX = _JX; this._VX = _KX; this._UX._VN(_YX, _dU); this._VX._VN(_ZX, _dU); if (_Ea == 1) { this._hP = _RX.__X; var _0Y = this._SX._MP(_Da._TR[0]); var _1Y = this._TX._MP(_Da._UR[0]); var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3; var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3; this._XX._f3 = _GT - _ET; this._XX._g3 = _HT - _FT; var _9q = this._XX._9N(); return _9q } else if (_Da._TR[0] == _Da._TR[1]) { this._hP = _RX._sT; var _2Y = _XR._MP(_Da._UR[0]); var _3Y = _XR._MP(_Da._UR[1]); this._XX._f3 = 1.0 * (_3Y._g3 - _2Y._g3); this._XX._g3 = -1.0 * (_3Y._f3 - _2Y._f3); this._XX._9N(); var _dV = _ZX._fu._I3 * this._XX._f3 - _ZX._fu._9q * this._XX._g3; var _eV = _ZX._fu._9q * this._XX._f3 + _ZX._fu._I3 * this._XX._g3; this._WX._f3 = 0.5 * (_2Y._f3 + _3Y._f3); this._WX._g3 = 0.5 * (_2Y._g3 + _3Y._g3); var _GT = (_ZX._fu._I3 * this._WX._f3 - _ZX._fu._9q * this._WX._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * this._WX._f3 + _ZX._fu._I3 * this._WX._g3) + _ZX._mv._g3; var _0Y = _WR._MP(_Da._TR[0]); var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3; var _9q = (_ET - _GT) * _dV + (_FT - _HT) * _eV; if (_9q < 0.0) { this._XX._f3 = -this._XX._f3; this._XX._g3 = -this._XX._g3; _9q = -_9q } return _9q } else { this._hP = _RX._rT; var _4Y = this._SX._MP(_Da._TR[0]); var _5Y = this._SX._MP(_Da._TR[1]); this._XX._f3 = 1.0 * (_5Y._g3 - _4Y._g3); this._XX._g3 = -1.0 * (_5Y._f3 - _4Y._f3); this._XX._9N(); var _dV = _YX._fu._I3 * this._XX._f3 - _YX._fu._9q * this._XX._g3; var _eV = _YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3; this._WX._f3 = 0.5 * (_4Y._f3 + _5Y._f3); this._WX._g3 = 0.5 * (_4Y._g3 + _5Y._g3); var _ET = (_YX._fu._I3 * this._WX._f3 - _YX._fu._9q * this._WX._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * this._WX._f3 + _YX._fu._I3 * this._WX._g3) + _YX._mv._g3; var _1Y = this._TX._MP(_Da._UR[0]); var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3; var _9q = (_GT - _ET) * _dV + (_HT - _FT) * _eV; if (_9q < 0.0) { this._XX._f3 = -this._XX._f3; this._XX._g3 = -this._XX._g3; _9q = -_9q } return _9q } }, _6Y: function(_7Y, _V9) { this._UX._VN(_YX, _V9); this._VX._VN(_ZX, _V9); switch (this._hP) { case _RX.__X: { var _8Y = _YX._fu._I3 * this._XX._f3 + _YX._fu._9q * this._XX._g3; var _9Y = -_YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3; var _aY = _ZX._fu._I3 * -this._XX._f3 + _ZX._fu._9q * -this._XX._g3; var _bY = -_ZX._fu._9q * -this._XX._f3 + _ZX._fu._I3 * -this._XX._g3; _7Y[0] = this._SX._JP(_8Y, _9Y); _7Y[1] = this._TX._JP(_aY, _bY); var _0Y = this._SX._MP(_7Y[0]); var _1Y = this._TX._MP(_7Y[1]); var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3; var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3; return (_GT - _ET) * this._XX._f3 + (_HT - _FT) * this._XX._g3 } case _RX._rT: { var _dV = _YX._fu._I3 * this._XX._f3 - _YX._fu._9q * this._XX._g3; var _eV = _YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3; var _ET = (_YX._fu._I3 * this._WX._f3 - _YX._fu._9q * this._WX._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * this._WX._f3 + _YX._fu._I3 * this._WX._g3) + _YX._mv._g3; var _aY = _ZX._fu._I3 * -_dV + _ZX._fu._9q * -_eV; var _bY = -_ZX._fu._9q * -_dV + _ZX._fu._I3 * -_eV; _7Y[0] = -1; _7Y[1] = this._TX._JP(_aY, _bY); var _1Y = this._TX._MP(_7Y[1]); var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3; return (_GT - _ET) * _dV + (_HT - _FT) * _eV } case _RX._sT: { var _dV = _ZX._fu._I3 * this._XX._f3 - _ZX._fu._9q * this._XX._g3; var _eV = _ZX._fu._9q * this._XX._f3 + _ZX._fu._I3 * this._XX._g3; var _GT = (_ZX._fu._I3 * this._WX._f3 - _ZX._fu._9q * this._WX._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * this._WX._f3 + _ZX._fu._I3 * this._WX._g3) + _ZX._mv._g3; var _8Y = _YX._fu._I3 * -_dV + _YX._fu._9q * -_eV; var _bY = -_YX._fu._9q * -_dV + _YX._fu._I3 * -_eV; _7Y[1] = -1; _7Y[0] = this._SX._JP(_8Y, _bY); var _0Y = this._SX._MP(_7Y[0]); var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3; return (_ET - _GT) * _dV + (_FT - _HT) * _eV } default: _9M(!1); _7Y[0] = -1; _7Y[1] = -1; return 0.0 } }, _cY: function(_TR, _UR, _V9) { this._UX._VN(_YX, _V9); this._VX._VN(_ZX, _V9); switch (this._hP) { case _RX.__X: { var _0Y = this._SX._MP(_TR); var _1Y = this._TX._MP(_UR); var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3; var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3; var _nU = (_GT - _ET) * this._XX._f3 + (_HT - _FT) * this._XX._g3; return _nU } case _RX._rT: { var _dV = _YX._fu._I3 * this._XX._f3 - _YX._fu._9q * this._XX._g3; var _eV = _YX._fu._9q * this._XX._f3 + _YX._fu._I3 * this._XX._g3; var _ET = (_YX._fu._I3 * this._WX._f3 - _YX._fu._9q * this._WX._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * this._WX._f3 + _YX._fu._I3 * this._WX._g3) + _YX._mv._g3; var _1Y = this._TX._MP(_UR); var _GT = (_ZX._fu._I3 * _1Y._f3 - _ZX._fu._9q * _1Y._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * _1Y._f3 + _ZX._fu._I3 * _1Y._g3) + _ZX._mv._g3; var _nU = (_GT - _ET) * _dV + (_HT - _FT) * _eV; return _nU } case _RX._sT: { var _dV = _ZX._fu._I3 * this._XX._f3 - _ZX._fu._9q * this._XX._g3; var _eV = _ZX._fu._9q * this._XX._f3 + _ZX._fu._I3 * this._XX._g3; var _GT = (_ZX._fu._I3 * this._WX._f3 - _ZX._fu._9q * this._WX._g3) + _ZX._mv._f3; var _HT = (_ZX._fu._9q * this._WX._f3 + _ZX._fu._I3 * this._WX._g3) + _ZX._mv._g3; var _0Y = this._SX._MP(_TR); var _ET = (_YX._fu._I3 * _0Y._f3 - _YX._fu._9q * _0Y._g3) + _YX._mv._f3; var _FT = (_YX._fu._9q * _0Y._f3 + _YX._fu._I3 * _0Y._g3) + _YX._mv._g3; var _nU = (_ET - _GT) * _dV + (_FT - _HT) * _eV; return _nU } default: _9M(!1); return 0.0 } } }; _RX.__X = 0; _RX._rT = 1; _RX._sT = 2; var _dY = _RL._2M("toi", "solveTOI"); function _eY(_4u, _2u) { _dY.start(); ++_eY._fY; _4u._Lz = _MX._DV; _4u._V9 = _2u._LX; var _WR = _2u._WR; var _XR = _2u._XR; _eY._gY._2N(_2u._JX); _eY._hY._2N(_2u._KX); _eY._gY._9N(); _eY._hY._9N(); var _LX = _2u._LX; var _WU = _WR._iP + _XR._iP; var target = _sO(_jM, _WU - 3.0 * _jM); var _iY = 0.25 * _jM; _9M(target > _iY); var _dU = 0.0; var _jY = 20; var _1T = 0; var _Da = new _RR(); _Da._Ea = 0; var _kY = new _VR(); _kY._WR._2N(_2u._WR); _kY._XR._2N(_2u._XR); _kY.__R = !1; for (;;) { _eY._gY._VN(_kY._YR, _dU); _eY._hY._VN(_kY._ZR, _dU); var _lY = new _0S(); _US(_lY, _Da, _kY); if (_lY._uP <= 0.0) { _4u._Lz = _MX._OX; _4u._V9 = 0.0; break } if (_lY._uP < target + _iY) { _4u._Lz = _MX._PX; _4u._V9 = _dU; break } var _mY = new _RX(); _mY._zT(_Da, _WR, _eY._gY, _XR, _eY._hY, _dU); var _nY = !1; var _eU = _LX; var _oY = 0; for (;;) { var _7Y = []; var _mp = _mY._6Y(_7Y, _eU); if (_mp > target + _iY) { _4u._Lz = _MX._QX; _4u._V9 = _LX; _nY = !0; break } if (_mp > target - _iY) { _dU = _eU; break } var _lp = _mY._cY(_7Y[0], _7Y[1], _dU); if (_lp < target - _iY) { _4u._Lz = _MX._NX; _4u._V9 = _dU; _nY = !0; break } if (_lp <= target + _iY) { _4u._Lz = _MX._PX; _4u._V9 = _dU; _nY = !0; break } var _pY = 0; var _CH = _dU, _DH = _eU; for (;;) { var _V9; if (_pY & 1) { _V9 = _CH + (target - _lp) * (_DH - _CH) / (_mp - _lp) } else { _V9 = 0.5 * (_CH + _DH) }++_pY; ++_eY._qY; var _9q = _mY._cY(_7Y[0], _7Y[1], _V9); if (_nO(_9q - target) < _iY) { _eU = _V9; break } if (_9q > target) { _CH = _V9; _lp = _9q; } else { _DH = _V9; _mp = _9q } if (_pY == 50) { break } } _eY._rY = _sO(_eY._rY, _pY); ++_oY; if (_oY == _gM) { break } }++_1T; ++_eY._sY; if (_nY) { break } if (_1T == _jY) { _4u._Lz = _MX._NX; _4u._V9 = _dU; break } } _eY._tY = _sO(_eY._tY, _1T); _dY.stop(); _eY._uY = _sO(_eY._uY, _dY._WL); _eY._vY += _dY._WL } _eY._gY = new _PN(); _eY._hY = new _PN(); _eY._vY = 0; _eY._uY = 0; _eY._fY = 0; _eY._sY = 0; _eY._tY = 0; _eY._qY = 0; _eY._rY = 0; function _wY() { this.type = _xY._yY; this.position = new _ZM(0.0, 0.0); this._0b = 0.0; this._zY = new _ZM(0.0, 0.0); this._AY = 0.0; this._BY = 0.0; this._CY = 0.0; this._DY = !0; this._EY = !0; this._FY = !1; this._GY = !1; this._HY = !0; this._dR = null; this._IY = 1.0; Object.seal(this) } _wY.prototype = { _fN: function(data) { this.type = data['type']; this.position._fN(data['position']); this._0b = data['angle']; this._zY._fN(data['linearVelocity']); this._AY = data['angularVelocity']; this._BY = data['linearDamping']; this._CY = data['angularDamping']; this._DY = data['allowSleep']; this._EY = data['awake']; this._FY = data['fixedRotation']; this._GY = data['bullet']; this._HY = data['active']; this._IY = data['gravityScale'] } }; function _xY(_JY, _KY) { _9M(_JY.position._bN()); _9M(_JY._zY._bN()); _9M(_PM(_JY._0b)); _9M(_PM(_JY._AY)); _9M(_PM(_JY._CY) && _JY._CY >= 0.0); _9M(_PM(_JY._BY) && _JY._BY >= 0.0); this._LY = 0; this._MY = 0; if (_JY._GY) { this._MY |= _xY._NY } if (_JY._FY) { this._MY |= _xY._OY } if (_JY._DY) { this._MY |= _xY._PY } if (_JY._EY) { this._MY |= _xY._QY } if (_JY._HY) { this._MY |= _xY._RY } this._SY = _KY; this._MV = new _NN(); this._MV._mv._2N(_JY.position); this._MV._fu._gi(_JY._0b); this._TY = new _NN(); this._TY._2N(this._MV); this._UY = new _PN(); this._UY._QN.__M(); this._UY._RN._2N(this._MV._mv); this._UY._I3._2N(this._MV._mv); this._UY._TN = _JY._0b; this._UY._kb = _JY._0b; this._UY._UN = 0.0; this._VY = null; this._WY = null; this._XY = null; this._YY = null; this._ZY = _JY._zY._u8(); this.__Y = _JY._AY; this._0Z = _JY._BY; this._1Z = _JY._CY; this._2Z = _JY._IY; this._3Z = new _ZM(); this._4Z = 0.0; this._5Z = 0.0; this._hP = _JY.type; if (this._hP == _xY._6Z) { this._7Z = 1.0; this._8Z = 1.0 } else { this._7Z = 0.0; this._8Z = 0.0 } this._9Z = 0.0; this._aZ = 0.0; this._bZ = _JY._dR; this._cZ = null; this._dZ = 0 } _xY._yY = 0; _xY._eZ = 1; _xY._6Z = 2; _xY._fZ = 0x0001; _xY._QY = 0x0002; _xY._PY = 0x0004; _xY._NY = 0x0008; _xY._OY = 0x0010; _xY._RY = 0x0020; _xY._gZ = 0x0040; _xY._hZ = new _ZM(); _xY._iZ = new _NN(); _xY.prototype = { _jZ: function(_kZ, _sP) { if (typeof(_sP) !== 'undefined') { var _lZ = new _mZ(); _lZ._DP = _kZ; _lZ._sP = _sP; return this._jZ(_lZ) } _9M(this._SY._nZ() == !1); if (this._SY._nZ() == !0) { return null } var _TC = new _oZ(); _TC._pZ(this, _kZ); if (this._MY & _xY._RY) { var _qZ = this._SY._rZ._sZ; _TC._tZ(_qZ, this._MV) } _TC._YY = this._cZ; this._cZ = _TC; ++this._dZ; _TC._uZ = this; if (_TC._vZ > 0.0) { this._wZ() } this._SY._MY |= _xZ._yZ; return _TC }, _zZ: function(_TC) { _9M(this._SY._nZ() == !1); if (this._SY._nZ() == !0) { return } _9M(_TC._uZ == this); _9M(this._dZ > 0); var _aI = this._cZ; var _AZ = !1; while (_aI != null) { if (_aI == _TC) { this._cZ = _aI = _TC._YY; _AZ = !0; break } _aI = _aI._YY } _9M(_AZ); var _gQ = this._WY; while (_gQ) { var _I3 = _gQ._BZ; _gQ = _gQ._ni; var _CZ = _I3._DZ(); var _EZ = _I3._FZ(); if (_TC == _CZ || _TC == _EZ) { this._SY._rZ._GZ(_I3) } } if (this._MY & _xY._RY) { var _qZ = this._SY._rZ._sZ; _TC._HZ(_qZ) } _TC._GZ(); _TC._uZ = null; _TC._YY = null; --this._dZ; this._wZ() }, _IZ: function(position, _0b) { _9M(this._SY._nZ() == !1); if (this._SY._nZ() == !0) { return } this._MV._fu._gi(_0b); this._MV._mv._2N(position); this._TY._2N(this._MV); this._UY._I3._2N(_fO(this._MV, this._UY._QN)); this._UY._kb = _0b; this._UY._RN._2N(this._UY._I3); this._UY._TN = _0b; var _qZ = this._SY._rZ._sZ; for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) { _Mq._JZ(_qZ, this._MV, this._MV) } }, _VN: function() { return this._MV }, _JC: function() { return this._MV._mv }, _KN: function() { return this._UY._kb }, _KZ: function() { return this._UY._I3 }, _LZ: function() { return this._UY._QN }, _MZ: function(_xb) { if (this._hP == _xY._yY) { return } if (_ZN(_xb, _xb) > 0.0) { this._gD(!0) } this._ZY = _xb }, _NZ: function() { return this._ZY }, _OZ: function(_J3) { if (this._hP == _xY._yY) { return } if (_J3 * _J3 > 0.0) { this._gD(!0); } this.__Y = _J3 }, _PZ: function() { return this.__Y }, _QZ: function(_RZ, _lT, _SZ) { if (this._hP != _xY._6Z) { return } if (_SZ && (this._MY & _xY._QY) == 0) { this._gD(!0) } if (this._MY & _xY._QY) { this._3Z._Wh(_RZ); this._4Z += __N(_ZM._6N(_lT, this._UY._I3), _RZ) } }, _TZ: function(_RZ, _SZ) { if (this._hP != _xY._6Z) { return } if (_SZ && (this._MY & _xY._QY) == 0) { this._gD(!0) } if (this._MY & _xY._QY) { this._3Z._Wh(_RZ) } }, _UZ: function(_VZ, _SZ) { if (this._hP != _xY._6Z) { return } if (_SZ && (this._MY & _xY._QY) == 0) { this._gD(!0); } if (this._MY & _xY._QY) { this._4Z += _VZ } }, _WZ: function(_XZ, _lT, _SZ) { if (this._hP != _xY._6Z) { return } if (_SZ && (this._MY & _xY._QY) == 0) { this._gD(!0) } if (this._MY & _xY._QY) { this._ZY._Wh(_ZM._Vo(this._8Z, _XZ)); this.__Y += this._aZ * __N(_ZM._6N(_lT, this._UY._I3), _XZ) } }, _YZ: function(_XZ, _SZ) { if (this._hP != _xY._6Z) { return } if (_SZ && (this._MY & _xY._QY) == 0) { this._gD(!0) } if (this._MY & _xY._QY) { this.__Y += this._aZ * _XZ } }, _ZZ: function() { return this._7Z }, __Z: function() { return this._9Z + this._7Z * _ZN(this._UY._QN, this._UY._QN) }, _0_: function(data) { data._eP = this._7Z; data._fP = this._9Z + this._7Z * _ZN(this._UY._QN, this._UY._QN); data._OO = this._UY._QN }, _1_: function(_rP) { _9M(this._SY._nZ() == !1); if (this._SY._nZ() == !0) { return } if (this._hP != _xY._6Z) { return } this._8Z = 0.0; this._9Z = 0.0; this._aZ = 0.0; this._7Z = _rP._eP; if (this._7Z <= 0.0) { this._7Z = 1.0 } this._8Z = 1.0 / this._7Z; if (_rP._fP > 0.0 && (this._MY & _xY._OY) == 0) { this._9Z = _rP._fP - this._7Z * _ZN(_rP._OO, _rP._OO); _9M(this._9Z > 0.0); this._aZ = 1.0 / this._9Z; } _xY._hZ._2N(this._UY._I3); this._UY._QN._2N(_rP._OO); this._UY._RN._2N(_fO(this._MV, this._UY._QN)); this._UY._I3._2N(this._UY._RN); this._ZY._Wh(_1O(this.__Y, _ZM._6N(this._UY._I3, _xY._hZ))) }, _wZ: function() { this._7Z = 0.0; this._8Z = 0.0; this._9Z = 0.0; this._aZ = 0.0; this._UY._QN.__M(); if (this._hP == _xY._yY || this._hP == _xY._eZ) { this._UY._RN._2N(this._MV._mv); this._UY._I3._2N(this._MV._mv); this._UY._TN = this._UY._kb; return } _9M(this._hP == _xY._6Z); var _QN = new _ZM(0, 0); for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) { if (_Mq._vZ == 0.0) { continue } var _rP = new _dP(); _Mq._0_(_rP); this._7Z += _rP._eP; _QN._Wh(_ZM._Vo(_rP._eP, _rP._OO)); this._9Z += _rP._fP } if (this._7Z > 0.0) { this._8Z = 1.0 / this._7Z; _QN._Vo(this._8Z) } else { this._7Z = 1.0; this._8Z = 1.0 } if (this._9Z > 0.0 && (this._MY & _xY._OY) == 0) { this._9Z -= this._7Z * _ZN(_QN, _QN); _9M(this._9Z > 0.0); this._aZ = 1.0 / this._9Z } else { this._9Z = 0.0; this._aZ = 0.0 } _xY._hZ._2N(this._UY._I3); this._UY._QN._2N(_QN); this._UY._RN._2N(_fO(this._MV, this._UY._QN)); this._UY._I3._2N(this._UY._RN); this._ZY._Wh(_1O(this.__Y, _ZM._6N(this._UY._I3, _xY._hZ))) }, _2_: function(_iT) { return _fO(this._MV, _iT) }, _3_: function(_4_) { return _dO(this._MV._fu, _4_) }, _5_: function(_6_) { return _hO(this._MV, _6_) }, _7_: function(_8_) { return _eO(this._MV._fu, _8_) }, _9_: function(_6_) { return _ZM._Wh(this._ZY, _1O(this.__Y, _ZM._6N(_6_, this._UY._I3))) }, _a_: function(_iT) { return this._9_(this._2_(_iT)) }, _b_: function() { return this._0Z }, _bD: function(_BY) { this._0Z = _BY }, _c_: function() { return this._1Z; }, _dD: function(_CY) { this._1Z = _CY }, _d_: function() { return this._2Z }, _e_: function(scale) { this._2Z = scale }, _f_: function(type) { _9M(this._SY._nZ() == !1); if (this._SY._nZ() == !0) { return } if (this._hP == type) { return } this._hP = type; this._wZ(); if (this._hP == _xY._yY) { this._ZY.__M(); this.__Y = 0.0; this._UY._TN = this._UY._kb; this._UY._RN._2N(this._UY._I3); this._g_() } this._gD(!0); this._3Z.__M(); this._4Z = 0.0; var _h_ = this._WY; while (_h_) { var _i_ = _h_; _h_ = _h_._ni; this._SY._rZ._GZ(_i_._BZ); } this._WY = null; var _qZ = this._SY._rZ._sZ; for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) { var _j_ = _Mq._7R; for (var _H3 = 0; _H3 < _j_; ++_H3) { _qZ._kR(_Mq._k_[_H3]._eR) } } }, _jP: function() { return this._hP }, _l_: function(_m_) { if (_m_) { this._MY |= _xY._NY } else { this._MY &= ~_xY._NY } }, _n_: function() { return (this._MY & _xY._NY) == _xY._NY }, _o_: function(_m_) { if (_m_) { this._MY |= _xY._PY } else { this._MY &= ~_xY._PY; this._gD(!0) } }, _p_: function() { return (this._MY & _xY._PY) == _xY._PY }, _gD: function(_m_) { if (_m_) { if ((this._MY & _xY._QY) == 0) { this._MY |= _xY._QY; this._5Z = 0.0 } } else { this._MY &= ~_xY._QY; this._5Z = 0.0; this._ZY.__M(); this.__Y = 0.0; this._3Z.__M(); this._4Z = 0.0 } }, _q_: function() { return (this._MY & _xY._QY) == _xY._QY }, _r_: function(_m_) { _9M(this._SY._nZ() == !1); if (_m_ == this._s_()) { return } if (_m_) { this._MY |= _xY._RY; var _qZ = this._SY._rZ._sZ; for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) { _Mq._tZ(_qZ, this._MV) } } else { this._MY &= ~_xY._RY; var _qZ = this._SY._rZ._sZ; for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) { _Mq._HZ(_qZ) } var _h_ = this._WY; while (_h_) { var _i_ = _h_; _h_ = _h_._ni; this._SY._rZ._GZ(_i_._BZ) } this._WY = null } }, _s_: function() { return (this._MY & _xY._RY) == _xY._RY }, _t_: function(_m_) { var status = (this._MY & _xY._OY) == _xY._OY; if (status == _m_) { return } if (_m_) { this._MY |= _xY._OY } else { this._MY &= ~_xY._OY } this.__Y = 0.0; this._wZ() }, _u_: function() { return (this._MY & _xY._OY) == _xY._OY }, _v_: function() { return this._cZ }, _w_: function() { return this._VY }, _x_: function() { return this._WY }, _y_: function() { return this._YY }, _mR: function() { return this._bZ }, _z_: function(data) { this._bZ = data }, _A_: function() { return this._SY }, _g_: function() { _xY._iZ._fu._gi(this._UY._TN); _xY._iZ._mv._2N(_ZM._6N(this._UY._RN, _dO(_xY._iZ._fu, this._UY._QN))); var _qZ = this._SY._rZ._sZ; for (var _Mq = this._cZ; _Mq; _Mq = _Mq._YY) { _Mq._JZ(_qZ, _xY._iZ, this._MV) } }, _B_: function() { this._MV._fu._gi(this._UY._kb); this._MV._mv._2N(_ZM._6N(this._UY._I3, _dO(this._MV._fu, this._UY._QN))); }, _C_: function(_0U) { if (this._hP != _xY._6Z && _0U._hP != _xY._6Z) { return ! 1 } for (var _D_ = this._VY; _D_; _D_ = _D_._ni) { if (_D_._0U == _0U) { if (_D_._E_._F_ == !1) { return ! 1 } } } return ! 0 }, _XN: function(alpha) { this._UY._XN(alpha); this._UY._I3._2N(this._UY._RN); this._UY._kb = this._UY._TN; this._MV._fu._gi(this._UY._kb); this._MV._mv._2N(_ZM._6N(this._UY._I3, _dO(this._MV._fu, this._UY._QN))) }, _dN: function(_eN) { var _xr = _eN || {}; _xr['fixtures'] = null; _xr['type'] = this._hP; _xr['position'] = this._JC()._dN(); _xr['angle'] = this._KN(); _xr['linearVelocity'] = this._NZ()._dN(); _xr['angularVelocity'] = this._PZ(); _xr['linearDamping'] = this._b_(); _xr['angularDamping'] = this._c_(); _xr['allowSleep'] = this._p_(); _xr['awake'] = this._q_(); _xr['fixedRotation'] = this._u_(); _xr['bullet'] = this._n_(); _xr['active'] = this._s_(); _xr['gravityScale'] = this._d_(); return _xr } }; function _G_() { this._H_ = 0x0001; this._I_ = 0xFFFF; this._J_ = 0 } _G_.prototype = { _u8: function() { var _K_ = new _G_(); _K_._H_ = this._H_; _K_._I_ = this._I_; _K_._J_ = this._J_; return _K_ }, _2N: function(_K_) { this._H_ = _K_._H_; this._I_ = _K_._I_; this._J_ = _K_._J_ }, _dN: function(_eN) { var _xr = _eN || {}; _xr['categoryBits'] = this._H_; _xr['maskBits'] = this._I_; _xr['groupIndex'] = this._J_; return _xr }, _fN: function(data) { this._H_ = data['categoryBits']; this._I_ = data['maskBits']; this._J_ = data['groupIndex'] } }; function _mZ() { this._DP = null; this._dR = null; this._L_ = 0.2; this._M_ = 0.0; this._sP = 0.0; this._N_ = !1; this._K_ = new _G_(); Object.seal(this) } _mZ.prototype = { _fN: function(data) { this._L_ = data['friction']; this._M_ = data['restitution']; this._sP = data['density']; this._N_ = data['isSensor']; this._K_._fN(data['filter']) } }; function _O_() { this._pP = new __T(); this._TC = null; this._nP = 0; this._eR = 0 }; function _oZ() { this._bZ = null; this._uZ = null; this._YY = null; this._k_ = null; this._7R = 0; this._P_ = null; this._vZ = 0.0; this._Q_ = new _G_(); this._R_ = !1; this._S_ = 0; this._T_ = 0 } _oZ.prototype = { _jP: function() { return this._P_._jP() }, _U_: function() { return this._P_ }, _8D: function(_V_) { if (_V_ != this._R_) { this._uZ._gD(!0); this._R_ = _V_ } }, _W_: function() { return this._R_ }, _X_: function(_K_) { this._Q_ = _K_; this._Y_() }, _Z_: function() { return this._Q_ }, _Y_: function() { if (this._uZ == null) { return } var _gQ = this._uZ._x_(); while (_gQ) { var _BZ = _gQ._BZ; var _CZ = _BZ._DZ(); var _EZ = _BZ._FZ(); if (_CZ == this || _EZ == this) { _BZ.___() } _gQ = _gQ._ni } var _KY = this._uZ._A_(); if (_KY == null) { return } var _qZ = _KY._rZ._sZ; for (var _H3 = 0; _H3 < this._7R; ++_H3) { _qZ._kR(this._k_[_H3]._eR); } }, _001: function() { return this._uZ }, _y_: function() { return this._YY }, _mR: function() { return this._bZ }, _z_: function(data) { this._bZ = data }, _lP: function(_mv) { return this._P_._lP(this._uZ._VN(), _mv) }, _mP: function(_4u, _2u, _nP) { return this._P_._mP(_4u, _2u, this._uZ._VN(), _nP) }, _0_: function(_rP) { this._P_._qP(_rP, this._vZ) }, _XC: function(_sP) { _9M(_PM(_sP) && _sP >= 0.0); this._vZ = _sP }, _101: function() { return this._vZ }, _201: function() { return this._S_ }, _2D: function(_L_) { this._S_ = _L_ }, _301: function() { return this._T_ }, __C: function(_M_) { this._T_ = _M_ }, _401: function(_nP) { _9M(0 <= _nP && _nP < this._7R); return this._k_[_nP]._pP }, _pZ: function(body, _kZ) { this._bZ = _kZ._dR; this._S_ = _kZ._L_; this._T_ = _kZ._M_; this._uZ = body; this._YY = null; this._Q_._2N(_kZ._K_); this._R_ = _kZ._N_; this._P_ = _kZ._DP._u8(); var _501 = this._P_._kP(); this._k_ = new Array(_501); for (var _H3 = 0; _H3 < _501; ++_H3) { this._k_[_H3] = new _O_(); this._k_[_H3]._TC = null; this._k_[_H3]._eR = _3R._uR } this._7R = 0; this._vZ = _kZ._sP }, _GZ: function() { _9M(this._7R == 0); this._k_ = null; this._P_ = null }, _tZ: function(_qZ, _ON) { _9M(this._7R == 0); this._7R = this._P_._kP(); for (var _H3 = 0; _H3 < this._7R; ++_H3) { var _601 = this._k_[_H3]; this._P_._oP(_601._pP, _ON, _H3); _601._eR = _qZ._cR(_601._pP, _601); _601._TC = this; _601._nP = _H3 } }, _HZ: function(_qZ) { for (var _H3 = 0; _H3 < this._7R; ++_H3) { var _601 = this._k_[_H3]; _qZ._gR(_601._eR); _601._eR = _3R._uR } this._7R = 0 }, _JZ: function(_qZ, _701, _801) { if (this._7R == 0) { return } for (var _H3 = 0; _H3 < this._7R; ++_H3) { var _601 = this._k_[_H3]; var _6U = new __T(), _7U = new __T(); this._P_._oP(_6U, _701, _601._nP); this._P_._oP(_7U, _801, _601._nP); _601._pP._5U(_6U, _7U); var _jR = _ZM._6N(_801._mv, _701._mv); _qZ._iR(_601._eR, _601._pP, _jR) } }, _tP: function(_mv, _mk, _C9, _nP) { this._P_._tP(this._uZ._VN(), _mv, _mk, _C9, _nP) }, _dN: function(_eN) { var _xr = _eN || {}; _xr['shape'] = null; _xr['friction'] = this._S_; _xr['restitution'] = this._T_; _xr['density'] = this._vZ; _xr['isSensor'] = this._R_; _xr['filter'] = this._Q_._dN(); return _xr } }; function _901() {} _901.prototype = { _a01: function(_E_) {}, _b01: function(_TC) {}, _c01: function(_d01) {}, _e01: function(index) {} }; function _f01() {} _f01.prototype = { _C_: function(_CZ, _EZ) { var _g01 = _CZ._Z_(); var _h01 = _EZ._Z_(); if (_g01._J_ == _h01._J_ && _g01._J_ != 0) { return _g01._J_ > 0 } var _i01 = (_g01._I_ & _h01._H_) != 0 && (_g01._H_ & _h01._I_) != 0; return _i01 } }; function _j01() { this._k01 = new Array(_fM); this._l01 = new Array(_fM); this._Ea = 0 } function _m01() {} _m01.prototype = { _n01: function(_BZ) {}, _o01: function(_BZ) {}, _p01: function(_BZ, _q01) {}, _r01: function(_BZ, _XZ) {} }; function _s01() {} _s01.prototype = { _t01: function(_TC) { return ! 1 }, _u01: function(index) { return ! 1 } }; function _v01() {} _v01.prototype = { _t01: function(_TC, _lT, _vP, _GP) {}, _u01: function(index, _lT, _vP, _GP) { return 0 } }; function _w01() { this._x01 = 0; this._y01 = 0; this._z01 = 0; this._A01 = 0; this._B01 = 0; this._C01 = !1 } function _D01() { this._I3 = new _ZM(); this._kb = 0 } function _E01() { this._xb = new _ZM(); this._J3 = 0 } function _F01() { this._ML = new _w01(); this._G01 = null; this._H01 = null } var _I01 = _RL._2M("step"); var _J01 = _RL._2M("collide", "step"); var _K01 = _RL._2M("solve", "step"); var _L01 = _RL._2M("solveTOI", "step"); var _M01 = _RL._2M("broadphase", "step"); function _xZ(_N01) { this._rZ = new _O01(); this._P01 = null; this._Q01 = null; this._R01 = null; this._VY = null; this._S01 = 0; this._T01 = 0; this._U01 = !0; this._V01 = !0; this._W01 = !1; this._X01 = !0; this._Y01 = !0; this._Z01 = _N01; this._MY = _xZ.__01; this._011 = 0.0; this._111 = new _w01(); this._211 = new _311(); this._411 = new _511(); this._411._SY = this } function _611() { this._qZ = null; this._tR = null } _611.prototype = { _KR: function(_eR) { var _601 = this._qZ._mR(_eR); return this._tR._t01(_601._TC) } }; function _711() { this._qZ = null; this._tR = null } _711.prototype = { _XW: function(_2u, _eR) { var _dR = this._qZ._mR(_eR); var _601 = _dR; var _TC = _601._TC; var index = _601._nP; var _4u = new _ZT(); var _K9 = _TC._mP(_4u, _2u, index); if (_K9) { var _GP = _4u._GP; var _lT = _ZM._Wh(_ZM._Vo((1.0 - _GP), _2u._TO), _ZM._Vo(_GP, _2u._UO)); return this._tR._t01(_TC, _lT, _4u._vP, _GP) } return _2u._FP } }; _xZ._811 = new _PN(); _xZ._911 = new _PN(); _xZ._a11 = new _PN(); _xZ.prototype = { _GZ: function() { var _W9 = this._R01; while (_W9) { var _b11 = _W9._YY; var _Mq = _W9._cZ; while (_Mq) { var _c11 = _Mq._YY; _Mq._7R = 0; _Mq._GZ(); _Mq = _c11 } _W9 = _b11 } }, _d11: function(listener) { this._P01 = listener }, _e11: function(_K_) { this._rZ._f11 = _K_ }, _g11: function(listener) { this._rZ._h11 = listener }, _i11: function(_j11) { this._Q01 = _j11 }, _yD: function(_kZ) { _9M(this._nZ() == !1); if (this._nZ()) { return null } var _W9 = new _xY(_kZ, this); _W9._XY = null; _W9._YY = this._R01; if (this._R01) { this._R01._XY = _W9 } this._R01 = _W9; ++this._S01; return _W9 }, _k11: function(_W9) { _9M(this._S01 > 0); _9M(this._nZ() == !1); if (this._nZ()) { return } var _l11 = _W9._VY; while (_l11) { var _m11 = _l11; _l11 = _l11._ni; if (this._P01) { this._P01._a01(_m11._E_) } this._n11(_m11._E_); _W9._VY = _l11 } _W9._VY = null; var _h_ = _W9._WY; while (_h_) { var _i_ = _h_; _h_ = _h_._ni; this._rZ._GZ(_i_._BZ) } _W9._WY = null; var _Mq = _W9._cZ; while (_Mq) { var _o11 = _Mq; _Mq = _Mq._YY; if (this._P01) { this._P01._b01(_o11) } _o11._HZ(this._rZ._sZ); _o11._GZ(); _W9._cZ = _Mq; _W9._dZ -= 1 } _W9._cZ = null; _W9._dZ = 0; if (_W9._XY) { _W9._XY._YY = _W9._YY } if (_W9._YY) { _W9._YY._XY = _W9._XY; } if (_W9 == this._R01) { this._R01 = _W9._YY } _W9._p11 = !0; --this._S01 }, _q11: function(_kZ) { _9M(this._nZ() == !1); if (this._nZ()) { return null } var __9 = _r11._pZ(_kZ); __9._XY = null; __9._YY = this._VY; if (this._VY) { this._VY._XY = __9 } this._VY = __9; ++this._T01; __9._s11._E_ = __9; __9._s11._0U = __9._t11; __9._s11._u11 = null; __9._s11._ni = __9._v11._VY; if (__9._v11._VY) __9._v11._VY._u11 = __9._s11; __9._v11._VY = __9._s11; __9._w11._E_ = __9; __9._w11._0U = __9._v11; __9._w11._u11 = null; __9._w11._ni = __9._t11._VY; if (__9._t11._VY) __9._t11._VY._u11 = __9._w11; __9._t11._VY = __9._w11; var _x11 = _kZ._x11; var _y11 = _kZ._y11; if (_kZ._z11 == !1) { var _gQ = _y11._x_(); while (_gQ) { if (_gQ._0U == _x11) { _gQ._BZ.___() } _gQ = _gQ._ni } } return __9 }, _n11: function(__9) { _9M(this._nZ() == !1); if (this._nZ()) { return } var _z11 = __9._F_; if (__9._XY) { __9._XY._YY = __9._YY } if (__9._YY) { __9._YY._XY = __9._XY } if (__9 == this._VY) { this._VY = __9._YY } var _x11 = __9._v11; var _y11 = __9._t11; _x11._gD(!0); _y11._gD(!0); if (__9._s11._u11) { __9._s11._u11._ni = __9._s11._ni } if (__9._s11._ni) { __9._s11._ni._u11 = __9._s11._u11; } if (__9._s11 == _x11._VY) { _x11._VY = __9._s11._ni } __9._s11._u11 = null; __9._s11._ni = null; if (__9._w11._u11) { __9._w11._u11._ni = __9._w11._ni } if (__9._w11._ni) { __9._w11._ni._u11 = __9._w11._u11 } if (__9._w11 == _y11._VY) { _y11._VY = __9._w11._ni } __9._w11._u11 = null; __9._w11._ni = null; _r11._GZ(__9); _9M(this._T01 > 0); --this._T01; if (_z11 == !1) { var _gQ = _y11._x_(); while (_gQ) { if (_gQ._0U == _x11) { _gQ._BZ.___() } _gQ = _gQ._ni } } }, _A11: function(_x01, _A01, _B01) { _I01.start(); if (this._MY & _xZ._yZ) { this._rZ._B11(); this._MY &= ~_xZ._yZ; } this._MY |= _xZ._C11; this._111._x01 = _x01; this._111._A01 = _A01; this._111._B01 = _B01; if (_x01 > 0.0) { this._111._y01 = 1.0 / _x01 } else { this._111._y01 = 0.0 } this._111._z01 = this._011 * _x01; this._111._C01 = this._U01; { _J01.start(); this._rZ._3W(); _J01.stop() } if (this._X01 && this._111._x01 > 0.0) { _K01.start(); this._411._rN(this._111); this._rN(this._111); _K01.stop() } if (this._V01 && this._111._x01 > 0.0) { _L01.start(); this._D11(this._111); _L01.stop() } if (this._111._x01 > 0.0) { this._011 = this._111._y01 } if (this._MY & _xZ.__01) { this._E11() } this._MY &= ~_xZ._C11; _I01.stop() }, _E11: function() { for (var body = this._R01; body; body = body._y_()) { body._3Z._f3 = body._3Z._g3 = 0; body._4Z = 0.0 } }, _F11: function() { if (this._Q01 == null) { return } var _ZJ = this._Q01._GO(); if (_ZJ & _DO._ZO) { for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) { var _ON = _W9._VN(); for (var _Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) { if (_W9._s_() == !1) { this._G11(_Mq, _ON, new _CO(0.5, 0.5, 0.3)) } else if (_W9._jP() == _xY._yY) { this._G11(_Mq, _ON, new _CO(0.5, 0.9, 0.5)) } else if (_W9._jP() == _xY._eZ) { this._G11(_Mq, _ON, new _CO(0.5, 0.5, 0.9)) } else if (_W9._q_() == !1) { this._G11(_Mq, _ON, new _CO(0.6, 0.6, 0.6)) } else { this._G11(_Mq, _ON, new _CO(0.9, 0.7, 0.7)) } } } this._H11(this._411) } if (_ZJ & _DO.__O) { for (var __9 = this._VY; __9; __9 = __9._y_()) { this._I11(__9) } } if (_ZJ & _DO._8P) { var _bb = new _CO(0.3, 0.9, 0.9); for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._y_()) { var _CZ = _I3._DZ(); var _EZ = _I3._FZ(); var _J11 = _CZ._401(_I3._K11())._2U(); var _L11 = _EZ._401(_I3._M11())._2U(); this._Q01._SO(_J11, _L11, _bb) } } if (_ZJ & _DO._0P) { var _bb = new _CO(0.9, 0.3, 0.9); var _N11 = new _CO(0.3, 0.3, 0.9); var _O11 = this._rZ._sZ; for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) { if (_W9._s_() == !1) { continue } for (var _Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) { for (var _H3 = 0; _H3 < _Mq._7R; ++_H3) { var _601 = _Mq._k_[_H3]; var _pP = _O11._lR(_601._eR); var _UQ = []; _UQ[0] = new _ZM(_pP._HP._f3, _pP._HP._g3); _UQ[1] = new _ZM(_pP._IP._f3, _pP._HP._g3); _UQ[2] = new _ZM(_pP._IP._f3, _pP._IP._g3); _UQ[3] = new _ZM(_pP._HP._f3, _pP._IP._g3); this._Q01._KO(_UQ, 4, _bb); var _P11 = new __T(); _Mq._U_()._oP(_P11, _W9._VN(), 0); var _UQ = []; _UQ[0] = new _ZM(_P11._HP._f3, _P11._HP._g3); _UQ[1] = new _ZM(_P11._IP._f3, _P11._HP._g3); _UQ[2] = new _ZM(_P11._IP._f3, _P11._IP._g3); _UQ[3] = new _ZM(_P11._HP._f3, _P11._IP._g3); this._Q01._KO(_UQ, 4, _N11) } } } } if (_ZJ & _DO._1P) { for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) { var _ON = _W9._VN()._u8(); _ON._mv = _W9._KZ(); this._Q01._VO(_ON) } } }, _Q11: function(_tR, _pP) { var _R11 = new _611(); _R11._qZ = this._rZ._sZ; _R11._tR = _tR; this._rZ._sZ._wR(_R11, _pP); this._411._Q11(_tR, _pP) }, _mP: function(_tR, _S11, _T11) { var _R11 = new _711(); _R11._qZ = this._rZ._sZ; _R11._tR = _tR; var _2u = new _YT(); _2u._FP = 1.0; _2u._TO = _S11; _2u._UO = _T11; this._rZ._sZ._mP(_R11, _2u); this._411._mP(_tR, _S11, _T11) }, _U11: function() { return this._R01 }, _w_: function() { return this._VY }, _x_: function() { return this._rZ._WY }, _V11: function(_m_) { if (_m_ == this._Y01) { return } this._Y01 = _m_; if (this._Y01 == !1) { for (var _W9 = this._R01; _W9; _W9 = _W9._YY) { _W9._gD(!0) } } }, _W11: function() { return this._Y01 }, _X11: function(_m_) { this._U01 = _m_ }, _Y11: function() { return this._U01 }, _Z11: function(_m_) { this._V01 = _m_ }, __11: function() { return this._V01 }, _021: function(_m_) { this._W01 = _m_ }, _121: function() { return this._W01 }, _rR: function() { return this._rZ._sZ._rR() }, _221: function() { return this._S01 }, _321: function() { return this._T01 }, _421: function() { return this._rZ._521 }, _CR: function() { return this._rZ._sZ._CR() }, _ER: function() { return this._rZ._sZ._ER() }, _GR: function() { return this._rZ._sZ._GR() }, _621: function(_N01) { this._Z01 = _N01 }, _721: function() { return this._Z01 }, _nZ: function() { return (this._MY & _xZ._C11) == _xZ._C11 }, _821: function(_m_) { if (_m_) { this._MY |= _xZ.__01; } else { this._MY &= ~_xZ.__01 } }, _921: function() { return (this._MY & _xZ.__01) == _xZ.__01 }, _IR: function(_JR) { _9M((this._MY & _xZ._C11) == 0); if ((this._MY & _xZ._C11) == _xZ._C11) { return } for (var _W9 = this._R01; _W9; _W9 = _W9._YY) { _W9._MV._mv._6N(_JR); _W9._UY._RN._6N(_JR); _W9._UY._I3._6N(_JR) } for (var __9 = this._VY; __9; __9 = __9._YY) { __9._IR(_JR) } this._rZ._sZ._IR(_JR) }, _a21: function() { return this._rZ }, _rN: function(_ML) { for (var _W9 = this._R01; _W9; _W9 = _W9._YY) { _W9._TY._2N(_W9._MV) } this._211._zT(this._S01, this._rZ._521, this._T01, this._rZ._h11); for (var _W9 = this._R01; _W9; _W9 = _W9._YY) { _W9._MY &= ~_xY._fZ } for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._YY) { _I3._MY &= ~_b21._fZ } for (var __9 = this._VY; __9; __9 = __9._YY) { __9._c21 = !1 } var _d21 = this._S01; var _Gi = new Array(_d21); for (var _e21 = this._R01; _e21; _e21 = _e21._YY) { if (_e21._MY & _xY._fZ) { continue } if (_e21._q_() == !1 || _e21._s_() == !1) { continue } if (_e21._jP() == _xY._yY) { continue } this._211._zg(); var _f21 = 0; _Gi[_f21++] = _e21; _e21._MY |= _xY._fZ; while (_f21 > 0) { var _W9 = _Gi[--_f21]; _9M(_W9._s_() == !0); this._211._g21(_W9); _W9._gD(!0); if (_W9._jP() == _xY._yY) { continue } for (var _h_ = _W9._WY; _h_; _h_ = _h_._ni) { var _BZ = _h_._BZ; if (_BZ._MY & _b21._fZ) { continue } if (_BZ._h21() == !1 || _BZ._i21() == !1) { continue } var _j21 = _BZ._k21._R_; var _l21 = _BZ._m21._R_; if (_j21 || _l21) { continue } this._211._n21(_BZ); _BZ._MY |= _b21._fZ; var _0U = _h_._0U; if (_0U._MY & _xY._fZ) { continue } _9M(_f21 < _d21); _Gi[_f21++] = _0U; _0U._MY |= _xY._fZ } for (var _l11 = _W9._VY; _l11; _l11 = _l11._ni) { if (_l11._E_._c21 == !0) { continue } var _0U = _l11._0U; if (_0U._s_() == !1) { continue } this._211._o21(_l11._E_); _l11._E_._c21 = !0; if (_0U._MY & _xY._fZ) { continue } _9M(_f21 < _d21); _Gi[_f21++] = _0U; _0U._MY |= _xY._fZ } } this._211._rN(_ML, this._Z01, this._Y01); for (var _H3 = 0; _H3 < this._211._S01; ++_H3) { var _W9 = this._211._p21[_H3]; if (_W9._jP() == _xY._yY) { _W9._MY &= ~_xY._fZ } } } { _M01.start(); for (var _W9 = this._R01; _W9; _W9 = _W9._y_()) { if ((_W9._MY & _xY._fZ) == 0) { continue } if (_W9._jP() == _xY._yY) { continue } _W9._g_(); } this._rZ._B11(); _M01.stop() } }, _D11: function(_ML) { this._211._zT(2 * _nM, _nM, 0, this._rZ._h11); if (this._X01) { for (var _W9 = this._R01; _W9; _W9 = _W9._YY) { _W9._MY &= ~_xY._fZ; _W9._UY._UN = 0.0 } for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._YY) { _I3._MY &= ~ (_b21._gZ | _b21._fZ); _I3._q21 = 0; _I3._r21 = 1.0 } } for (;;) { var _s21 = null; var _t21 = 1.0; for (var _I3 = this._rZ._WY; _I3; _I3 = _I3._YY) { if (_I3._h21() == !1) { continue } if (_I3._q21 > _mM) { continue } var alpha = 1.0; if (_I3._MY & _b21._gZ) { alpha = _I3._r21 } else { var _u21 = _I3._DZ(); var _v21 = _I3._FZ(); if (_u21._W_() || _v21._W_()) { continue } var _w21 = _u21._001(); var _x21 = _v21._001(); var _cT = _w21._hP; var _dT = _x21._hP; _9M(_cT == _xY._6Z || _dT == _xY._6Z); var _y21 = _w21._q_() && _cT != _xY._yY; var _z21 = _x21._q_() && _dT != _xY._yY; if (_y21 == !1 && _z21 == !1) { continue } var _A21 = _w21._n_() || _cT != _xY._6Z; var _B21 = _x21._n_() || _dT != _xY._6Z; if (_A21 == !1 && _B21 == !1) { continue } var _UN = _w21._UY._UN; if (_w21._UY._UN < _x21._UY._UN) { _UN = _x21._UY._UN; _w21._UY._XN(_UN) } else if (_x21._UY._UN < _w21._UY._UN) { _UN = _w21._UY._UN; _x21._UY._XN(_UN); } _9M(_UN < 1.0); var _TR = _I3._K11(); var _UR = _I3._M11(); var _2u = new _IX(); _2u._WR._gi(_u21._U_(), _TR); _2u._XR._gi(_v21._U_(), _UR); _2u._JX._2N(_w21._UY); _2u._KX._2N(_x21._UY); _2u._LX = 1.0; var _4u = new _MX(); _eY(_4u, _2u); var _WN = _4u._V9; if (_4u._Lz == _MX._PX) { alpha = _qO(_UN + (1.0 - _UN) * _WN, 1.0) } else { alpha = 1.0 } _I3._r21 = alpha; _I3._MY |= _b21._gZ } if (alpha < _t21) { _s21 = _I3; _t21 = alpha } } if (_s21 == null || 1.0 - 10.0 * _dM < _t21) { this._X01 = !0; break } var _u21 = _s21._DZ(); var _v21 = _s21._FZ(); var _w21 = _u21._001(); var _x21 = _v21._001(); _xZ._811._2N(_w21._UY); _xZ._911._2N(_x21._UY); _w21._XN(_t21); _x21._XN(_t21); _s21._Ag(this._rZ._h11); _s21._MY &= ~_b21._gZ; ++_s21._q21; if (_s21._h21() == !1 || _s21._i21() == !1) { _s21._C21(!1); _w21._UY._2N(_xZ._811); _x21._UY._2N(_xZ._911); _w21._B_(); _x21._B_(); continue } _w21._gD(!0); _x21._gD(!0); this._211._zg(); this._211._g21(_w21); this._211._g21(_x21); this._211._n21(_s21); _w21._MY |= _xY._fZ; _x21._MY |= _xY._fZ; _s21._MY |= _b21._fZ; var _D21 = [_w21, _x21]; for (var _H3 = 0; _H3 < 2; ++_H3) { var body = _D21[_H3]; if (body._hP == _xY._6Z) { for (var _h_ = body._WY; _h_; _h_ = _h_._ni) { if (this._211._S01 == this._211._E21) { break } if (this._211._521 == this._211._F21) { break } var _BZ = _h_._BZ; if (_BZ._MY & _b21._fZ) { continue } var _0U = _h_._0U; if (_0U._hP == _xY._6Z && body._n_() == !1 && _0U._n_() == !1) { continue } var _j21 = _BZ._k21._R_; var _l21 = _BZ._m21._R_; if (_j21 || _l21) { continue } _xZ._a11._2N(_0U._UY); if ((_0U._MY & _xY._fZ) == 0) { _0U._XN(_t21) } _BZ._Ag(this._rZ._h11); if (_BZ._h21() == !1) { _0U._UY._2N(_xZ._a11); _0U._B_(); continue } if (_BZ._i21() == !1) { _0U._UY._2N(_xZ._a11); _0U._B_(); continue } _BZ._MY |= _b21._fZ; this._211._n21(_BZ); if (_0U._MY & _xY._fZ) { continue } _0U._MY |= _xY._fZ; if (_0U._hP != _xY._yY) { _0U._gD(!0) } this._211._g21(_0U) } } } var _G21 = new _w01(); _G21._x01 = (1.0 - _t21) * _ML._x01; _G21._y01 = 1.0 / _G21._x01; _G21._z01 = 1.0; _G21._B01 = 20; _G21._A01 = _ML._A01; _G21._C01 = !1; this._211._D11(_G21, _w21._LY, _x21._LY); for (var _H3 = 0; _H3 < this._211._S01; ++_H3) { var body = this._211._p21[_H3]; body._MY &= ~_xY._fZ; if (body._hP != _xY._6Z) { continue } body._g_(); for (var _h_ = body._WY; _h_; _h_ = _h_._ni) { _h_._BZ._MY &= ~ (_b21._gZ | _b21._fZ) } } this._rZ._B11(); if (this._W01) { this._X01 = !1; break } } }, _I11: function(_E_) { var _x11 = _E_._H21(); var _y11 = _E_._I21(); var _yU = _x11._VN(); var _AU = _y11._VN(); var _G9 = _yU._mv; var _I9 = _AU._mv; var _TO = _E_._J21(); var _UO = _E_._K21(); var _bb = new _CO(0.5, 0.8, 0.8); switch (_E_._jP()) { case _r11._L21: this._Q01._SO(_TO, _UO, _bb); break; case _r11._M21: { var _N21 = _E_; var _lp = _N21._O21(); var _mp = _N21._P21(); this._Q01._SO(_lp, _TO, _bb); this._Q01._SO(_mp, _UO, _bb); this._Q01._SO(_lp, _mp, _bb) } break; case _r11._Q21: break; case _r11._R21: this._Q01._S21(_E_._T21(), 5.0, _bb); default: this._Q01._SO(_G9, _TO, _bb); this._Q01._SO(_TO, _UO, _bb); this._Q01._SO(_I9, _UO, _bb) } }, _G11: function(_TC, _ON, _bb) { switch (_TC._jP()) { case _gP._wP: { var _MR = _TC._U_(); var _OO = _fO(_ON, _MR._CP); var _PO = _MR._iP; var _RO = _dO(_ON._fu, new _ZM(1.0, 0.0)); this._Q01._QO(_OO, _PO, _RO, _bb) } break; case _gP._xP: { var _gQ = _TC._U_(); var _hc = _fO(_ON, _gQ._QP); var _ic = _fO(_ON, _gQ._RP); this._Q01._SO(_hc, _ic, _bb) } break; case _gP._zP: { var _OR = _TC._U_(); var _Ea = _OR._3Q; var _rb = _OR._2Q; var _hc = _fO(_ON, _rb[0]); for (var _H3 = 1; _H3 < _Ea; ++_H3) { var _ic = _fO(_ON, _rb[_H3]); this._Q01._SO(_hc, _ic, _bb); _hc = _ic } } break; case _gP._yP: { var _U21 = _TC._U_(); var _LO = _U21._3Q; _9M(_LO <= _gM); var _rb = new Array(_gM); for (var _H3 = 0; _H3 < _LO; ++_H3) { _rb[_H3] = _fO(_ON, _U21._2Q[_H3]) } this._Q01._MO(_rb, _LO, _bb) } break; default: break } }, _V21: function() { return this._411._V21() }, _W21: function(_Ea) { this._411._W21(_Ea) }, _X21: function(_sP) { this._411._X21(_sP); }, _Y21: function() { return this._411._Y21() }, _Z21: function(_IY) { this._411._Z21(_IY) }, __21: function() { return this._411.__21() }, _031: function(_131) { this._411._031(_131) }, _231: function() { return this._411._231() }, _331: function(_PO) { this._411._331(_PO) }, _431: function() { return this._411._431() }, _531: function(_kZ) { _9M(this._nZ() == !1); if (this._nZ()) { return 0 } var _mv = this._411._531(_kZ); return _mv }, _631: function(index, _731) { this._411._631(index, _731) }, _831: function(_DP, _ON, _731) { _9M(this._nZ() == !1); if (this._nZ()) { return 0 } return this._411._831(_DP, _ON, _731) }, _931: function(_kZ) { _9M(this._nZ() == !1); if (this._nZ()) { return null } var _jb = this._411._931(_kZ); return _jb }, _a31: function(_b31, _c31) { _9M(this._nZ() == !1); if (this._nZ()) { return } this._411._a31(_b31, _c31) }, _d31: function(_d01, _731) { _9M(this._nZ() == !1); if (this._nZ()) { return } this._411._d31(_d01, _731) }, _e31: function() { return this._411._e31() }, _f31: function() { return this._411._f31() }, _g31: function() { return this._411._g31() }, _h31: function() { return this._411._h31(); }, _i31: function() { return this._411._i31() }, _j31: function() { return this._411._j31() }, _k31: function(buffer, _l31) { this._411._k31(buffer, _l31) }, _m31: function(buffer, _l31) { this._411._m31(buffer, _l31) }, _n31: function(buffer, _l31) { this._411._n31(buffer, _l31) }, _o31: function(buffer, _l31) { this._411._o31(buffer, _l31) }, _p31: function(buffer, _l31) { this._411._p31(buffer, _l31) }, _q31: function() { return this._411._r31 }, _s31: function() { return this._411._521 }, _t31: function() { return this._411._u31 }, _v31: function() { return this._411._w31 }, _x31: function() { return this._411._x31() }, _y31: function() { return this._411._y31() }, _z31: function() { return this._411._z31() }, _A31: function() { return this._411._A31() }, _H11: function(_B31) { var _C31 = _B31._A31(); if (_C31) { var _D31 = _B31._431(); var _E31 = _B31._f31(); if (_B31._F31.data) { var _G31 = _B31._h31(); this._Q01._WO(_E31, _D31, _G31, _C31) } else { this._Q01._WO(_E31, _D31, null, _C31) } } } }; _xZ._yZ = 0x0001; _xZ._C11 = 0x0002; _xZ.__01 = 0x0004; function _H31(_l31) { this._I31 = new Array(_l31); this.__V = 0; this._J31 = 0; this._K31 = _l31 } _H31.prototype = { _L31: function(_oi) { if (this._J31 >= this._K31) return; this._I31[this._J31++] = _oi }, _M31: function() { _9M(this.__V < this._J31); this.__V++ }, _N31: function() { return this.__V >= this._J31 }, _O31: function() { return this._I31[this.__V] } }; function _P31(_Q31) { this._R31 = new Array(_Q31); this._S31 = 0; this._T31 = 0; this._U31 = 0; this._V31 = null } _P31._W31 = function() { this._OO = new _ZM(); this._X31 = 0 }; _P31._Y31 = function(_f3, _g3, _H3, _jb) { this._Z31 = _f3; this.__31 = _g3; this._041 = _H3; this._141 = _jb }; _P31.prototype = { _241: function(_OO, _X31) { var _jb = (this._R31[this._S31++] = new _P31._W31()); _jb._OO._2N(_OO); _jb._X31 = _X31 }, _341: function(_PO) { _9M(this._V31 == null); var _441 = 1 / _PO; var _Sz = new _ZM( + _cM, +_cM); var _zQ = new _ZM( - _cM, -_cM); for (var _eT = 0; _eT < this._S31; _eT++) { var _jb = this._R31[_eT]; _Sz._2N(_rO(_Sz, _jb._OO)); _zQ._2N(_tO(_zQ, _jb._OO)) } this._T31 = 1 + ((_441 * (_zQ._f3 - _Sz._f3)) >>> 0); this._U31 = 1 + ((_441 * (_zQ._g3 - _Sz._g3)) >>> 0); this._V31 = new Array(this._T31 * this._U31); for (var _H3 = 0; _H3 < this._T31 * this._U31; _H3++) this._V31[_H3] = null; var _Di = new _H31(this._T31 * this._T31); for (var _eT = 0; _eT < this._S31; _eT++) { var _jb = this._R31[_eT]; _jb._OO._2N(_ZM._Vo(_441, _ZM._6N(_jb._OO, _Sz))); var _f3 = _sO(0, _qO(Math.floor(_jb._OO._f3), this._T31 - 1)); var _g3 = _sO(0, _qO(Math.floor(_jb._OO._g3), this._U31 - 1)); _Di._L31(new _P31._Y31(_f3, _g3, _f3 + _g3 * this._T31, _jb)) } while (!_Di._N31()) { var _f3 = _Di._O31()._Z31; var _g3 = _Di._O31().__31; var _H3 = _Di._O31()._041; var _jb = _Di._O31()._141; _Di._M31(); if (!this._V31[_H3]) { this._V31[_H3] = _jb; if (_f3 > 0) { _Di._L31(new _P31._Y31(_f3 - 1, _g3, _H3 - 1, _jb)) } if (_g3 > 0) { _Di._L31(new _P31._Y31(_f3, _g3 - 1, _H3 - this._T31, _jb)); } if (_f3 < this._T31 - 1) { _Di._L31(new _P31._Y31(_f3 + 1, _g3, _H3 + 1, _jb)) } if (_g3 < this._U31 - 1) { _Di._L31(new _P31._Y31(_f3, _g3 + 1, _H3 + this._T31, _jb)) } } } var _541 = this._T31 + this._U31; for (var _641 = 0; _641 < _541; _641++) { for (var _g3 = 0; _g3 < this._U31; _g3++) { for (var _f3 = 0; _f3 < this._T31 - 1; _f3++) { var _H3 = _f3 + _g3 * this._T31; var _kb = this._V31[_H3]; var _W9 = this._V31[_H3 + 1]; if (_kb != _W9) { _Di._L31(new _P31._Y31(_f3, _g3, _H3, _W9)); _Di._L31(new _P31._Y31(_f3 + 1, _g3, _H3 + 1, _kb)) } } } for (var _g3 = 0; _g3 < this._U31 - 1; _g3++) { for (var _f3 = 0; _f3 < this._T31; _f3++) { var _H3 = _f3 + _g3 * this._T31; var _kb = this._V31[_H3]; var _W9 = this._V31[_H3 + this._T31]; if (_kb != _W9) { _Di._L31(new _P31._Y31(_f3, _g3, _H3, _W9)); _Di._L31(new _P31._Y31(_f3, _g3 + 1, _H3 + this._T31, _kb)) } } } var _741 = !1; while (!_Di._N31()) { var _f3 = _Di._O31()._Z31; var _g3 = _Di._O31().__31; var _H3 = _Di._O31()._041; var _eT = _Di._O31()._141; _Di._M31(); var _kb = this._V31[_H3]; var _W9 = _eT; if (_kb != _W9) { var _841 = _kb._OO._f3 - _f3; var _941 = _kb._OO._g3 - _g3; var _a41 = _W9._OO._f3 - _f3; var _b41 = _W9._OO._g3 - _g3; var _DH = _841 * _841 + _941 * _941; var _ht = _a41 * _a41 + _b41 * _b41; if (_DH > _ht) { this._V31[_H3] = _W9; if (_f3 > 0) { _Di._L31(new _P31._Y31(_f3 - 1, _g3, _H3 - 1, _W9)) } if (_g3 > 0) { _Di._L31(new _P31._Y31(_f3, _g3 - 1, _H3 - this._T31, _W9)) } if (_f3 < this._T31 - 1) { _Di._L31(new _P31._Y31(_f3 + 1, _g3, _H3 + 1, _W9)) } if (_g3 < this._U31 - 1) { _Di._L31(new _P31._Y31(_f3, _g3 + 1, _H3 + this._T31, _W9)) } _741 = !0 } } } if (!_741) { break } } }, _c41: function(_tR) { for (var _g3 = 0; _g3 < this._U31 - 1; _g3++) { for (var _f3 = 0; _f3 < this._T31 - 1; _f3++) { var _H3 = _f3 + _g3 * this._T31; var _kb = this._V31[_H3]; var _W9 = this._V31[_H3 + 1]; var _I3 = this._V31[_H3 + this._T31]; var _mk = this._V31[_H3 + 1 + this._T31]; if (_W9 != _I3) { if (_kb != _W9 && _kb != _I3) { _tR(_kb._X31, _W9._X31, _I3._X31) } if (_mk != _W9 && _mk != _I3) { _tR(_W9._X31, _mk._X31, _I3._X31) } } } } } }; function _d41(_T9, _jb, _W9, _kb) { if (_T9 instanceof _CO) { this._T9 = (255 * _T9._T9); this._jb = (255 * _T9._jb); this._W9 = (255 * _T9._W9); this._kb = 255 } else if (typeof(_T9) !== 'undefined') { this._T9 = _T9; this._jb = _jb; this._W9 = _W9; this._kb = _kb } else this._T9 = this._jb = this._W9 = this._kb = 0 } _d41.prototype = { _e41: function() { return ! this._T9 && !this._jb && !this._W9 && !this._kb }, _f41: function() { return new _CO(1.0 / 255 * this._T9, 1.0 / 255 * this._jb, 1.0 / 255 * this._W9) }, _gi: function(_g41, _h41, _i41, _j41) { if (_g41 instanceof _CO) { this._T9 = (255 * _g41._T9); this._jb = (255 * _g41._jb); this._W9 = (255 * _g41._W9); this._kb = 255 } else { this._T9 = _g41; this._jb = _h41; this._W9 = _i41; this._kb = _j41 } }, _2N: function(_k41) { this._T9 = _k41._T9; this._jb = _k41._jb; this._W9 = _k41._W9; this._kb = _k41._kb }, _u8: function() { return new _d41(this._T9, this._jb, this._W9, this._kb) } }; _d41._l41 = new _d41(); function _m41() { this._ZJ = 0; this.position = new _ZM(); this._n41 = new _ZM(); this._bb = new _d41(); this._dR = null } _m41._o41 = 0; _m41._p41 = 1 << 1; _m41._q41 = 1 << 2; _m41._r41 = 1 << 3; _m41._s41 = 1 << 4; _m41._t41 = 1 << 5; _m41._u41 = 1 << 6; _m41._v41 = 1 << 7; _m41._w41 = 1 << 8; _m41._x41 = 1 << 9; function _y41() { this._ZJ = 0; this._z41 = 0; this.position = new _ZM(); this._0b = 0; this._zY = new _ZM(); this._AY = 0; this._bb = new _d41(); this._A41 = 1; this._DP = null; this._B41 = !0; this._dR = null } function _C41() { this._D41 = null; this._E41 = 0; this._F41 = 0; this._G41 = 0; this._H41 = 1.0; this._XY = null; this._YY = null; this._I41 = -1; this._7Z = 0; this._J41 = 0; this._K41 = new _ZM(); this._ZY = new _ZM(); this.__Y = 0; this._L41 = new _NN(); this._L41._nN(); this._M41 = !0; this._N41 = !1; this._O41 = !1; this._bZ = null; } _C41.prototype = { _y_: function() { return this._YY }, _A31: function() { return this._F41 - this._E41 }, _P41: function() { return this._E41 }, _Q41: function() { return this._G41 }, _R41: function(_ZJ) { this._G41 = _ZJ }, _ZZ: function() { this._S41(); return this._7Z }, __Z: function() { this._S41(); return this._J41 }, _2U: function() { this._S41(); return this._K41 }, _NZ: function() { this._S41(); return this._ZY }, _PZ: function() { this._S41(); return this.__Y }, _VN: function() { return this._L41 }, _JC: function() { return this._L41._mv }, _KN: function() { return this._L41._fu._KN() }, _mR: function() { return this._bZ }, _z_: function(data) { this._bZ = data }, _S41: function() { if (this._I41 != this._D41._I41) { var _F9 = this._D41._T41(); this._7Z = 0; this._K41.__M(); this._ZY.__M(); for (var _H3 = this._E41; _H3 < this._F41; _H3++) { this._7Z += _F9; this._K41._Wh(_ZM._Vo(_F9, this._D41._U41.data[_H3])); this._ZY._Wh(_ZM._Vo(_F9, this._D41._V41.data[_H3])) } if (this._7Z > 0) { this._K41._Vo(1 / this._7Z); this._ZY._Vo(1 / this._7Z) } this._J41 = 0; this.__Y = 0; for (var _H3 = this._E41; _H3 < this._F41; _H3++) { var _mv = _ZM._6N(this._D41._U41.data[_H3], this._K41); var _xb = _ZM._6N(this._D41._V41.data[_H3], this._ZY); this._J41 += _F9 * _ZN(_mv, _mv); this.__Y += _F9 * __N(_mv, _xb) } if (this._J41 > 0) { this.__Y *= 1 / this._J41 } this._I41 = this._D41._I41 } } }; _C41._W41 = 1 << 0; _C41._X41 = 1 << 1; function _Y41() { this._TR = this._UR = 0; this._ZJ = 0; this._Z41 = 0.0; this._vP = new _ZM() }; function __41() { this.index = 0; this.body = null; this._Z41 = 0.0; this._vP = new _ZM(); this._eP = 0.0 }; function _511() { this._I41 = 0; this._051 = 0; this._151 = 0; this._vZ = 1; this._251 = 1; this._2Z = 1; this._351 = 1; this._451 = 1; this._551 = 1; this._3Q = 0; this._651 = 0; this._751 = 0; this._851 = new _511._951(); this._U41 = new _511._951(); this._V41 = new _511._951(); this._a51 = null; this._b51 = null; this._c51 = null; this._F31 = new _511._951(); this._d51 = null; this._e51 = new _511._951(); this._7R = 0; this._f51 = 0; this._g51 = null; this._521 = 0; this._F21 = 0; this._r31 = null; this._w31 = 0; this._h51 = 0; this._u31 = null; this._8R = 0; this._i51 = 0; this._9R = null; this._j51 = 0; this._k51 = 0; this._l51 = null; this._m51 = 0; this._n51 = null; this._o51 = 0.05; this._p51 = 1.0; this._q51 = 0.25; this._r51 = 0.25; this._s51 = 0.25; this._t51 = 0.1; this._u51 = 0.2; this._v51 = 0.5; this._w51 = 0.5; this._x51 = 0.5; this._SY = null } _511._951 = function() { this.data = null; this._y51 = 0 }; _511._z51 = function() { this.index = 0; this._X31 = 0 }; _511._z51._A51 = function(_kb, _W9) { return _kb._X31 < _W9._X31 }; _511._z51._B51 = function(_kb, _W9) { return _kb < _W9._X31 }; _511._z51._C51 = function(_kb, _W9) { return _kb._X31 < _W9 }; _511._D51 = function() { this._TR = this._UR = 0; this._ZJ = 0; this._A41 = 0.0; this._uP = 0.0 }; _511._E51 = function() { this._TR = this._UR = this._F51 = 0; this._ZJ = 0; this._A41 = 0.0; this._G51 = new _ZM(), this._H51 = new _ZM(), this._k41 = new _ZM(); this._I51 = 0.0, this._J51 = 0.0, this._K51 = 0.0, this._9q = 0.0 }; _511._L51 = _m41._r41; _511._M51 = _m41._s41; _511._N51 = _m41._u41; _511._O51 = 12; _511._P51 = 12; _511._Q51 = 8 * 4; _511._R51 = 1 << (_511._P51 - 1); _511._S51 = _511._Q51 - _511._P51; _511._T51 = _511._Q51 - _511._P51 - _511._O51; _511._U51 = 1 << _511._T51; _511._V51 = _511._U51 * (1 << (_511._O51 - 1)); _511._W51 = (1 << _511._O51) - 1; _511._X51 = (1 << _511._P51) - 1; function _Y51(_f3, _g3) { return ((_g3 + _511._R51) << _511._S51) + (_511._U51 * _f3 + _511._V51) >>> 0; } function _Z51(_X31, _f3, _g3) { return _X31 + (_g3 << _511._S51) + (_f3 << _511._T51) } function __51(_l31, _061) { return _061 && _l31 > _061 ? _061: _l31 } function _161(_BZ) { return (_BZ._ZJ & _m41._p41) == _m41._p41 } _511.prototype = { _261: function(_361, _461, _561) { _9M(_561 > _461); var _661 = (_361) ? _361.slice() : []; _661.length = _561; return _661 }, _761: function(buffer, _y51, _461, _561, _861) { _9M(_561 > _461); _9M(!_y51 || _561 <= _y51); if ((!_861 || buffer) && !_y51) { buffer = this._261(buffer, _461, _561) } return buffer }, _961: function(buffer, _461, _561, _861) { _9M(_561 > _461); return this._761(buffer.data, buffer._y51, _461, _561, _861) }, _a61: function(buffer) { if (!buffer) { buffer = new Array(this._651); for (var _H3 = 0; _H3 < this._651; _H3++) { buffer[_H3] = 0 } } return buffer }, _531: function(_kZ) { if (this._3Q >= this._651) { var _l31 = this._3Q ? 2 * this._3Q: _GM; _l31 = __51(_l31, this._751); _l31 = __51(_l31, this._851._y51); _l31 = __51(_l31, this._U41._y51); _l31 = __51(_l31, this._V41._y51); _l31 = __51(_l31, this._F31._y51); _l31 = __51(_l31, this._e51._y51); if (this._651 < _l31) { this._851.data = this._961(this._851, this._651, _l31, !1); this._U41.data = this._961(this._U41, this._651, _l31, !1); this._V41.data = this._961(this._V41, this._651, _l31, !1); this._a51 = this._761(this._a51, 0, this._651, _l31, !1); this._b51 = this._761(this._b51, 0, this._651, _l31, !0); this._c51 = this._761(this._c51, 0, this._651, _l31, !0); this._F31.data = this._961(this._F31, this._651, _l31, !0); this._d51 = this._761(this._d51, 0, this._651, _l31, !1); this._e51.data = this._961(this._e51, this._651, _l31, !0); this._651 = _l31 } } if (this._3Q >= this._651) { return _AM } var index = this._3Q++; this._851.data[index] = _kZ._ZJ; this._U41.data[index] = _kZ.position._u8(); this._V41.data[index] = _kZ._n41._u8(); this._d51[index] = null; if (this._c51) { this._c51[index] = 0 } if (this._F31.data || !_kZ._bb._e41()) { this._F31.data = this._a61(this._F31.data); this._F31.data[index] = _kZ._bb._u8() } if (this._e51.data || _kZ._dR) { this._e51.data = this._a61(this._e51.data); this._e51.data[index] = _kZ._dR } if (this._7R >= this._f51) { var _461 = this._f51; var _561 = this._7R ? 2 * this._7R: _GM; this._g51 = this._261(this._g51, _461, _561); this._f51 = _561 } this._g51[this._7R] = new _511._z51(); this._g51[this._7R++].index = index; return index }, _631: function(index, _731) { var _ZJ = _m41._p41; if (_731) { _ZJ |= _m41._x41 } this._851.data[index] |= _ZJ }, _831: function(_DP, _ON, _731) { function _b61(_B31, _DP, _ON, _731) { this._D41 = _B31; this._P_ = _DP; this._MV = _ON; this._c61 = _731; this._p11 = 0 } _b61.prototype = { _t01: function(_TC) { return ! 1 }, _u01: function(index) { _9M(index >= 0 && index < this._D41._3Q); if (this._P_._lP(this._MV, this._D41._U41.data[index])) { this._D41._631(index, this._c61); this._p11++ } return ! 0 }, _d61: function() { return this._p11 } }; var _tR = new _b61(this, _DP, _ON, _731); var _pP = new __T(); _DP._oP(_pP, _ON, 0); this._SY._Q11(_tR, _pP); return _tR._d61() }, _d31: function(_d01, _731) { for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { this._631(_H3, _731) } }, _931: function(_e61) { var _7c = this._f61(); var identity = new _NN(); identity._nN(); var transform = identity._u8(); var _g61 = this._3Q; if (_e61._DP) { var _h61 = new _m41(); _h61._ZJ = _e61._ZJ; _h61._bb = _e61._bb; _h61._dR = _e61._dR; var _DP = _e61._DP; transform._gi(_e61.position, _e61._0b); var _pP = new __T(); var _501 = _DP._kP(); for (var _nP = 0; _nP < _501; _nP++) { if (_nP == 0) { _DP._oP(_pP, identity, _nP) } else { var _i61 = new __T(); _DP._oP(_i61, identity, _nP); _pP._5U(_i61) } } for (var _g3 = Math.floor(_pP._HP._g3 / _7c) * _7c; _g3 < _pP._IP._g3; _g3 += _7c) { for (var _f3 = Math.floor(_pP._HP._f3 / _7c) * _7c; _f3 < _pP._IP._f3; _f3 += _7c) { var _mv = new _ZM(_f3, _g3); if (_DP._lP(identity, _mv)) { _mv = _fO(transform, _mv); _h61.position._2N(_mv); _h61._n41._2N(_ZM._Wh(_e61._zY, _1O(_e61._AY, _ZM._6N(_mv, _e61.position)))); this._531(_h61) } } } } var lastIndex = this._3Q; var _d01 = new _C41(); _d01._D41 = this; _d01._E41 = _g61; _d01._F41 = lastIndex; _d01._G41 = _e61._z41; _d01._H41 = _e61._A41; _d01._bZ = _e61._dR; _d01._L41 = transform; _d01._M41 = _e61._B41; _d01._XY = null; _d01._YY = this._n51; if (this._n51) { this._n51._XY = _d01 } this._n51 = _d01; ++this._m51; for (var _H3 = _g61; _H3 < lastIndex; _H3++) { this._d51[_H3] = _d01 } this._j61(!0); if (_e61._ZJ & _511._L51) { for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; if (_kb > _W9) { var _k61 = _kb; _kb = _W9; _W9 = _k61 } if (_g61 <= _kb && _W9 < lastIndex) { if (this._8R >= this._i51) { var _461 = this._i51; var _561 = this._8R ? 2 * this._8R: _GM; this._9R = this._261(this._9R, _461, _561); this._i51 = _561 } var _BR = this._9R[this._8R] = new _511._D51(); _BR._TR = _kb; _BR._UR = _W9; _BR._ZJ = _BZ._ZJ; _BR._A41 = _e61._A41; _BR._uP = _4O(this._U41.data[_kb], this._U41.data[_W9]); this._8R++ } } } if (_e61._ZJ & _511._M51) { var _l61 = new _P31(lastIndex - _g61); for (var _H3 = _g61; _H3 < lastIndex; _H3++) { _l61._241(this._U41.data[_H3], _H3) } _l61._341(_7c / 2); var _tR = function _m61(_kb, _W9, _I3) { var _G51 = this._U41.data[_kb]; var _H51 = this._U41.data[_W9]; var _k41 = this._U41.data[_I3]; var _n61 = _ZM._6N(_G51, _H51); var _o61 = _ZM._6N(_H51, _k41); var _p61 = _ZM._6N(_k41, _G51); var _q61 = _FM * this._551; if (_r61(_n61, _n61) < _q61 && _r61(_o61, _o61) < _q61 && _r61(_p61, _p61) < _q61) { if (this._j51 >= this._k51) { var _461 = this._k51; var _561 = this._j51 ? 2 * this._j51: _GM; this._l51 = this._261(this._l51, _461, _561); this._k51 = _561 } var _s61 = this._l51[this._j51]; _s61._TR = _kb; _s61._UR = _W9; _s61._F51 = _I3; _s61._ZJ = this._851.data[_kb] | this._851.data[_W9] | this._851.data[_I3]; _s61._A41 = _e61._A41; var _t61 = _ZM._Vo(1.0 / 3.0, _ZM._Wh(_G51, _ZM._Wh(_H51, _k41))); _s61._G51 = _ZM._6N(_G51, _t61); _s61._H51 = _ZM._6N(_H51, _t61); _s61._k41 = _ZM._6N(_k41, _t61); _s61._I51 = -_ZN(_p61, _n61); _s61._J51 = -_ZN(_n61, _o61); _s61._K51 = -_ZN(_o61, _p61); _s61._9q = __N(_G51, _H51) + __N(_H51, _k41) + __N(_k41, _G51); this._j51++ } }; _l61._c41(_tR) } if (_e61._z41 & _m41._W41) { _u61(_d01) } return _d01 }, _a31: function(_b31, _c31) { _9M(_b31 != _c31); this._v61(_c31._E41, _c31._F41, this._3Q); _9M(_c31._F41 == this._3Q); this._v61(_b31._E41, _b31._F41, _c31._E41); this._9M(_b31._F41 == _c31._E41); var _w61 = 0; for (var _H3 = _b31._E41; _H3 < _c31._F41; _H3++) { _w61 |= this._851.data[_H3] } this._j61(!0); if (_w61 & _511._L51) { for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; if (_kb > _W9) { var _k61 = _kb; _kb = _W9; _W9 = _k61 } if (_b31._E41 <= _kb && _kb < _b31._F41 && _c31._E41 <= _W9 && _W9 < _c31._F41) { if (this._8R >= this._i51) { var _461 = this._i51; var _561 = this._8R ? 2 * this._8R: _GM; this._9R = this._261(this._9R, _461, _561); this._i51 = _561 } var _BR = this._9R[this._8R] = new _511._D51(); _BR._TR = _kb; _BR._UR = _W9; _BR._ZJ = _BZ._ZJ; _BR._A41 = _qO(_b31._H41, _c31._H41); _BR._uP = _4O(this._U41.data[_kb], this._U41.data[_W9]); this._8R++ } } } if (_w61 & _511._M51) { var _l61 = new _P31(_c31._F41 - _b31._E41); for (var _H3 = _b31._E41; _H3 < _c31._F41; _H3++) { if (! (this._851.data[_H3] & _m41._p41)) { _l61._241(this._U41.data[_H3], _H3) } } _l61._341(this._f61() / 2); var _tR = new _x61(); _tR._B31 = this; _tR._b31 = _b31; _tR._c31 = _c31; _l61._c41(_tR) } for (var _H3 = _c31._E41; _H3 < _c31._F41; _H3++) { this._d51[_H3] = _b31 } var _z41 = _b31._G41 | _c31._G41; _b31._G41 = _z41; _b31._F41 = _c31._F41; _c31._E41 = _c31._F41; this._y61(_c31); if (_z41 & _m41._W41) { this._u61(_b31) } }, _y61: function(_d01) { _9M(this._m51 > 0); _9M(_d01); if (this._SY._P01) { this._SY._P01._z61(_d01) } for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { this._d51[_H3] = null } if (_d01._XY) { _d01._XY._YY = _d01._YY } if (_d01._YY) { _d01._YY._XY = _d01._XY } if (_d01 == this._n51) { this._n51 = _d01._YY }--this._m51 }, _u61: function(_d01) { for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { this._a51[_H3] = 0 } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; if (_kb >= _d01._E41 && _kb < _d01._F41 && _W9 >= _d01._E41 && _W9 < _d01._F41) { var _J3 = _BZ._Z41; this._a51[_kb] += _J3; this._a51[_W9] += _J3 } } this._c51 = this._a61(this._c51); for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { var _J3 = this._a51[_H3]; this._c51[_H3] = _J3 < 0.8 ? 0 : _cM } var _A61 = _d01._A31(); for (var _V9 = 0; _V9 < _A61; _V9++) { var _741 = !1; for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; if (_kb >= _d01._E41 && _kb < _d01._F41 && _W9 >= _d01._E41 && _W9 < _d01._F41) { var _T9 = 1 - _BZ._Z41; var _B61 = this._c51[_kb]; var _C61 = this._c51[_W9]; var _D61 = _C61 + _T9; var _E61 = _B61 + _T9; if (_B61 > _D61) { _B61 = _D61; _741 = !0; } if (_C61 > _E61) { _C61 = _E61; _741 = !0 } this._c51[_kb] = _B61; this._c51[_W9] = _C61 } } if (!_741) { break } } for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { var _mv = this._c51[_H3]; if (_mv < _cM) { _mv *= this._351 } else { _mv = 0 } this._c51[_H3] = _mv } }, _n21: function(_kb, _W9) { var _mk = _ZM._6N(this._U41.data[_W9], this._U41.data[_kb]); var _F61 = _ZN(_mk, _mk); if (_F61 < this._551) { if (this._521 >= this._F21) { var _461 = this._F21; var _561 = this._521 ? 2 * this._521: _GM; this._r31 = this._261(this._r31, _461, _561); this._F21 = _561 } var _G61 = _YM(_F61); var _BZ = this._r31[this._521] = new _Y41(); _BZ._TR = _kb; _BZ._UR = _W9; _BZ._ZJ = this._851.data[_kb] | this._851.data[_W9]; _BZ._Z41 = 1 - _F61 * _G61 * this._451; _BZ._vP._2N(_ZM._Vo(_G61, _mk)); this._521++ } }, _j61: function(_H61) { var _I61 = 0; var _J61 = this._7R; for (var _K61 = _I61; _K61 < _J61; ++_K61) { var _601 = this._g51[_K61]; var _H3 = _601.index; var _mv = this._U41.data[_H3]; _601._X31 = _Y51(this._451 * _mv._f3, this._451 * _mv._g3) } this._g51._GL(_I61, _J61, function(_kb, _W9) { return _511._z51._A51(_kb, _W9) }); this._521 = 0; for (var _kb = _I61, _I3 = _I61; _kb < _J61; _kb++) { var _L61 = _Z51(this._g51[_kb]._X31, 1, 0); for (var _W9 = _kb + 1; _W9 < _J61; _W9++) { if (_L61 < this._g51[_W9]._X31) break; this._n21(this._g51[_kb].index, this._g51[_W9].index) } var _M61 = _Z51(this._g51[_kb]._X31, -1, 1); for (; _I3 < _J61; _I3++) { if (_M61 <= this._g51[_I3]._X31) break } var _N61 = _Z51(this._g51[_kb]._X31, 1, 1); for (var _W9 = _I3; _W9 < _J61; _W9++) { if (_N61 < this._g51[_W9]._X31) break; this._n21(this._g51[_kb].index, this._g51[_W9].index) } } if (_H61) { this._521 = this._r31._JL(_161, this._521) } }, _O61: function() { var _pP = new __T(); _pP._HP._f3 = +_cM; _pP._HP._g3 = +_cM; _pP._IP._f3 = -_cM; _pP._IP._g3 = -_cM; for (var _H3 = 0; _H3 < this._3Q; _H3++) { var _mv = this._U41.data[_H3]; _pP._HP._2N(_rO(_pP._HP, _mv)); _pP._IP._2N(_tO(_pP._IP, _mv)) } _pP._HP._f3 -= this._351; _pP._HP._g3 -= this._351; _pP._IP._f3 += this._351; _pP._IP._g3 += this._351; this._w31 = 0; function _P61(_B31) { this._D41 = _B31 } _P61.prototype = { _t01: function(_TC) { if (_TC._W_()) { return ! 0 } var _DP = _TC._U_(); var _W9 = _TC._001(); var _O11 = _W9._KZ(); var _Q61 = _W9._ZZ(); var _R61 = _W9.__Z() - _Q61 * _W9._LZ()._8N(); var _S61 = _Q61 > 0 ? 1 / _Q61: 0; var _T61 = _R61 > 0 ? 1 / _R61: 0; var _501 = _DP._kP(); for (var _nP = 0; _nP < _501; _nP++) { var _pP = _TC._401(_nP)._u8(); _pP._HP._f3 -= this._D41._351; _pP._HP._g3 -= this._D41._351; _pP._IP._f3 += this._D41._351; _pP._IP._g3 += this._D41._351; var _I61 = 0; var _J61 = this._D41._7R; var _U61 = this._D41._g51._LL(_I61, _J61, _Y51(this._D41._451 * _pP._HP._f3, this._D41._451 * _pP._HP._g3), function(_kb, _W9) { return _511._z51._C51(_kb, _W9) }); var _V61 = this._D41._g51._OL(_U61, _J61, _Y51(this._D41._451 * _pP._IP._f3, this._D41._451 * _pP._IP._g3), function(_kb, _W9) { return _511._z51._B51(_kb, _W9) }); for (var _601 = _U61; _601 != _V61; ++_601) { var _W61 = this._D41._g51[_601]; var _kb = _W61.index; var _X61 = this._D41._U41.data[_kb]; if (_pP._HP._f3 <= _X61._f3 && _X61._f3 <= _pP._IP._f3 && _pP._HP._g3 <= _X61._g3 && _X61._g3 <= _pP._IP._g3) { var _mk = [0]; var _C9 = new _ZM(); _TC._tP(_X61, _mk, _C9, _nP); if (_mk[0] < this._D41._351) { var _Y61 = this._D41._851.data[_kb] & _m41._q41 ? 0 : this._D41._Z61(); var __61 = _ZM._6N(_X61, _O11); var _071 = __N(__61, _C9); if (this._D41._w31 >= this._D41._h51) { var _461 = this._D41._h51; var _561 = this._D41._w31 ? 2 * this._D41._w31: _GM; this._D41._u31 = this._D41._261(this._D41._u31, _461, _561); this._D41._h51 = _561 } var _BZ = this._D41._u31[this._D41._w31] = new __41(); _BZ.index = _kb; _BZ.body = _W9; _BZ._Z41 = 1 - _mk[0] * this._D41._451; _BZ._vP._2N(_C9._3N()); _BZ._eP = 1 / (_Y61 + _S61 + _T61 * _071 * _071); this._D41._w31++ } } } } return ! 0 }, _u01: function(_H3) { return ! 1 } }; var _tR = new _P61(this); this._SY._Q11(_tR, _pP) }, _rN: function(_ML) {++this._I41; if (this._3Q == 0) { return } this._051 = 0; for (var _H3 = 0; _H3 < this._3Q; _H3++) { this._051 |= this._851.data[_H3] } if (this._051 & _m41._p41) { this._171() } this._151 = 0; for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) { this._151 |= _d01._G41 } var _N01 = _ZM._Vo(_ML._x01 * this._2Z, this._SY._721()); var _271 = this._371(_ML); for (var _H3 = 0; _H3 < this._3Q; _H3++) { var _xb = this._V41.data[_H3]; _xb._Wh(_N01); var _ic = _ZN(_xb, _xb); if (_ic > _271) { _xb._Vo(_WM(_271 / _ic)) } } this._471(_ML); if (this._151 & _C41._X41) { this._571(_ML) } if (this._051 & _m41._q41) { this._671(_ML) } for (var _H3 = 0; _H3 < this._3Q; _H3++) { this._U41.data[_H3]._Wh(_ZM._Vo(_ML._x01, this._V41.data[_H3])) } this._O61(); this._j61(!1); if (this._051 & _m41._t41) { this._771(_ML) } if (this._051 & _m41._u41) { this._871(_ML) } if (this._051 & _m41._v41) { this._971(_ML) } if (this._051 & _m41._s41) { this._a71(_ML) } if (this._051 & _m41._r41) { this._b71(_ML) } if (this._151 & _C41._W41) { this._c71(_ML) } if (this._051 & _m41._w41) { this._d71(_ML) } this._e71(_ML); this._f71(_ML) }, _471: function(_ML) { var _pP = new __T(); _pP._HP._f3 = +_cM; _pP._HP._g3 = +_cM; _pP._IP._f3 = -_cM; _pP._IP._g3 = -_cM; for (var _H3 = 0; _H3 < this._3Q; _H3++) { var _xb = this._V41.data[_H3]; var _TO = this._U41.data[_H3]; var _UO = _ZM._Wh(_TO, _ZM._Vo(_ML._x01, _xb)); _pP._HP = _rO(_pP._HP, _rO(_TO, _UO)); _pP._IP = _tO(_pP._IP, _tO(_TO, _UO)) } function _g71(_B31, _ML) { this._D41 = _B31; this._h71 = _ML } _g71.prototype = { _t01: function(_TC) { if (_TC._W_()) { return ! 0 } var _DP = _TC._U_(); var body = _TC._001(); var _I61 = 0; var _J61 = this._D41._7R; var _501 = _DP._kP(); for (var _nP = 0; _nP < _501; _nP++) { var _pP = _TC._401(_nP)._u8(); _pP._HP._f3 -= this._D41._351; _pP._HP._g3 -= this._D41._351; _pP._IP._f3 += this._D41._351; _pP._IP._g3 += this._D41._351; var _U61 = this._D41._g51._LL(_I61, _J61, _Y51(this._D41._451 * _pP._HP._f3, this._D41._451 * _pP._HP._g3), function(_kb, _W9) { return _511._z51._C51(_kb, _W9) }); var _V61 = this._D41._g51._OL(_U61, _J61, _Y51(this._D41._451 * _pP._IP._f3, this._D41._451 * _pP._IP._g3), function(_kb, _W9) { return _511._z51._B51(_kb, _W9) }); for (var _601 = _U61; _601 != _V61; ++_601) { var _W61 = this._D41._g51[_601]; var _kb = _W61.index; var _X61 = this._D41._U41.data[_kb]; if (_pP._HP._f3 <= _X61._f3 && _X61._f3 <= _pP._IP._f3 && _pP._HP._g3 <= _X61._g3 && _X61._g3 <= _pP._IP._g3) { var _i71 = this._D41._V41.data[_kb]; var _4u = new _ZT(); var _2u = new _YT(); _2u._TO = _fO(body._MV, _hO(body._TY, _X61)); _2u._UO = _ZM._Wh(_X61, _ZM._Vo(this._h71._x01, _i71)); _2u._FP = 1; if (_TC._mP(_4u, _2u, _nP)) { var _mv = _ZM._Wh(_ZM._Wh(_ZM._Vo((1 - _4u._GP), _2u._TO), _ZM._Vo(_4u._GP, _2u._UO)), _ZM._Vo(_jM, _4u._vP)); var _xb = _ZM._Vo(this._h71._y01, _ZM._6N(_mv, _X61)); this._D41._V41.data[_kb]._2N(_xb); var _Mq = _ZM._Vo(this._D41._T41(), _ZM._6N(_i71, _xb)); _Mq = _ZM._Vo(_ZN(_Mq, _4u._vP), _4u._vP); body._WZ(_Mq, _mv, !0) } } } } return ! 0 }, _u01: function(_H3) { return ! 1 } }; var _tR = new _g71(this, _ML); this._SY._Q11(_tR, _pP) }, _e71: function(_ML) { for (var _H3 = 0; _H3 < this._3Q; _H3++) { this._a51[_H3] = 0 } for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; var _kb = _BZ.index; var _J3 = _BZ._Z41; this._a51[_kb] += _J3 } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; var _J3 = _BZ._Z41; this._a51[_kb] += _J3; this._a51[_W9] += _J3 } if (this._051 & _511._N51) { for (var _H3 = 0; _H3 < this._3Q; _H3++) { if (this._851.data[_H3] & _511._N51) { this._a51[_H3] = 0 } } } var _j71 = this._o51 * this._k71(_ML); for (var _H3 = 0; _H3 < this._3Q; _H3++) { var _J3 = this._a51[_H3]; var _K3 = _j71 * _sO(0.0, _qO(_J3, _DM) - _CM); this._a51[_H3] = _K3 } var _l71 = _ML._x01 / (this._vZ * this._351); for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; var _kb = _BZ.index; var _W9 = _BZ.body; var _J3 = _BZ._Z41; var _F9 = _BZ._eP; var _C9 = _BZ._vP; var _mv = this._U41.data[_kb]; var _K3 = this._a51[_kb] + _j71 * _J3; var _Mq = _ZM._Vo(_l71 * _J3 * _F9 * _K3, _C9); this._V41.data[_kb]._6N(_ZM._Vo(this._Z61(), _Mq)); _W9._WZ(_Mq, _mv, !0) } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; var _J3 = _BZ._Z41; var _C9 = _BZ._vP; var _K3 = this._a51[_kb] + this._a51[_W9]; var _Mq = _ZM._Vo(_l71 * _J3 * _K3, _C9); this._V41.data[_kb]._6N(_Mq); this._V41.data[_W9]._Wh(_Mq) } }, _f71: function(_ML) { var _131 = this._p51; for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; var _kb = _BZ.index; var _W9 = _BZ.body; var _J3 = _BZ._Z41; var _F9 = _BZ._eP; var _C9 = _BZ._vP; var _mv = this._U41.data[_kb]; var _xb = _ZM._6N(_W9._9_(_mv), this._V41.data[_kb]); var _m71 = _ZN(_xb, _C9); if (_m71 < 0) { var _Mq = _ZM._Vo(_131 * _J3 * _F9 * _m71, _C9); this._V41.data[_kb]._Wh(_ZM._Vo(this._Z61(), _Mq)); _W9._WZ(_Mq._3N(), _mv, !0) } } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; var _J3 = _BZ._Z41; var _C9 = _BZ._vP; var _xb = _ZM._6N(this._V41.data[_W9], this._V41.data[_kb]); var _m71 = _ZN(_xb, _C9); if (_m71 < 0) { var _Mq = _ZM._Vo(_131 * _J3 * _m71, _C9); this._V41.data[_kb]._Wh(_Mq); this._V41.data[_W9]._6N(_Mq) } } }, _671: function(_ML) { for (var _H3 = 0; _H3 < this._3Q; _H3++) { if (this._851.data[_H3] & _m41._q41) { this._V41.data[_H3].__M() } } }, _571: function(_ML) { for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) { if (_d01._G41 & _C41._X41) { _d01._S41(); var _i5 = new _JN(_ML._x01 * _d01.__Y); var transform = new _NN(_ZM._Wh(_d01._K41, _ZM._6N(_ZM._Vo(_ML._x01, _d01._ZY), _dO(_i5, _d01._K41))), _i5); _d01._L41 = _iO(transform, _d01._L41); var _n71 = new _NN(); _n71._mv._f3 = _ML._y01 * transform._mv._f3; _n71._mv._g3 = _ML._y01 * transform._mv._g3; _n71._fu._9q = _ML._y01 * transform._fu._9q; _n71._fu._I3 = _ML._y01 * (transform._fu._I3 - 1); for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { this._V41.data[_H3]._2N(_fO(_n71, this._U41.data[_H3])) } } } }, _a71: function(_ML) { var _o71 = _ML._y01 * this._q51; for (var _eT = 0; _eT < this._j51; _eT++) { var _s61 = this._l51[_eT]; if (_s61._ZJ & _m41._s41) { var _kb = _s61._TR; var _W9 = _s61._UR; var _I3 = _s61._F51; var _k61 = _s61._G51; var _p71 = _s61._H51; var _q71 = _s61._k41; var _G51 = this._U41.data[_kb]; var _H51 = this._U41.data[_W9]; var _k41 = this._U41.data[_I3]; var _mv = _ZM._Vo(1 / 3, _ZM._Wh(_G51, _ZM._Wh(_H51, _k41))); var _T9 = new _JN(); _T9._9q = __N(_k61, _G51) + __N(_p71, _H51) + __N(_q71, _k41); _T9._I3 = _ZN(_k61, _G51) + _ZN(_p71, _H51) + _ZN(_q71, _k41); var _dt = _T9._9q * _T9._9q + _T9._I3 * _T9._I3; var _r71 = _YM(_dt); _T9._9q *= _r71; _T9._I3 *= _r71; var _A41 = _o71 * _s61._A41; this._V41.data[_kb]._Wh(_ZM._Vo(_A41, (_ZM._6N(_s71(_T9, _k61), (_ZM._6N(_G51, _mv)))))); this._V41.data[_W9]._Wh(_ZM._Vo(_A41, (_ZM._6N(_s71(_T9, _p71), (_ZM._6N(_H51, _mv)))))); this._V41.data[_I3]._Wh(_ZM._Vo(_A41, (_ZM._6N(_s71(_T9, _q71), (_ZM._6N(_k41, _mv)))))) } } }, _b71: function(_ML) { var _t71 = _ML._y01 * this._r51; for (var _eT = 0; _eT < this._8R; _eT++) { var _BR = this._9R[_eT]; if (_BR._ZJ & _m41._r41) { var _kb = _BR._TR; var _W9 = _BR._UR; var _mk = _ZM._6N(this._U41.data[_W9], this._U41.data[_kb]); var _u71 = _BR._uP; var _ct = _mk._7N(); var _A41 = _t71 * _BR._A41; var _Mq = _ZM._Vo(_A41 * (_u71 - _ct) / _ct, _mk); this._V41.data[_kb]._6N(_Mq); this._V41.data[_W9]._Wh(_Mq) } } }, _971: function(_ML) { this._b51 = this._a61(this._b51); for (var _H3 = 0; _H3 < this._3Q; _H3++) { this._a51[_H3] = 0; this._b51[_H3] = new _ZM() } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; if (_BZ._ZJ & _m41._v41) { var _kb = _BZ._TR; var _W9 = _BZ._UR; var _J3 = _BZ._Z41; var _C9 = _BZ._vP; this._a51[_kb] += _J3; this._a51[_W9] += _J3; this._b51[_kb]._6N(_ZM._Vo((1 - _J3) * _J3, _C9)); this._b51[_W9]._Wh(_ZM._Vo((1 - _J3) * _J3, _C9)) } } var _v71 = this._t51 * this._w71(_ML); var _x71 = this._u51 * this._w71(_ML); for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; if (_BZ._ZJ & _m41._v41) { var _kb = _BZ._TR; var _W9 = _BZ._UR; var _J3 = _BZ._Z41; var _C9 = _BZ._vP; var _K3 = this._a51[_kb] + this._a51[_W9]; var _9q = _ZM._6N(this._b51[_W9], this._b51[_kb]); var _y71 = (_v71 * (_K3 - 2) + _x71 * _ZN(_9q, _C9)) * _J3; var _Mq = _ZM._Vo(_y71, _C9); this._V41.data[_kb]._6N(_Mq); this._V41.data[_W9]._Wh(_Mq) } } }, _771: function(_ML) { var _z71 = this._s51; for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; var _kb = _BZ.index; if (this._851.data[_kb] & _m41._t41) { var _W9 = _BZ.body; var _J3 = _BZ._Z41; var _F9 = _BZ._eP; var _mv = this._U41.data[_kb]; var _xb = _ZM._6N(_W9._9_(_mv), this._V41.data[_kb]); var _Mq = _ZM._Vo(_z71 * _F9 * _J3, _xb); this._V41.data[_kb]._Wh(_ZM._Vo(this._Z61(), _Mq)); _W9._WZ(_Mq._3N(), _mv, !0) } } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; if (_BZ._ZJ & _m41._t41) { var _kb = _BZ._TR; var _W9 = _BZ._UR; var _J3 = _BZ._Z41; var _xb = _ZM._6N(this._V41.data[_W9], this._V41.data[_kb]); var _Mq = _ZM._Vo(_z71 * _J3, _xb); this._V41.data[_kb]._Wh(_Mq); this._V41.data[_W9]._6N(_Mq) } } }, _871: function(_ML) { var _A71 = this._v51 * this._w71(_ML); var _B71 = 1.0 - _BM; for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; var _kb = _BZ.index; if (this._851.data[_kb] & _m41._u41) { var _J3 = _BZ._Z41; if (_J3 > _B71) { var _W9 = _BZ.body; var _F9 = _BZ._eP; var _mv = this._U41.data[_kb]; var _C9 = _BZ._vP; var _Mq = _ZM._Vo(_A71 * _F9 * (_J3 - _B71), _C9); this._V41.data[_kb]._6N(_ZM._Vo(this._Z61(), _Mq)); _W9._WZ(_Mq, _mv, !0) } } } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; if (_BZ._ZJ & _m41._u41) { var _J3 = _BZ._Z41; if (_J3 > _B71) { var _kb = _BZ._TR; var _W9 = _BZ._UR; var _C9 = _BZ._vP; var _Mq = _ZM._Vo(_A71 * (_J3 - _B71), _C9); this._V41.data[_kb]._6N(_Mq); this._V41.data[_W9]._Wh(_Mq) } } } }, _c71: function(_ML) { this._c51 = this._a61(this._c51); var _C71 = _ML._y01 * this._w51; for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; if (this._d51[_kb] != this._d51[_W9]) { var _J3 = _BZ._Z41; var _C9 = _BZ._vP; var _K3 = this._c51[_kb] + this._c51[_W9]; var _Mq = _ZM._Vo(_C71 * _K3 * _J3, _C9); this._V41.data[_kb]._6N(_Mq); this._V41.data[_W9]._Wh(_Mq) } } }, _d71: function(_ML) { this._F31.data = this._a61(this._F31.data); var _D71 = Math.floor(256 * this._x51); for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; if (this._851.data[_kb] & this._851.data[_W9] & _m41._w41) { var _E71 = this._F31.data[_kb]; var _F71 = this._F31.data[_W9]; var _G71 = (_D71 * (_F71._T9 - _E71._T9)) >> 8; var _H71 = (_D71 * (_F71._jb - _E71._jb)) >> 8; var _I71 = (_D71 * (_F71._W9 - _E71._W9)) >> 8; var _J71 = (_D71 * (_F71._kb - _E71._kb)) >> 8; _E71._T9 += _G71; _E71._jb += _H71; _E71._W9 += _I71; _E71._kb += _J71; _F71._T9 -= _G71; _F71._jb -= _H71; _F71._W9 -= _I71; _F71._kb -= _J71 } } }, _171: function() { var _K71 = 0; var _L71 = new Array(this._3Q); for (var _H3 = 0; _H3 < this._3Q; _H3++) { var _ZJ = this._851.data[_H3]; if (_ZJ & _m41._p41) { var _M71 = this._SY._P01; if ((_ZJ & _m41._x41) && _M71) { _M71._e01(_H3) } _L71[_H3] = _AM } else { _L71[_H3] = _K71; if (_H3 != _K71) { this._851.data[_K71] = this._851.data[_H3]; this._U41.data[_K71] = this._U41.data[_H3]; this._V41.data[_K71] = this._V41.data[_H3]; this._d51[_K71] = this._d51[_H3]; if (this._c51) { this._c51[_K71] = this._c51[_H3] } if (this._F31.data) { this._F31.data[_K71] = this._F31.data[_H3] } if (this._e51.data) { this._e51.data[_K71] = this._e51.data[_H3]; } } _K71++ } } var _N71 = { _O71: function(_601) { return _601.index < 0 }, _P71: function(_BZ) { return _BZ._TR < 0 || _BZ._UR < 0 }, _Q71: function(_BZ) { return _BZ.index < 0 }, _R71: function(_BR) { return _BR._TR < 0 || _BR._UR < 0 }, _S71: function(_s61) { return _s61._TR < 0 || _s61._UR < 0 || _s61._F51 < 0 } }; for (var _eT = 0; _eT < this._7R; _eT++) { var _601 = this._g51[_eT]; _601.index = _L71[_601.index] } if (this._g51) { this._7R = this._g51._JL(_N71._O71, this._7R) } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; _BZ._TR = _L71[_BZ._TR]; _BZ._UR = _L71[_BZ._UR]; } if (this._r31) { this._521 = this._r31._JL(_N71._P71, this._521) } for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; _BZ.index = _L71[_BZ.index] } if (this._u31) { this._w31 = this._u31._JL(_N71._Q71, this._w31) } for (var _eT = 0; _eT < this._8R; _eT++) { var _BR = this._9R[_eT]; _BR._TR = _L71[_BR._TR]; _BR._UR = _L71[_BR._UR] } if (this._9R) { this._8R = this._9R._JL(_N71._R71, this._8R) } for (var _eT = 0; _eT < this._j51; _eT++) { var _s61 = this._l51[_eT]; _s61._TR = _L71[_s61._TR]; _s61._UR = _L71[_s61._UR]; _s61._F51 = _L71[_s61._F51] } if (this._l51) { this._j51 = this._l51._JL(_N71._S71, this._j51) } for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) { var _g61 = _K71; var lastIndex = 0; var _T71 = !1; for (var _H3 = _d01._E41; _H3 < _d01._F41; _H3++) { var __9 = _L71[_H3]; if (__9 >= 0) { _g61 = _qO(_g61, __9); lastIndex = _sO(lastIndex, __9 + 1) } else { _T71 = !0 } } if (_g61 < lastIndex) { _d01._E41 = _g61; _d01._F41 = lastIndex; if (_T71) { if (_d01._G41 & _C41._X41) { _d01._O41 = !0 } } } else { _d01._E41 = 0; _d01._F41 = 0; if (_d01._M41) { _d01._N41 = !0 } } } this._3Q = _K71; for (var _d01 = this._n51; _d01;) { var _ni = _d01._y_(); if (_d01._N41) { this._y61(_d01); } else if (_d01._O41) {} _d01 = _ni } }, _v61: function(start, _U71, end) { if (start == _U71 || _U71 == end) { return } function _L71(_H3) { if (_H3 < start) { return _H3 } else if (_H3 < _U71) { return _H3 + end - _U71 } else if (_H3 < end) { return _H3 + start - _U71 } else { return _H3 } } this._851.data.rotate(start, _U71, end); this._U41.data.rotate(start, _U71, end); this._V41.data.rotate(start, _U71, end); this._d51.rotate(start, _U71, end); if (this._c51) { this._c51.rotate(start, _U71, end) } if (this._F31.data) { this._F31.data.rotate(start, _U71, end) } if (this._e51.data) { this._e51.data.rotate(start, _U71, end) } for (var _eT = 0; _eT < this._7R; _eT++) { var _601 = this._g51[_eT]; _601.index = _L71(_601.index) } for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; _BZ._TR = _L71(_BZ._TR); _BZ._UR = _L71(_BZ._UR) } for (var _eT = 0; _eT < this._w31; _eT++) { var _BZ = this._u31[_eT]; _BZ.index = _L71(_BZ.index) } for (var _eT = 0; _eT < this._8R; _eT++) { var _BR = this._9R[_eT]; _BR._TR = _L71(_BR._TR); _BR._UR = _L71(_BR._UR) } for (var _eT = 0; _eT < this._j51; _eT++) { var _s61 = this._l51[_eT]; _s61._TR = _L71(_s61._TR); _s61._UR = _L71(_s61._UR); _s61._F51 = _L71(_s61._F51); } for (var _d01 = this._n51; _d01; _d01 = _d01._y_()) { _d01._E41 = _L71(_d01._E41); _d01._F41 = _L71(_d01._F41 - 1) + 1 } }, _331: function(_PO) { this._351 = 2 * _PO; this._551 = this._351 * this._351; this._451 = 1 / this._351 }, _X21: function(_sP) { this._vZ = _sP; this._251 = 1 / this._vZ }, _Y21: function() { return this._vZ }, _Z21: function(_IY) { this._2Z = _IY }, __21: function() { return this._2Z }, _031: function(_131) { this._p51 = _131 }, _231: function() { return this._p51 }, _431: function() { return this._351 / 2 }, _w71: function(_ML) { return this._351 * _ML._y01 }, _371: function(_ML) { var _n41 = this._w71(_ML); return _n41 * _n41 }, _k71: function(_ML) { return this._vZ * this._371(_ML) }, _f61: function() { return _BM * this._351 }, _T41: function() { var _7c = this._f61(); return this._vZ * _7c * _7c }, _Z61: function() { return 1.777777 * this._251 * this._451 * this._451 }, _e31: function() { return this._851.data }, _f31: function() { return this._U41.data }, _g31: function() { return this._V41.data }, _h31: function() { this._F31.data = this._a61(this._F31.data); return this._F31.data }, _i31: function() { this._e51.data = this._a61(this._e51.data); return this._e51.data }, _V21: function() { return this._751 }, _W21: function(_Ea) { _9M(this._3Q <= _Ea); this._751 = _Ea }, _j31: function() { return this._d51 }, _V71: function(buffer, _W71, _561) { _9M((_W71 && _561) || (!_W71 && !_561)); if (!buffer._y51) {} buffer.data = _W71; buffer._y51 = _561 }, _k31: function(buffer, _l31) { this._V71(this._851, buffer, _l31) }, _m31: function(buffer, _l31) { this._V71(this._U41, buffer, _l31) }, _n31: function(buffer, _l31) { this._V71(this._V41, buffer, _l31) }, _o31: function(buffer, _l31) { this._V71(this._F31, buffer, _l31) }, _p31: function(buffer, _l31) { this._V71(this._e51, buffer, _l31) }, _Q11: function(_tR, _pP) { if (this._7R == 0) { return } var _I61 = 0; var _J61 = this._7R; var _U61 = this._g51._LL(_I61, _J61, _Y51(this._451 * _pP._HP._f3, this._451 * _pP._HP._g3), function(_kb, _W9) { return _511._z51._C51(_kb, _W9) }); var _V61 = this._g51._OL(_U61, _J61, _Y51(this._451 * _pP._IP._f3, this._451 * _pP._IP._g3), function(_kb, _W9) { return _511._z51._B51(_kb, _W9) }); for (var _601 = _U61; _601 < _V61; ++_601) { var _W61 = this._g51[_601]; var _H3 = _W61.index; var _mv = this._U41.data[_H3]; if (_pP._HP._f3 < _mv._f3 && _mv._f3 < _pP._IP._f3 && _pP._HP._g3 < _mv._g3 && _mv._g3 < _pP._IP._g3) { if (!_tR._u01(_H3)) { break } } } }, _mP: function(_tR, _S11, _T11) { if (this._7R == 0) { return } var _I61 = 0; var _J61 = this._7R; var _U61 = this._g51._LL(_I61, _J61, _Y51(this._451 * _qO(_S11._f3, _T11._f3) - 1, this._451 * _qO(_S11._g3, _T11._g3) - 1), function(_kb, _W9) { return _511._z51._C51(_kb, _W9) }); var _V61 = this._g51._OL(_I61, _J61, _Y51(this._451 * _sO(_S11._f3, _T11._f3) + 1, this._451 * _sO(_S11._g3, _T11._g3) + 1), function(_kb, _W9) { return _511._z51._B51(_kb, _W9) }); var _GP = 1; var _xb = _ZM._6N(_T11, _S11); var _ic = _ZN(_xb, _xb); for (var _601 = _U61; _601 < _V61; ++_601) { var _W61 = this._g51[_601]; var _H3 = _W61.index; var _mv = _ZM._6N(_S11, this._U41.data[_H3]); var _X71 = _ZN(_mv, _xb); var _UO = _ZN(_mv, _mv); var _Y71 = _X71 * _X71 - _ic * (_UO - this._551); if (_Y71 >= 0) { var _Z71 = _WM(_Y71); var _V9 = ( - _X71 - _Z71) / _ic; if (_V9 > _GP) { continue } if (_V9 < 0) { _V9 = ( - _X71 + _Z71) / _ic; if (_V9 < 0 || _V9 > _GP) { continue } } var _C9 = _ZM._Wh(_mv, _ZM._6N(_V9, _xb)); _C9._9N(); var _Mq = _tR._u01(_H3, _ZM._Wh(_S11, _ZM._Vo(_V9, _xb)), _C9, _V9); _GP = _qO(_GP, _Mq); if (_GP <= 0) { break } } } }, _x31: function() { var __71 = 0; for (var _eT = 0; _eT < this._521; _eT++) { var _BZ = this._r31[_eT]; var _kb = _BZ._TR; var _W9 = _BZ._UR; var _C9 = _BZ._vP; var _xb = _ZM._6N(this._V41.data[_W9], this._V41.data[_kb]); var _m71 = _ZN(_xb, _C9); if (_m71 < 0) { __71 += _m71 * _m71 } } return 0.5 * this._T41() * __71 }, _y31: function() { return this._n51 }, _z31: function() { return this._m51 }, _A31: function() { return this._3Q } }; function _081(_181, _281) { return _WM(_181 * _281) } function _381(_481, _581) { return _481 > _581 ? _481: _581 } function _681() { this._mY = null; this._781 = !1; }; function _881() { this._0U = null; this._BZ = null; this._u11 = null; this._ni = null }; function _b21() { this._981 = new _881(); this._a81 = new _881(); this._b81 = new _mT() } _b21._c81 = new _mT(); _b21.prototype = { _pZ: function(_u21, _TR, _v21, _UR) { this._r21 = 0; this._MY = _b21._d81; this._k21 = _u21 || null; this._m21 = _v21 || null; this._e81 = _TR || 0; this._f81 = _UR || 0; this._b81._oT = 0; this._XY = null; this._YY = null; this._981._BZ = null; this._981._u11 = null; this._981._ni = null; this._981._0U = null; this._a81._BZ = null; this._a81._u11 = null; this._a81._ni = null; this._a81._0U = null; this._q21 = 0; if (_u21) { this._S_ = _081(this._k21._S_, this._m21._S_); this._T_ = _381(this._k21._T_, this._m21._T_) } else { this._S_ = 0; this._T_ = 0 } this._g81 = 0.0 }, _h81: function() { return this._b81 }, _i81: function(_j81) { var _x11 = this._k21._001(); var _y11 = this._m21._001(); var _zW = this._k21._U_(); var _AW = this._m21._U_(); _j81._zT(this._b81, _x11._VN(), _zW._iP, _y11._VN(), _AW._iP) }, _i21: function() { return (this._MY & _b21._k81) == _b21._k81 }, _C21: function(_m_) { if (_m_) { this._MY |= _b21._d81; } else { this._MY &= ~_b21._d81 } }, _h21: function() { return (this._MY & _b21._d81) == _b21._d81 }, _y_: function() { return this._YY }, _DZ: function() { return this._k21 }, _K11: function() { return this._e81 }, _FZ: function() { return this._m21 }, _M11: function() { return this._f81 }, _2D: function(_L_) { this._S_ = _L_ }, _201: function() { return this._S_ }, _l81: function() { this._S_ = _081(this._k21._S_, this._m21._S_) }, __C: function(_M_) { this._T_ = _M_ }, _301: function() { return this._T_ }, _m81: function() { this._T_ = _381(this._k21._T_, this._m21._T_) }, _n81: function(_h3) { this._g81 = _h3 }, _o81: function() { return this._g81 }, _cY: function(_pT, _AT, _CT) {}, ___: function() { this._MY |= _b21._p81 }, _q81: null, _Ag: function(listener) { _b21._c81._2N(this._b81); this._MY |= _b21._d81; var _r81 = !1; var _s81 = (this._MY & _b21._k81) == _b21._k81; var _j21 = this._k21._W_(); var _l21 = this._m21._W_(); var _V_ = _j21 || _l21; var _x11 = this._k21._001(); var _y11 = this._m21._001(); var _AT = _x11._VN(); var _CT = _y11._VN(); if (_V_) { var _zW = this._k21._U_(); var _AW = this._m21._U_(); _r81 = _yW(_zW, this._e81, _AW, this._f81, _AT, _CT); this._b81._oT = 0 } else { this._cY(this._b81, _AT, _CT); _r81 = this._b81._oT > 0; for (var _H3 = 0; _H3 < this._b81._oT; ++_H3) { var _t81 = this._b81._e3[_H3]; _t81._jT = 0.0; _t81._kT = 0.0; var _u81 = _t81.id; for (var __9 = 0; __9 < _b21._c81._oT; ++__9) { var _v81 = _b21._c81._e3[__9]; if (_v81.id._Gh() == _u81._Gh()) { _t81._jT = _v81._jT; _t81._kT = _v81._kT; break } } } if (_r81 != _s81) { _x11._gD(!0); _y11._gD(!0) } } if (_r81) { this._MY |= _b21._k81 } else { this._MY &= ~_b21._k81 } if (_s81 == !1 && _r81 == !0 && listener) { listener._n01(this) } if (_s81 == !0 && _r81 == !1 && listener) { listener._o01(this) } if (_V_ == !1 && _r81 && listener) { listener._p01(this, _b21._c81) } } }; _b21._fZ = 0x0001; _b21._k81 = 0x0002; _b21._d81 = 0x0004; _b21._p81 = 0x0008; _b21._w81 = 0x0010; _b21._gZ = 0x0020; function _x81() { this.parent.call(this) } _x81.prototype = { _cY: function(_pT, _AT, _CT) { _fU(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _y81, _EZ, _z81) { this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0); _9M(this._k21._jP() == _gP._wP); _9M(this._m21._jP() == _gP._wP); } }; _x81._EL(_b21); var _A81 = new _OP(); function _B81() { this.parent.call(this) } _B81.prototype = { _cY: function(_pT, _AT, _CT) { var _OR = this._k21._U_(); _OR._fQ(_A81, this._e81); _oV(_pT, _A81, _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _TR, _EZ, _UR) { this.parent.prototype._pZ.call(this, _CZ, _TR, _EZ, _UR); _9M(this._k21._jP() == _gP._zP); _9M(this._m21._jP() == _gP._wP) } }; _B81._EL(_b21); function _C81() { this.parent.call(this) } _C81.prototype = { _cY: function(_pT, _AT, _CT) { var _OR = this._k21._U_(); _OR._fQ(_A81, this._e81); _pW(_pT, _A81, _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _TR, _EZ, _UR) { this.parent.prototype._pZ.call(this, _CZ, _TR, _EZ, _UR); _9M(this._k21._jP() == _gP._zP); _9M(this._m21._jP() == _gP._yP) } }; _C81._pZ = function(_CZ, _TR, _EZ, _UR) { return new _C81(_CZ, _TR, _EZ, _UR) }; _C81._EL(_b21); function _D81() { this.parent.call(this) } _D81.prototype = { _cY: function(_pT, _AT, _CT) { _oV(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _TR, _EZ, _UR) { this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0); _9M(this._k21._jP() == _gP._xP); _9M(this._m21._jP() == _gP._wP) } }; _D81._pZ = function(_CZ, _TR, _EZ, _UR) { return new _D81(_CZ, _EZ) }; _D81._EL(_b21); function _E81() { this.parent.call(this) } _E81.prototype = { _cY: function(_pT, _AT, _CT) { _pW(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _TR, _EZ, _UR) { this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0); _9M(this._k21._jP() == _gP._xP); _9M(this._m21._jP() == _gP._yP) } }; _E81._pZ = function(_CZ, _TR, _EZ, _UR) { return new _E81(_CZ, _EZ) }; _E81._EL(_b21); function _F81() { this.parent.call(this); } _F81.prototype = { _cY: function(_pT, _AT, _CT) { _jU(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _TR, _EZ, _UR) { this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0); _9M(this._k21._jP() == _gP._yP); _9M(this._m21._jP() == _gP._wP) } }; _F81._pZ = function(_CZ, _TR, _EZ, _UR) { return new _F81(_CZ, _EZ) }; _F81._EL(_b21); function _G81() { this.parent.call(this) } _G81.prototype = { _cY: function(_pT, _AT, _CT) { _TU(_pT, this._k21._U_(), _AT, this._m21._U_(), _CT) }, _pZ: function(_CZ, _TR, _EZ, _UR) { this.parent.prototype._pZ.call(this, _CZ, 0, _EZ, 0); _9M(this._k21._jP() == _gP._yP); _9M(this._m21._jP() == _gP._yP) } }; _G81._pZ = function(_CZ, _TR, _EZ, _UR) { return new _G81(_CZ, _EZ) }; _G81._EL(_b21); _b21._H81 = function(_mY, _I81, _J81) { _9M(0 <= _I81 && _I81 < _gP._AP); _9M(0 <= _J81 && _J81 < _gP._AP); if (!_b21._K81[_I81]) _b21._K81[_I81] = []; _b21._K81[_I81][_J81] = new _681(); _b21._K81[_I81][_J81]._mY = _mY; _b21._K81[_I81][_J81]._781 = !0; if (_I81 != _J81) { if (!_b21._K81[_J81]) _b21._K81[_J81] = []; _b21._K81[_J81][_I81] = new _681(); _b21._K81[_J81][_I81]._mY = _mY; _b21._K81[_J81][_I81]._781 = !1; } _mY._L81 = []; _mY._M81 = 2 }; _b21._N81 = function() { _b21._H81(_x81, _gP._wP, _gP._wP); _b21._H81(_F81, _gP._yP, _gP._wP); _b21._H81(_G81, _gP._yP, _gP._yP); _b21._H81(_D81, _gP._xP, _gP._wP); _b21._H81(_E81, _gP._xP, _gP._yP); _b21._H81(_B81, _gP._zP, _gP._wP); _b21._H81(_C81, _gP._zP, _gP._yP) }; _b21._O81 = function(_mY) { var _BZ; if (_BZ = _mY._L81.pop()) return _BZ; for (var _H3 = 0; _H3 < _mY._M81 - 1; ++_H3) _mY._L81.push(new _mY()); { _mY._M81 += 32 } return new _mY() }; _b21._pZ = function(_CZ, _TR, _EZ, _UR) { if (_b21._P81 == !1) { _b21._N81(); _b21._P81 = !0 } var _I81 = _CZ._jP(); var _J81 = _EZ._jP(); _9M(0 <= _I81 && _I81 < _gP._AP); _9M(0 <= _J81 && _J81 < _gP._AP); var _mY = _b21._K81[_I81] ? _b21._K81[_I81][_J81] ? _b21._K81[_I81][_J81]._mY: null: null; if (_mY) { var _BZ = _b21._O81(_mY); if (_b21._K81[_I81][_J81]._781) _BZ._pZ(_CZ, _TR, _EZ, _UR); else _BZ._pZ(_EZ, _UR, _CZ, _TR); return _BZ } return null }; _b21._GZ = function(_BZ) { _9M(_b21._P81 == !0); var _CZ = _BZ._k21; var _EZ = _BZ._m21; if (_BZ._b81._oT > 0 && _CZ._W_() == !1 && _EZ._W_() == !1) { _CZ._001()._gD(!0); _EZ._001()._gD(!0) } var _cT = _CZ._jP(); var _dT = _EZ._jP(); _9M(0 <= _cT && _dT < _gP._AP); _9M(0 <= _cT && _dT < _gP._AP); _b21._K81[_cT][_dT]._mY._L81.push(_BZ) }; _b21._K81 = []; _b21._P81 = !1; var _Q81 = new _f01(); var _R81 = new _m01(); function _O01() { this._sZ = new _3R(); this._WY = null; this._521 = 0; this._f11 = _Q81; this._h11 = _R81 } _O01.prototype = { _AR: function(_S81, _T81) { var _WR = _S81; var _XR = _T81; var _CZ = _WR._TC; var _EZ = _XR._TC; var _TR = _WR._nP; var _UR = _XR._nP; var _x11 = _CZ._001(); var _y11 = _EZ._001(); if (_x11 == _y11) { return } var _gQ = _y11._x_(); while (_gQ) { if (_gQ._0U == _x11) { var _u21 = _gQ._BZ._DZ(); var _v21 = _gQ._BZ._FZ(); var _wX = _gQ._BZ._K11(); var _xX = _gQ._BZ._M11(); if (_u21 == _CZ && _v21 == _EZ && _wX == _TR && _xX == _UR) { return } if (_u21 == _EZ && _v21 == _CZ && _wX == _UR && _xX == _TR) { return } } _gQ = _gQ._ni } if (_y11._C_(_x11) == !1) { return } if (this._f11 && this._f11._C_(_CZ, _EZ) == !1) { return } var _I3 = _b21._pZ(_CZ, _TR, _EZ, _UR); if (_I3 == null) { return } _CZ = _I3._DZ(); _EZ = _I3._FZ(); _TR = _I3._K11(); _UR = _I3._M11(); _x11 = _CZ._001(); _y11 = _EZ._001(); _I3._XY = null; _I3._YY = this._WY; if (this._WY != null) { this._WY._XY = _I3 } this._WY = _I3; _I3._981._BZ = _I3; _I3._981._0U = _y11; _I3._981._u11 = null; _I3._981._ni = _x11._WY; if (_x11._WY != null) { _x11._WY._u11 = _I3._981 } _x11._WY = _I3._981; _I3._a81._BZ = _I3; _I3._a81._0U = _x11; _I3._a81._u11 = null; _I3._a81._ni = _y11._WY; if (_y11._WY != null) { _y11._WY._u11 = _I3._a81 } _y11._WY = _I3._a81; if (_CZ._W_() == !1 && _EZ._W_() == !1) { _x11._gD(!0); _y11._gD(!0) }++this._521 }, _B11: function() { this._sZ._sR(this) }, _GZ: function(_I3) { var _CZ = _I3._DZ(); var _EZ = _I3._FZ(); var _x11 = _CZ._001(); var _y11 = _EZ._001(); if (this._h11 && _I3._i21()) { this._h11._o01(_I3) } if (_I3._XY) { _I3._XY._YY = _I3._YY } if (_I3._YY) { _I3._YY._XY = _I3._XY } if (_I3 == this._WY) { this._WY = _I3._YY } if (_I3._981._u11) { _I3._981._u11._ni = _I3._981._ni } if (_I3._981._ni) { _I3._981._ni._u11 = _I3._981._u11 } if (_I3._981 == _x11._WY) { _x11._WY = _I3._981._ni } if (_I3._a81._u11) { _I3._a81._u11._ni = _I3._a81._ni } if (_I3._a81._ni) { _I3._a81._ni._u11 = _I3._a81._u11 } if (_I3._a81 == _y11._WY) { _y11._WY = _I3._a81._ni } _b21._GZ(_I3); --this._521 }, _3W: function() { var _I3 = this._WY; while (_I3) { var _CZ = _I3._DZ(); var _EZ = _I3._FZ(); var _TR = _I3._K11(); var _UR = _I3._M11(); var _x11 = _CZ._001(); var _y11 = _EZ._001(); if (_I3._MY & _b21._p81) { if (_y11._C_(_x11) == !1) { var _U81 = _I3; _I3 = _U81._y_(); this._GZ(_U81); continue } if (this._f11 && this._f11._C_(_CZ, _EZ) == !1) { var _U81 = _I3; _I3 = _U81._y_(); this._GZ(_U81); continue } _I3._MY &= ~_b21._p81 } var _y21 = _x11._q_() && _x11._hP != _xY._yY; var _z21 = _y11._q_() && _y11._hP != _xY._yY; if (_y21 == !1 && _z21 == !1) { _I3 = _I3._y_(); continue } var _ZQ = _CZ._k_[_TR]._eR; var __Q = _EZ._k_[_UR]._eR; var _V81 = this._sZ._nR(_ZQ, __Q); if (_V81 == !1) { var _U81 = _I3; _I3 = _U81._y_(); this._GZ(_U81); continue } _I3._Ag(this._h11); _I3 = _I3._y_() } } }; function _W81() { this._8T = new _ZM(); this._9T = new _ZM(); this._jT = 0; this._kT = 0; this._X81 = 0; this._Y81 = 0; this._Z81 = 0 } function __81() { this._091 = new Array(_fM); this._nT = new _ZM(); this._iT = new _ZM(); this._TR = 0; this._UR = 0; this._191 = 0, this._291 = 0; this._391 = new _ZM(), this._491 = new _ZM(); this._591 = 0, this._691 = 0; this.type = 0; this._BT = 0, this._DT = 0; this._oT = 0 }; function _791() { this._e3 = new Array(_fM); for (var _H3 = 0; _H3 < this._e3.length; ++_H3) this._e3[_H3] = new _W81(); this._vP = new _ZM(); this._X81 = new _jN(); this._891 = new _jN(); this._TR = 0; this._UR = 0; this._191 = 0, this._291 = 0; this._591 = 0, this._691 = 0; this._L_ = 0; this._M_ = 0; this._991 = 0; this._oT = 0; this._a91 = 0 } function _b91() { this._vP = new _ZM(); this._lT = new _ZM(); this._nU = 0 } _b91.prototype = { _zT: function(_k41, _AT, _CT, index) { _9M(_k41._oT > 0); switch (_k41.type) { case _mT._qT: { var _ET = (_AT._fu._I3 * _k41._iT._f3 - _AT._fu._9q * _k41._iT._g3) + _AT._mv._f3; var _FT = (_AT._fu._9q * _k41._iT._f3 + _AT._fu._I3 * _k41._iT._g3) + _AT._mv._g3; var _GT = (_CT._fu._I3 * _k41._091[0]._f3 - _CT._fu._9q * _k41._091[0]._g3) + _CT._mv._f3; var _HT = (_CT._fu._9q * _k41._091[0]._f3 + _CT._fu._I3 * _k41._091[0]._g3) + _CT._mv._g3; this._lT._f3 = 0.5 * (_ET + _GT); this._lT._g3 = 0.5 * (_FT + _HT); this._vP._f3 = _GT - _ET; this._vP._g3 = _HT - _FT; var _c91 = this._vP._f3; var _d91 = this._vP._g3; this._vP._9N(); this._nU = (_c91 * this._vP._f3 + _d91 * this._vP._g3) - _k41._BT - _k41._DT } break; case _mT._rT: { this._vP._f3 = _AT._fu._I3 * _k41._nT._f3 - _AT._fu._9q * _k41._nT._g3; this._vP._g3 = _AT._fu._9q * _k41._nT._f3 + _AT._fu._I3 * _k41._nT._g3; var _OT = (_AT._fu._I3 * _k41._iT._f3 - _AT._fu._9q * _k41._iT._g3) + _AT._mv._f3; var _PT = (_AT._fu._9q * _k41._iT._f3 + _AT._fu._I3 * _k41._iT._g3) + _AT._mv._g3; var _QT = (_CT._fu._I3 * _k41._091[index]._f3 - _CT._fu._9q * _k41._091[index]._g3) + _CT._mv._f3; var _RT = (_CT._fu._9q * _k41._091[index]._f3 + _CT._fu._I3 * _k41._091[index]._g3) + _CT._mv._g3; this._nU = ((_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3) - _k41._BT - _k41._DT; this._lT._f3 = _QT; this._lT._g3 = _RT } break; case _mT._sT: { this._vP._f3 = _CT._fu._I3 * _k41._nT._f3 - _CT._fu._9q * _k41._nT._g3; this._vP._g3 = _CT._fu._9q * _k41._nT._f3 + _CT._fu._I3 * _k41._nT._g3; var _OT = (_CT._fu._I3 * _k41._iT._f3 - _CT._fu._9q * _k41._iT._g3) + _CT._mv._f3; var _PT = (_CT._fu._9q * _k41._iT._f3 + _CT._fu._I3 * _k41._iT._g3) + _CT._mv._g3; var _QT = (_AT._fu._I3 * _k41._091[index]._f3 - _AT._fu._9q * _k41._091[index]._g3) + _AT._mv._f3; var _RT = (_AT._fu._9q * _k41._091[index]._f3 + _AT._fu._I3 * _k41._091[index]._g3) + _AT._mv._g3; this._nU = ((_QT - _OT) * this._vP._f3 + (_RT - _PT) * this._vP._g3) - _k41._BT - _k41._DT; this._lT._f3 = _QT; this._lT._g3 = _RT; this._vP._f3 = -this._vP._f3; this._vP._g3 = -this._vP._g3 } break } } }; function _e91() { this._ML = new _w01(); this._f91 = null; this._Ea = 0; this._G01 = null; this._H01 = null } function _g91() { this._h91 = []; this._i91 = []; } _g91._j91 = new _NN(); _g91._k91 = new _NN(); _g91._l91 = new _b91(); _g91.prototype = { _KE: function(_kZ) { this._h71 = _kZ._ML; this._3Q = _kZ._Ea; this._h91.length = this._3Q; this._i91.length = this._3Q; this._m91 = _kZ._G01; this._n91 = _kZ._H01; this._o91 = _kZ._f91; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _BZ = this._o91[_H3]; var _CZ = _BZ._k21; var _EZ = _BZ._m21; var _zW = _CZ._U_(); var _AW = _EZ._U_(); var _BT = _zW._iP; var _DT = _AW._iP; var _x11 = _CZ._001(); var _y11 = _EZ._001(); var _pT = _BZ._h81(); var _oT = _pT._oT; _9M(_oT > 0); var _p91 = this._i91[_H3] || new _791(); _p91._L_ = _BZ._S_; _p91._M_ = _BZ._T_; _p91._991 = _BZ._g81; _p91._TR = _x11._LY; _p91._UR = _y11._LY; _p91._191 = _x11._8Z; _p91._291 = _y11._8Z; _p91._591 = _x11._aZ; _p91._691 = _y11._aZ; _p91._a91 = _H3; _p91._oT = _oT; _p91._891.__M(); _p91._X81.__M(); this._i91[_H3] = _p91; var _k41 = this._h91[_H3] || new __81(); _k41._TR = _x11._LY; _k41._UR = _y11._LY; _k41._191 = _x11._8Z; _k41._291 = _y11._8Z; _k41._391._f3 = _x11._UY._QN._f3; _k41._391._g3 = _x11._UY._QN._g3; _k41._491._f3 = _y11._UY._QN._f3; _k41._491._g3 = _y11._UY._QN._g3; _k41._591 = _x11._aZ; _k41._691 = _y11._aZ; _k41._nT._f3 = _pT._nT._f3; _k41._nT._g3 = _pT._nT._g3; _k41._iT._f3 = _pT._iT._f3; _k41._iT._g3 = _pT._iT._g3; _k41._oT = _oT; _k41._BT = _BT; _k41._DT = _DT; _k41.type = _pT.type; this._h91[_H3] = _k41; for (var __9 = 0; __9 < _oT; ++__9) { var _mV = _pT._e3[__9]; var _q91 = _p91._e3[__9]; if (this._h71._C01) { _q91._jT = this._h71._z01 * _mV._jT; _q91._kT = this._h71._z01 * _mV._kT } else { _q91._jT = 0.0; _q91._kT = 0.0 } _q91._8T.__M(); _q91._9T.__M(); _q91._X81 = 0.0; _q91._Y81 = 0.0; _q91._Z81 = 0.0; _k41._091[__9] = _mV._iT } } }, _r91: function() { for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _p91 = this._i91[_H3]; var _k41 = this._h91[_H3]; var _BT = _k41._BT; var _DT = _k41._DT; var _pT = this._o91[_p91._a91]._h81(); var _TR = _p91._TR; var _UR = _p91._UR; var _s91 = _p91._191; var _t91 = _p91._291; var _wX = _p91._591; var _xX = _p91._691; var _391 = _k41._391; var _491 = _k41._491; var _J11 = this._m91[_TR]._I3; var _u91 = this._m91[_TR]._kb; var _v91 = this._n91[_TR]._xb; var _5S = this._n91[_TR]._J3; var _L11 = this._m91[_UR]._I3; var _w91 = this._m91[_UR]._kb; var _x91 = this._n91[_UR]._xb; var _6S = this._n91[_UR]._J3; _9M(_pT._oT > 0); _g91._j91._fu._gi(_u91); _g91._k91._fu._gi(_w91); _g91._j91._mv._f3 = _J11._f3 - (_g91._j91._fu._I3 * _391._f3 - _g91._j91._fu._9q * _391._g3); _g91._j91._mv._g3 = _J11._g3 - (_g91._j91._fu._9q * _391._f3 + _g91._j91._fu._I3 * _391._g3); _g91._k91._mv._f3 = _L11._f3 - (_g91._k91._fu._I3 * _491._f3 - _g91._k91._fu._9q * _491._g3); _g91._k91._mv._g3 = _L11._g3 - (_g91._k91._fu._9q * _491._f3 + _g91._k91._fu._I3 * _491._g3); var _j81 = new _xT(); _j81._zT(_pT, _g91._j91, _BT, _g91._k91, _DT); _p91._vP._f3 = _j81._vP._f3; _p91._vP._g3 = _j81._vP._g3; var _oT = _p91._oT; for (var __9 = 0; __9 < _oT; ++__9) { var _q91 = _p91._e3[__9]; _q91._8T._f3 = _j81._e3[__9]._f3 - _J11._f3; _q91._8T._g3 = _j81._e3[__9]._g3 - _J11._g3; _q91._9T._f3 = _j81._e3[__9]._f3 - _L11._f3; _q91._9T._g3 = _j81._e3[__9]._g3 - _L11._g3; var _y91 = _q91._8T._f3 * _p91._vP._g3 - _q91._8T._g3 * _p91._vP._f3; var _z91 = _q91._9T._f3 * _p91._vP._g3 - _q91._9T._g3 * _p91._vP._f3; var _A91 = _s91 + _t91 + _wX * _y91 * _y91 + _xX * _z91 * _z91; _q91._X81 = _A91 > 0.0 ? 1.0 / _A91: 0.0; var _bV = 1.0 * _p91._vP._g3; var _cV = -1.0 * _p91._vP._f3; var _B91 = _q91._8T._f3 * _cV - _q91._8T._g3 * _bV; var _C91 = _q91._9T._f3 * _cV - _q91._9T._g3 * _bV; var _D91 = _s91 + _t91 + _wX * _B91 * _B91 + _xX * _C91 * _C91; _q91._Y81 = _D91 > 0.0 ? 1.0 / _D91: 0.0; _q91._Z81 = 0.0; var _E91 = _p91._vP._f3 * (((_x91._f3 + ( - _6S * _q91._9T._g3)) - _v91._f3) - ( - _5S * _q91._8T._g3)) + _p91._vP._g3 * (((_x91._g3 + (_6S * _q91._9T._f3)) - _v91._g3) - (_5S * _q91._8T._f3)); if (_E91 < -_oM) { _q91._Z81 = -_p91._M_ * _E91 } } if (_p91._oT == 2) { var _F91 = _p91._e3[0]; var _G91 = _p91._e3[1]; var _H91 = _F91._8T._f3 * _p91._vP._g3 - _F91._8T._g3 * _p91._vP._f3; var _I91 = _F91._9T._f3 * _p91._vP._g3 - _F91._9T._g3 * _p91._vP._f3; var _J91 = _G91._8T._f3 * _p91._vP._g3 - _G91._8T._g3 * _p91._vP._f3; var _K91 = _G91._9T._f3 * _p91._vP._g3 - _G91._9T._g3 * _p91._vP._f3; var _L91 = _s91 + _t91 + _wX * _H91 * _H91 + _xX * _I91 * _I91; var _M91 = _s91 + _t91 + _wX * _J91 * _J91 + _xX * _K91 * _K91; var _N91 = _s91 + _t91 + _wX * _H91 * _J91 + _xX * _I91 * _K91; var _O91 = 1000.0; if (_L91 * _L91 < _O91 * (_L91 * _M91 - _N91 * _N91)) { _p91._891._yF._f3 = _L91; _p91._891._yF._g3 = _N91; _p91._891._mN._f3 = _N91; _p91._891._mN._g3 = _M91; _p91._X81._2N(_p91._891._oN()) } else { _p91._oT = 1 } } } }, _P91: function() { for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _p91 = this._i91[_H3]; var _TR = _p91._TR; var _UR = _p91._UR; var _s91 = _p91._191; var _wX = _p91._591; var _t91 = _p91._291; var _xX = _p91._691; var _oT = _p91._oT; var _v91 = this._n91[_TR]._xb; var _5S = this._n91[_TR]._J3; var _x91 = this._n91[_UR]._xb; var _6S = this._n91[_UR]._J3; var _vP = _p91._vP; var _bV = 1.0 * _vP._g3; var _cV = -1.0 * _vP._f3; for (var __9 = 0; __9 < _oT; ++__9) { var _q91 = _p91._e3[__9]; var _AV = (_q91._jT * _vP._f3) + (_q91._kT * _bV); var _BV = (_q91._jT * _vP._g3) + (_q91._kT * _cV); _5S -= _wX * (_q91._8T._f3 * _BV - _q91._8T._g3 * _AV); _v91._f3 -= _s91 * _AV; _v91._g3 -= _s91 * _BV; _6S += _xX * (_q91._9T._f3 * _BV - _q91._9T._g3 * _AV); _x91._f3 += _t91 * _AV; _x91._g3 += _t91 * _BV } this._n91[_TR]._J3 = _5S; this._n91[_UR]._J3 = _6S } }, _Q91: function() { for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _p91 = this._i91[_H3]; var _TR = _p91._TR; var _UR = _p91._UR; var _s91 = _p91._191; var _wX = _p91._591; var _t91 = _p91._291; var _xX = _p91._691; var _oT = _p91._oT; var _v91 = this._n91[_TR]._xb; var _5S = this._n91[_TR]._J3; var _x91 = this._n91[_UR]._xb; var _6S = this._n91[_UR]._J3; var _vP = _p91._vP; var _bV = 1.0 * _vP._g3; var _cV = -1.0 * _vP._f3; var _L_ = _p91._L_; _9M(_oT == 1 || _oT == 2); for (var __9 = 0; __9 < _oT; ++__9) { var _q91 = _p91._e3[__9]; var _R91 = _x91._f3 + ( - _6S * _q91._9T._g3) - _v91._f3 - ( - _5S * _q91._8T._g3); var _S91 = _x91._g3 + (_6S * _q91._9T._f3) - _v91._g3 - (_5S * _q91._8T._f3); var _T91 = (_R91 * _bV + _S91 * _cV) - _p91._991; var _U91 = _q91._Y81 * ( - _T91); var _V91 = _L_ * _q91._jT; var _W91 = _uO(_q91._kT + _U91, -_V91, _V91); _U91 = _W91 - _q91._kT; _q91._kT = _W91; var _AV = _U91 * _bV; var _BV = _U91 * _cV; _v91._f3 -= _s91 * _AV; _v91._g3 -= _s91 * _BV; _5S -= _wX * (_q91._8T._f3 * _BV - _q91._8T._g3 * _AV); _x91._f3 += _t91 * _AV; _x91._g3 += _t91 * _BV; _6S += _xX * (_q91._9T._f3 * _BV - _q91._9T._g3 * _AV) } if (_p91._oT == 1) { _q91 = _p91._e3[0]; _R91 = _x91._f3 + ( - _6S * _q91._9T._g3) - _v91._f3 - ( - _5S * _q91._8T._g3); _S91 = _x91._g3 + (_6S * _q91._9T._f3) - _v91._g3 - (_5S * _q91._8T._f3); var _m71 = _R91 * _vP._f3 + _S91 * _vP._g3; var _U91 = -_q91._X81 * (_m71 - _q91._Z81); var _W91 = _sO(_q91._jT + _U91, 0.0); _U91 = _W91 - _q91._jT; _q91._jT = _W91; _AV = _U91 * _vP._f3; _BV = _U91 * _vP._g3; _v91._f3 -= _s91 * _AV; _v91._g3 -= _s91 * _BV; _5S -= _wX * (_q91._8T._f3 * _BV - _q91._8T._g3 * _AV); _x91._f3 += _t91 * _AV; _x91._g3 += _t91 * _BV; _6S += _xX * (_q91._9T._f3 * _BV - _q91._9T._g3 * _AV) } else { var _X91 = _p91._e3[0]; var _Y91 = _p91._e3[1]; var _841 = _X91._jT; var _941 = _Y91._jT; _9M(_841 >= 0.0 && _941 >= 0.0); var _Z91 = _x91._f3 + ( - _6S * _X91._9T._g3) - _v91._f3 - ( - _5S * _X91._8T._g3); var __91 = _x91._g3 + (_6S * _X91._9T._f3) - _v91._g3 - (_5S * _X91._8T._f3); var _0a1 = _x91._f3 + ( - _6S * _Y91._9T._g3) - _v91._f3 - ( - _5S * _Y91._8T._g3); var _1a1 = _x91._g3 + (_6S * _Y91._9T._f3) - _v91._g3 - (_5S * _Y91._8T._f3); var _2a1 = _Z91 * _vP._f3 + __91 * _vP._g3; var _3a1 = _0a1 * _vP._f3 + _1a1 * _vP._g3; var _a41 = _2a1 - _X91._Z81; var _b41 = _3a1 - _Y91._Z81; _a41 -= _p91._891._yF._f3 * _841 + _p91._891._mN._f3 * _941; _b41 -= _p91._891._yF._g3 * _841 + _p91._891._mN._g3 * _941; for (;;) { var _0a = -(_p91._X81._yF._f3 * _a41 + _p91._X81._mN._f3 * _b41); var _4a1 = -(_p91._X81._yF._g3 * _a41 + _p91._X81._mN._g3 * _b41); if (_0a >= 0.0 && _4a1 >= 0.0) { var _Yb = _0a - _841; var _Zb = _4a1 - _941; var _5a1 = _Yb * _vP._f3; var _6a1 = _Yb * _vP._g3; var _7a1 = _Zb * _vP._f3; var _8a1 = _Zb * _vP._g3; _v91._f3 -= _s91 * (_5a1 + _7a1); _v91._g3 -= _s91 * (_6a1 + _8a1); _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1)); _x91._f3 += _t91 * (_5a1 + _7a1); _x91._g3 += _t91 * (_6a1 + _8a1); _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1)); _X91._jT = _0a; _Y91._jT = _4a1; break } _0a = -_X91._X81 * _a41; _4a1 = 0.0; _2a1 = 0.0; _3a1 = _p91._891._yF._g3 * _0a + _b41; if (_0a >= 0.0 && _3a1 >= 0.0) { _Yb = _0a - _841; _Zb = _4a1 - _941; _5a1 = _Yb * _vP._f3; _6a1 = _Yb * _vP._g3; _7a1 = _Zb * _vP._f3; _8a1 = _Zb * _vP._g3; _v91._f3 -= _s91 * (_5a1 + _7a1); _v91._g3 -= _s91 * (_6a1 + _8a1); _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1)); _x91._f3 += _t91 * (_5a1 + _7a1); _x91._g3 += _t91 * (_6a1 + _8a1); _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1)); _X91._jT = _0a; _Y91._jT = _4a1; break } _0a = 0.0; _4a1 = -_Y91._X81 * _b41; _2a1 = _p91._891._mN._f3 * _4a1 + _a41; _3a1 = 0.0; if (_4a1 >= 0.0 && _2a1 >= 0.0) { _Yb = _0a - _841; _Zb = _4a1 - _941; _5a1 = _Yb * _vP._f3; _6a1 = _Yb * _vP._g3; _7a1 = _Zb * _vP._f3; _8a1 = _Zb * _vP._g3; _v91._f3 -= _s91 * (_5a1 + _7a1); _v91._g3 -= _s91 * (_6a1 + _8a1); _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1)); _x91._f3 += _t91 * (_5a1 + _7a1); _x91._g3 += _t91 * (_6a1 + _8a1); _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1)); _X91._jT = _0a; _Y91._jT = _4a1; break } _0a = 0.0; _4a1 = 0.0; _2a1 = _a41; _3a1 = _b41; if (_2a1 >= 0.0 && _3a1 >= 0.0) { _Yb = _0a - _841; _Zb = _4a1 - _941; _5a1 = _Yb * _vP._f3; _6a1 = _Yb * _vP._g3; _7a1 = _Zb * _vP._f3; _8a1 = _Zb * _vP._g3; _v91._f3 -= _s91 * (_5a1 + _7a1); _v91._g3 -= _s91 * (_6a1 + _8a1); _5S -= _wX * ((_X91._8T._f3 * _6a1 - _X91._8T._g3 * _5a1) + (_Y91._8T._f3 * _8a1 - _Y91._8T._g3 * _7a1)); _x91._f3 += _t91 * (_5a1 + _7a1); _x91._g3 += _t91 * (_6a1 + _8a1); _6S += _xX * ((_X91._9T._f3 * _6a1 - _X91._9T._g3 * _5a1) + (_Y91._9T._f3 * _8a1 - _Y91._9T._g3 * _7a1)); _X91._jT = _0a; _Y91._jT = _4a1; break } break } } this._n91[_TR]._J3 = _5S; this._n91[_UR]._J3 = _6S } }, _9a1: function() { for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _p91 = this._i91[_H3]; var _pT = this._o91[_p91._a91]._h81(); for (var __9 = 0; __9 < _p91._oT; ++__9) { _pT._e3[__9]._jT = _p91._e3[__9]._jT; _pT._e3[__9]._kT = _p91._e3[__9]._kT } } }, _aa1: function() { var _ba1 = 0.0; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _k41 = this._h91[_H3]; var _TR = _k41._TR; var _UR = _k41._UR; var _391 = _k41._391; var _s91 = _k41._191; var _wX = _k41._591; var _491 = _k41._491; var _t91 = _k41._291; var _xX = _k41._691; var _oT = _k41._oT; var _J11 = this._m91[_TR]._I3; var _u91 = this._m91[_TR]._kb; var _L11 = this._m91[_UR]._I3; var _w91 = this._m91[_UR]._kb; for (var __9 = 0; __9 < _oT; ++__9) { _g91._j91._fu._gi(_u91); _g91._k91._fu._gi(_w91); _g91._j91._mv._f3 = _J11._f3 - (_g91._j91._fu._I3 * _391._f3 - _g91._j91._fu._9q * _391._g3); _g91._j91._mv._g3 = _J11._g3 - (_g91._j91._fu._9q * _391._f3 + _g91._j91._fu._I3 * _391._g3); _g91._k91._mv._f3 = _L11._f3 - (_g91._k91._fu._I3 * _491._f3 - _g91._k91._fu._9q * _491._g3); _g91._k91._mv._g3 = _L11._g3 - (_g91._k91._fu._9q * _491._f3 + _g91._k91._fu._I3 * _491._g3); _g91._l91._zT(_k41, _g91._j91, _g91._k91, __9); var _vP = _g91._l91._vP; var _lT = _g91._l91._lT; var _nU = _g91._l91._nU; var _ca1 = _lT._f3 - _J11._f3; var _da1 = _lT._g3 - _J11._g3; var _ea1 = _lT._f3 - _L11._f3; var _fa1 = _lT._g3 - _L11._g3; _ba1 = _qO(_ba1, _nU); var _jO = _uO(_vM * (_nU + _jM), -_pM, 0.0); var _y91 = _ca1 * _vP._g3 - _da1 * _vP._f3; var _z91 = _ea1 * _vP._g3 - _fa1 * _vP._f3; var _891 = _s91 + _t91 + _wX * _y91 * _y91 + _xX * _z91 * _z91; var _XZ = _891 > 0.0 ? -_jO / _891: 0.0; var _AV = _XZ * _vP._f3; var _BV = _XZ * _vP._g3; _J11._f3 -= _s91 * _AV; _J11._g3 -= _s91 * _BV; _u91 -= _wX * (_ca1 * _BV - _da1 * _AV); _L11._f3 += _t91 * _AV; _L11._g3 += _t91 * _BV; _w91 += _xX * (_ea1 * _BV - _fa1 * _AV) } this._m91[_TR]._kb = _u91; this._m91[_UR]._kb = _w91; } return _ba1 >= -3.0 * _jM }, _ga1: function(_ha1, _ia1) { var _ba1 = 0.0; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { var _k41 = this._h91[_H3]; var _TR = _k41._TR; var _UR = _k41._UR; var _391 = _k41._391; var _491 = _k41._491; var _oT = _k41._oT; var _s91 = 0.0; var _wX = 0.0; if (_TR == _ha1 || _TR == _ia1) { _s91 = _k41._191; _wX = _k41._591 } var _t91 = 0.0; var _xX = 0.0; if (_UR == _ha1 || _UR == _ia1) { _t91 = _k41._291; _xX = _k41._691 } var _J11 = this._m91[_TR]._I3; var _u91 = this._m91[_TR]._kb; var _L11 = this._m91[_UR]._I3; var _w91 = this._m91[_UR]._kb; for (var __9 = 0; __9 < _oT; ++__9) { _g91._j91._fu._gi(_u91); _g91._k91._fu._gi(_w91); _g91._j91._mv._2N(_ZM._6N(_J11, _dO(_g91._j91._fu, _391))); _g91._k91._mv._2N(_ZM._6N(_L11, _dO(_g91._k91._fu, _491))); _g91._l91._zT(_k41, _g91._j91, _g91._k91, __9); var _vP = _g91._l91._vP; var _lT = _g91._l91._lT; var _nU = _g91._l91._nU; var _8T = _ZM._6N(_lT, _J11); var _9T = _ZM._6N(_lT, _L11); _ba1 = _qO(_ba1, _nU); var _jO = _uO(_wM * (_nU + _jM), -_pM, 0.0); var _y91 = __N(_8T, _vP); var _z91 = __N(_9T, _vP); var _891 = _s91 + _t91 + _wX * _y91 * _y91 + _xX * _z91 * _z91; var _XZ = _891 > 0.0 ? -_jO / _891: 0.0; var _qV = _ZM._Vo(_XZ, _vP); _J11._6N(_ZM._Vo(_s91, _qV)); _u91 -= _wX * __N(_8T, _qV); _L11._Wh(_ZM._Vo(_t91, _qV)); _w91 += _xX * __N(_9T, _qV) } this._m91[_TR]._kb = _u91; this._m91[_UR]._kb = _w91 } return _ba1 >= -1.5 * _jM } }; function _311() { this._p21 = []; this._o91 = []; this._ja1 = []; this._n91 = []; this._m91 = [] } var _ka1 = _RL._2M("solve initialization", "solve"); var _la1 = _RL._2M("warm starting", "solve initialization"); var _ma1 = _RL._2M("solve velocities", "solve"); var _na1 = _RL._2M("solve positions", "solve"); _311._oa1 = new _F01(); _311._pa1 = new _e91(); _311._qa1 = new _g91(); _311.prototype = { _zg: function() { this._S01 = 0; this._521 = 0; this._T01 = 0 }, _zT: function(_ra1, _sa1, _ta1, listener) { this._ua1 = listener; this._E21 = _ra1; this._F21 = _sa1; this._va1 = _ta1; this._S01 = 0; this._521 = 0; this._T01 = 0; this._p21.length = _ra1; this._o91.length = _sa1; this._ja1.length = _ta1; this._n91.length = _ra1; this._m91.length = _ra1 }, _rN: function(_ML, _N01, _DY) { _ka1.start(); var _K3 = _ML._x01; for (var _H3 = 0; _H3 < this._S01; ++_H3) { var _W9 = this._p21[_H3]; this._m91[_H3]._I3._2N(_W9._UY._I3); var _kb = _W9._UY._kb; this._n91[_H3]._xb._2N(_W9._ZY); var _J3 = _W9.__Y; _W9._UY._RN._2N(_W9._UY._I3); _W9._UY._TN = _W9._UY._kb; if (_W9._hP == _xY._6Z) { this._n91[_H3]._xb._f3 += _K3 * ((_W9._2Z * _N01._f3) + (_W9._8Z * _W9._3Z._f3)); this._n91[_H3]._xb._g3 += _K3 * ((_W9._2Z * _N01._g3) + (_W9._8Z * _W9._3Z._g3)); _J3 += _K3 * _W9._aZ * _W9._4Z; this._n91[_H3]._xb._f3 *= 1.0 / (1.0 + _K3 * _W9._0Z); this._n91[_H3]._xb._g3 *= 1.0 / (1.0 + _K3 * _W9._0Z); _J3 *= 1.0 / (1.0 + _K3 * _W9._1Z) } this._m91[_H3]._kb = _kb; this._n91[_H3]._J3 = _J3 } _311._oa1._ML = _ML; _311._oa1._G01 = this._m91; _311._oa1._H01 = this._n91; _311._pa1._ML = _ML; _311._pa1._f91 = this._o91; _311._pa1._Ea = this._521; _311._pa1._G01 = this._m91; _311._pa1._H01 = this._n91; _311._pa1._wa1 = this._xa1; _311._qa1._KE(_311._pa1); _311._qa1._r91(); if (_ML._C01) { _la1.start(); _311._qa1._P91(); _la1.stop() } for (var _H3 = 0; _H3 < this._T01; ++_H3) { this._ja1[_H3]._ya1(_311._oa1) } _ka1.stop(); _ma1.start(); for (var _H3 = 0; _H3 < _ML._A01; ++_H3) { for (var __9 = 0; __9 < this._T01; ++__9) { this._ja1[__9]._Q91(_311._oa1) } _311._qa1._Q91() } _311._qa1._9a1(); _ma1.stop(); _na1.start(); for (var _H3 = 0; _H3 < this._S01; ++_H3) { var _I3 = this._m91[_H3]._I3; var _kb = this._m91[_H3]._kb; var _xb = this._n91[_H3]._xb; var _J3 = this._n91[_H3]._J3; var _za1 = _K3 * _xb._f3; var _Aa1 = _K3 * _xb._g3; var _Ba1 = _za1 * _za1 + _Aa1 * _Aa1; if (_Ba1 > _sM) { var _Ca1 = _rM / _WM(_Ba1); _xb._f3 *= _Ca1; _xb._g3 *= _Ca1 } var _i5 = _K3 * _J3; if (_i5 * _i5 > _uM) { var _Ca1 = _tM / _nO(_i5); _J3 *= _Ca1 } _I3._f3 += _K3 * _xb._f3; _I3._g3 += _K3 * _xb._g3; _kb += _K3 * _J3; this._m91[_H3]._kb = _kb; this._n91[_H3]._J3 = _J3 } var _Da1 = !1; for (var _H3 = 0; _H3 < _ML._B01; ++_H3) { var _Ea1 = _311._qa1._aa1(); var _Fa1 = !0; for (var __9 = 0; __9 < this._T01; ++__9) { var _Ga1 = this._ja1[__9]._aa1(_311._oa1); _Fa1 = _Fa1 && _Ga1 } if (_Ea1 && _Fa1) { _Da1 = !0; break } } for (var _H3 = 0; _H3 < this._S01; ++_H3) { var body = this._p21[_H3]; body._UY._I3._2N(this._m91[_H3]._I3); body._UY._kb = this._m91[_H3]._kb; body._ZY._2N(this._n91[_H3]._xb); body.__Y = this._n91[_H3]._J3; body._B_() } _na1.stop(); this._Ha1(_311._qa1._i91); if (_DY) { var _Ia1 = _cM; var _Ja1 = _yM * _yM; var _Ka1 = _zM * _zM; for (var _H3 = 0; _H3 < this._S01; ++_H3) { var _W9 = this._p21[_H3]; if (_W9._jP() == _xY._yY) { continue } if ((_W9._MY & _xY._PY) == 0 || _W9.__Y * _W9.__Y > _Ka1 || _ZN(_W9._ZY, _W9._ZY) > _Ja1) { _W9._5Z = 0.0; _Ia1 = 0.0 } else { _W9._5Z += _K3; _Ia1 = _qO(_Ia1, _W9._5Z) } } if (_Ia1 >= _xM && _Da1) { for (var _H3 = 0; _H3 < this._S01; ++_H3) { var _W9 = this._p21[_H3]; _W9._gD(!1) } } } }, _D11: function(_G21, _ha1, _ia1) { _9M(_ha1 < this._S01); _9M(_ia1 < this._S01); for (var _H3 = 0; _H3 < this._S01; ++_H3) { var _W9 = this._p21[_H3]; this._m91[_H3]._I3._2N(_W9._UY._I3); this._m91[_H3]._kb = _W9._UY._kb; this._n91[_H3]._xb._2N(_W9._ZY); this._n91[_H3]._J3 = _W9.__Y } _311._pa1._f91 = this._o91; _311._pa1._Ea = this._521; _311._pa1._ML = _G21; _311._pa1._G01 = this._m91; _311._pa1._H01 = this._n91; _311._qa1._KE(_311._pa1); for (var _H3 = 0; _H3 < _G21._B01; ++_H3) { var _Ea1 = _311._qa1._ga1(_ha1, _ia1); if (_Ea1) { break } } this._p21[_ha1]._UY._RN._2N(this._m91[_ha1]._I3); this._p21[_ha1]._UY._TN = this._m91[_ha1]._kb; this._p21[_ia1]._UY._RN._2N(this._m91[_ia1]._I3); this._p21[_ia1]._UY._TN = this._m91[_ia1]._kb; _311._qa1._r91(); for (var _H3 = 0; _H3 < _G21._A01; ++_H3) { _311._qa1._Q91() } var _K3 = _G21._x01; for (var _H3 = 0; _H3 < this._S01; ++_H3) { var _I3 = this._m91[_H3]._I3; var _kb = this._m91[_H3]._kb; var _xb = this._n91[_H3]._xb; var _J3 = this._n91[_H3]._J3; var _La1 = _ZM._Vo(_K3, _xb); if (_ZN(_La1, _La1) > _sM) { var _Ca1 = _rM / _La1._7N(); _xb._Vo(_Ca1) } var _i5 = _K3 * _J3; if (_i5 * _i5 > _uM) { var _Ca1 = _tM / _nO(_i5); _J3 *= _Ca1 } _I3._Wh(_ZM._Vo(_K3, _xb)); _kb += _K3 * _J3; this._m91[_H3]._kb = _kb; this._n91[_H3]._J3 = _J3; var body = this._p21[_H3]; body._UY._I3._2N(_I3); body._UY._kb = _kb; body._ZY._2N(_xb); body.__Y = _J3; body._B_() } this._Ha1(_311._qa1._i91) }, _g21: function(body) { _9M(this._S01 < this._E21); body._LY = this._S01; this._p21[this._S01] = body; if (!this._m91[this._S01]) { this._m91[this._S01] = new _D01(); this._n91[this._S01] = new _E01() }++this._S01 }, _n21: function(_BZ) { _9M(this._521 < this._F21); this._o91[this._521++] = _BZ; }, _o21: function(_E_) { _9M(this._T01 < this._va1); this._ja1[this._T01++] = _E_ }, _Ha1: function(_Ma1) { if (this._ua1 == null) { return } for (var _H3 = 0; _H3 < this._521; ++_H3) { var _I3 = this._o91[_H3]; var _p91 = _Ma1[_H3]; var _XZ = new _j01(); _XZ._Ea = _p91._oT; for (var __9 = 0; __9 < _p91._oT; ++__9) { _XZ._k01[__9] = _p91._e3[__9]._jT; _XZ._l01[__9] = _p91._e3[__9]._kT } this._ua1._r01(_I3, _XZ) } } }; function _Na1() { this._Oa1 = new _ZM(); this._Pa1 = 0; this._Qa1 = 0 }; function _Ra1() { this._0U = null; this._E_ = null; this._u11 = null; this._ni = null }; function _Sa1() { this.type = _r11._Ta1; this._dR = null; this._x11 = null; this._y11 = null; this._z11 = !1 }; _Sa1.prototype = { _fN: function(data, _D21, _Ua1) { this._x11 = _D21[data['bodyA']]; this._y11 = _D21[data['bodyB']]; this._z11 = data['collideConnected'] } }; function _r11(_kZ) { _9M(_kZ._x11 != _kZ._y11); this._hP = _kZ.type; this._XY = null; this._YY = null; this._v11 = _kZ._x11; this._t11 = _kZ._y11; this._Ir = 0; this._F_ = _kZ._z11; this._c21 = !1; this._bZ = _kZ._dR; this._s11 = new _Ra1(); this._s11._E_ = null; this._s11._0U = null; this._s11._u11 = null; this._s11._ni = null; this._w11 = new _Ra1(); this._w11._E_ = null; this._w11._0U = null; this._w11._u11 = null; this._w11._ni = null } _r11.prototype = { _jP: function() { return this._hP }, _H21: function() { return this._v11 }, _I21: function() { return this._t11 }, _J21: function() {}, _K21: function() {}, _Va1: function(_y01) {}, _Wa1: function(_y01) {}, _y_: function() { return this._YY }, _mR: function() { return this._bZ }, _z_: function(data) { this._bZ = data }, _s_: function() { return this._v11._s_() && this._t11._s_() }, _Xa1: function() { return this._F_; }, _IR: function(_JR) {}, _ya1: function(data) {}, _Q91: function(data) {}, _aa1: function(data) {}, _dN: function(_eN) { var _xr = _eN || {}; _xr['bodyA'] = null; _xr['bodyB'] = null; _xr['type'] = this._hP; _xr['collideConnected'] = this._F_; return _xr } }; _r11._Ya1 = 0; _r11._Za1 = 1; _r11.__a1 = 2; _r11._0b1 = 3; _r11._Ta1 = 0; _r11._1b1 = 1; _r11._2b1 = 2; _r11._L21 = 3; _r11._M21 = 4; _r11._Q21 = 5; _r11._3b1 = 6; _r11._4b1 = 7; _r11._5b1 = 8; _r11._6b1 = 9; _r11._7b1 = 10; _r11._R21 = 11; _r11._pZ = function(_kZ) { var _E_ = null; switch (_kZ.type) { case _r11._L21: _E_ = new _8b1(_kZ); break; case _r11._Q21: _E_ = new _9b1(_kZ); break; case _r11._2b1: _E_ = new _ab1(_kZ); break; case _r11._1b1: _E_ = new _bb1(_kZ); break; case _r11._M21: _E_ = new _cb1(_kZ); break; case _r11._3b1: _E_ = new _db1(_kZ); break; case _r11._4b1: _E_ = new _eb1(_kZ); break; case _r11._5b1: _E_ = new _fb1(_kZ); break; case _r11._6b1: _E_ = new _gb1(_kZ); break; case _r11._7b1: _E_ = new _hb1(_kZ); break; case _r11._R21: _E_ = new _ib1(_kZ); break; default: _9M(!1); break } return _E_ }; _r11._GZ = function(_E_) {}; function _jb1() { this.parent.call(this); this.type = _r11._1b1; this._kb1 = new _ZM(); this._lb1 = new _ZM(); this._mb1 = 0.0; this._nb1 = 0.0; this._ob1 = 0.0; this._pb1 = 0.0; this._qb1 = 0.0; this._rb1 = !1; this._sb1 = !1; Object.seal(this) } _jb1.prototype = { _zT: function(_w21, _x21, anchor) { this._x11 = _w21; this._y11 = _x21; this._kb1 = this._x11._5_(anchor); this._lb1 = this._y11._5_(anchor); this._mb1 = this._y11._KN() - this._x11._KN() }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._mb1 = data['referenceAngle']; this._nb1 = data['lowerAngle']; this._ob1 = data['upperAngle']; this._pb1 = data['maxMotorTorque']; this._qb1 = data['motorSpeed']; this._rb1 = data['enableLimit']; this._sb1 = data['enableMotor'] } }; _jb1._EL(_Sa1); function _bb1(_kZ) { this.parent.call(this, _kZ); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._vb1 = _kZ._mb1; this._wb1 = new _hN(); this._xb1 = 0.0; this._yb1 = _kZ._nb1; this._zb1 = _kZ._ob1; this._Ab1 = _kZ._pb1; this._Bb1 = _kZ._qb1; this._Cb1 = _kZ._rb1; this._Db1 = _kZ._sb1; this._Eb1 = _r11._Ya1; this._e81 = 0; this._f81 = 0; this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._7Z = new _wN(); this._Nb1 = 0 } _bb1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1 }, _Qb1: function() { return this._vb1 }, _Rb1: function() { var _w21 = this._v11; var _x21 = this._t11; return _x21._UY._kb - _w21._UY._kb - this._vb1 }, _Sb1: function() { var _w21 = this._v11; var _x21 = this._t11; return _x21.__Y - _w21.__Y }, _Tb1: function() { return this._Cb1 }, _Ub1: function(_m_) { if (_m_ != this._Cb1) { this._v11._gD(!0); this._t11._gD(!0); this._Cb1 = _m_; this._wb1._Cc = 0.0 } }, _Vb1: function() { return this._yb1 }, _Wb1: function() { return this._zb1 }, _Xb1: function(_Sz, _zQ) { _9M(_Sz <= _zQ); if (_Sz != this._yb1 || _zQ != this._zb1) { this._v11._gD(!0); this._t11._gD(!0); this._wb1._Cc = 0.0; this._yb1 = _Sz; this._zb1 = _zQ } }, _Yb1: function() { return this._Db1 }, _Zb1: function(_m_) { this._v11._gD(!0); this._t11._gD(!0); this._Db1 = _m_ }, __b1: function(_h3) { this._v11._gD(!0); this._t11._gD(!0); this._Bb1 = _h3 }, _0c1: function() { return this._Bb1 }, _1c1: function(_VZ) { this._v11._gD(!0); this._t11._gD(!0); this._Ab1 = _VZ }, _2c1: function() { return this._Ab1 }, _Va1: function(_y01) { var _qV = new _ZM(this._wb1._f3, this._wb1._g3); return _ZM._Vo(_y01, _qV) }, _Wa1: function(_y01) { return _y01 * this._wb1._Cc }, _3c1: function(_y01) { return _y01 * this._xb1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1 = this._v11._UY._QN; this._Ib1 = this._t11._UY._QN; this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1 = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); this._Gb1 = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _FY = (_wX + _xX == 0.0); this._7Z._yF._f3 = _s91 + _t91 + this._Fb1._g3 * this._Fb1._g3 * _wX + this._Gb1._g3 * this._Gb1._g3 * _xX; this._7Z._mN._f3 = -this._Fb1._g3 * this._Fb1._f3 * _wX - this._Gb1._g3 * this._Gb1._f3 * _xX; this._7Z._yN._f3 = -this._Fb1._g3 * _wX - this._Gb1._g3 * _xX; this._7Z._yF._g3 = this._7Z._mN._f3; this._7Z._mN._g3 = _s91 + _t91 + this._Fb1._f3 * this._Fb1._f3 * _wX + this._Gb1._f3 * this._Gb1._f3 * _xX; this._7Z._yN._g3 = this._Fb1._f3 * _wX + this._Gb1._f3 * _xX; this._7Z._yF._Cc = this._7Z._yN._f3; this._7Z._mN._Cc = this._7Z._yN._g3; this._7Z._yN._Cc = _wX + _xX; this._Nb1 = _wX + _xX; if (this._Nb1 > 0.0) { this._Nb1 = 1.0 / this._Nb1 } if (this._Db1 == !1 || _FY) { this._xb1 = 0.0 } if (this._Cb1 && _FY == !1) { var _6c1 = _w91 - _u91 - this._vb1; if (_nO(this._zb1 - this._yb1) < 2.0 * _kM) { this._Eb1 = _r11._0b1 } else if (_6c1 <= this._yb1) { if (this._Eb1 != _r11._Za1) { this._wb1._Cc = 0.0 } this._Eb1 = _r11._Za1 } else if (_6c1 >= this._zb1) { if (this._Eb1 != _r11.__a1) { this._wb1._Cc = 0.0 } this._Eb1 = _r11.__a1 } else { this._Eb1 = _r11._Ya1; this._wb1._Cc = 0.0 } } else { this._Eb1 = _r11._Ya1 } if (data._ML._C01) { this._wb1._Vo(data._ML._z01); this._xb1 *= data._ML._z01; var _qV = new _ZM(this._wb1._f3, this._wb1._g3); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * (__N(this._Fb1, _qV) + this._xb1 + this._wb1._Cc); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * (__N(this._Gb1, _qV) + this._xb1 + this._wb1._Cc) } else { this._wb1.__M(); this._xb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _FY = (_wX + _xX == 0.0); if (this._Db1 && this._Eb1 != _r11._0b1 && _FY == !1) { var _7c1 = _6S - _5S - this._Bb1; var _XZ = -this._Nb1 * _7c1; var _8c1 = this._xb1; var _9c1 = data._ML._x01 * this._Ab1; this._xb1 = _uO(this._xb1 + _XZ, -_9c1, _9c1); _XZ = this._xb1 - _8c1; _5S -= _wX * _XZ; _6S += _xX * _XZ } if (this._Cb1 && this._Eb1 != _r11._Ya1 && _FY == !1) { var _ac1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1)); var _bc1 = _6S - _5S; var _7c1 = new _hN(_ac1._f3, _ac1._g3, _bc1); var _XZ = this._7Z._zN(_7c1)._3N(); if (this._Eb1 == _r11._0b1) { this._wb1._Wh(_XZ) } else if (this._Eb1 == _r11._Za1) { var _W91 = this._wb1._Cc + _XZ._Cc; if (_W91 < 0.0) { var _cc1 = _ZM._Wh(_ac1._3N(), _ZM._Vo(this._wb1._Cc, new _ZM(this._7Z._yN._f3, this._7Z._yN._g3))); var _dc1 = this._7Z._CN(_cc1); _XZ._f3 = _dc1._f3; _XZ._g3 = _dc1._g3; _XZ._Cc = -this._wb1._Cc; this._wb1._f3 += _dc1._f3; this._wb1._g3 += _dc1._g3; this._wb1._Cc = 0.0 } else { this._wb1._Wh(_XZ) } } else if (this._Eb1 == _r11.__a1) { var _W91 = this._wb1._Cc + _XZ._Cc; if (_W91 > 0.0) { var _cc1 = _ZM._Wh(_ac1._3N(), _ZM._Vo(this._wb1._Cc, new _ZM(this._7Z._yN._f3, this._7Z._yN._g3))); var _dc1 = this._7Z._CN(_cc1); _XZ._f3 = _dc1._f3; _XZ._g3 = _dc1._g3; _XZ._Cc = -this._wb1._Cc; this._wb1._f3 += _dc1._f3; this._wb1._g3 += _dc1._g3; this._wb1._Cc = 0.0 } else { this._wb1._Wh(_XZ) } } var _qV = new _ZM(_XZ._f3, _XZ._g3); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * (__N(this._Fb1, _qV) + _XZ._Cc); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * (__N(this._Gb1, _qV) + _XZ._Cc) } else { var _7c1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1)); var _XZ = this._7Z._CN(_7c1._3N()); this._wb1._f3 += _XZ._f3; this._wb1._g3 += _XZ._g3; _v91._6N(_ZM._Vo(_s91, _XZ)); _5S -= _wX * __N(this._Fb1, _XZ); _x91._Wh(_ZM._Vo(_t91, _XZ)); _6S += _xX * __N(this._Gb1, _XZ) } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _ec1 = 0.0; var _fc1 = 0.0; var _FY = (this._Lb1 + this._Mb1 == 0.0); if (this._Cb1 && this._Eb1 != _r11._Ya1 && _FY == !1) { var _0b = _w91 - _u91 - this._vb1; var _gc1 = 0.0; if (this._Eb1 == _r11._0b1) { var _jO = _uO(_0b - this._yb1, -_qM, _qM); _gc1 = -this._Nb1 * _jO; _ec1 = _nO(_jO) } else if (this._Eb1 == _r11._Za1) { var _jO = _0b - this._yb1; _ec1 = -_jO; _jO = _uO(_jO + _kM, -_qM, 0.0); _gc1 = -this._Nb1 * _jO } else if (this._Eb1 == _r11.__a1) { var _jO = _0b - this._zb1; _ec1 = _jO; _jO = _uO(_jO - _kM, 0.0, _qM); _gc1 = -this._Nb1 * _jO } _u91 -= this._Lb1 * _gc1; _w91 += this._Mb1 * _gc1 } { _4c1._gi(_u91); _5c1._gi(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _jO = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); _fc1 = _jO._7N(); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _891 = new _jN(); _891._yF._f3 = _s91 + _t91 + _wX * _8T._g3 * _8T._g3 + _xX * _9T._g3 * _9T._g3; _891._yF._g3 = -_wX * _8T._f3 * _8T._g3 - _xX * _9T._f3 * _9T._g3; _891._mN._f3 = _891._yF._g3; _891._mN._g3 = _s91 + _t91 + _wX * _8T._f3 * _8T._f3 + _xX * _9T._f3 * _9T._f3; var _XZ = _891._rN(_jO)._3N(); _J11._6N(_ZM._Vo(_s91, _XZ)); _u91 -= _wX * __N(_8T, _XZ); _L11._Wh(_ZM._Vo(_t91, _XZ)); _w91 += _xX * __N(_9T, _XZ) } data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return _fc1 <= _jM && _ec1 <= _kM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['referenceAngle'] = this._vb1; _xr['lowerAngle'] = this._yb1; _xr['upperAngle'] = this._zb1; _xr['maxMotorTorque'] = this._Ab1; _xr['motorSpeed'] = this._Bb1; _xr['enableLimit'] = this._Cb1; _xr['enableMotor'] = this._Db1; return _xr } }; _bb1._EL(_r11); function _hc1() { this.parent.call(this); this.type = _r11._Q21; this.target = new _ZM(0.0, 0.0); this._ic1 = 0.0; this._jc1 = 5.0; this._kc1 = 0.7; Object.seal(this) } _hc1._EL(_Sa1); function _9b1(_kZ) { this.parent.call(this, _kZ); _9M(_kZ.target._bN()); _9M(_PM(_kZ._ic1) && _kZ._ic1 >= 0.0); _9M(_PM(_kZ._jc1) && _kZ._jc1 >= 0.0); _9M(_PM(_kZ._kc1) && _kZ._kc1 >= 0.0); this._lc1 = _kZ.target._u8(); this._ub1 = _hO(this._t11._VN(), this._lc1); this._mc1 = _kZ._ic1; this._wb1 = new _ZM(); this._nc1 = _kZ._jc1; this._oc1 = _kZ._kc1; this._pc1 = 0.0; this._qc1 = 0.0; this._e81 = 0; this._f81 = 0; this._Gb1 = new _ZM(); this._Ib1 = new _ZM(); this._Kb1 = 0; this._Mb1 = 0; this._7Z = new _jN(); this._rc1 = new _ZM() } _9b1.prototype = { _J21: function() { return this._lc1 }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { return _ZM._Vo(_y01, this._wb1) }, _Wa1: function(_y01) { return _y01 * 0.0 }, _sc1: function(target) { if (this._t11._q_() == !1) { this._t11._gD(!0); } this._lc1._2N(target) }, _tc1: function() { return this._lc1 }, _uc1: function(_RZ) { this._mc1 = _RZ }, _vc1: function() { return this._mc1 }, _wc1: function(_xc1) { this._nc1 = _xc1 }, _yc1: function() { return this._nc1 }, _zc1: function(_Ca1) { this._oc1 = _Ca1 }, _Ac1: function() { return this._oc1 }, _IR: function(_JR) { this._lc1._6N(_JR) }, _ya1: function(data) { this._f81 = this._t11._LY; this._Ib1._2N(this._t11._UY._QN); this._Kb1 = this._t11._8Z; this._Mb1 = this._t11._aZ; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _5c1 = new _JN(_w91); var _eP = this._t11._ZZ(); var _Bc1 = 2.0 * _eM * this._nc1; var _mk = 2.0 * _eP * this._oc1 * _Bc1; var _eT = _eP * (_Bc1 * _Bc1); var _K3 = data._ML._x01; _9M(_mk + _K3 * _eT > _dM); this._qc1 = _K3 * (_mk + _K3 * _eT); if (this._qc1 != 0.0) { this._qc1 = 1.0 / this._qc1 } this._pc1 = _K3 * _eT * this._qc1; this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1))); var _891 = new _jN(); _891._yF._f3 = this._Kb1 + this._Mb1 * this._Gb1._g3 * this._Gb1._g3 + this._qc1; _891._yF._g3 = -this._Mb1 * this._Gb1._f3 * this._Gb1._g3; _891._mN._f3 = _891._yF._g3; _891._mN._g3 = this._Kb1 + this._Mb1 * this._Gb1._f3 * this._Gb1._f3 + this._qc1; this._7Z._2N(_891._oN()); this._rc1._2N(_ZM._6N(_ZM._Wh(_L11, this._Gb1), this._lc1)); this._rc1._Vo(this._pc1); _6S *= 0.98; if (data._ML._C01) { this._wb1._Vo(data._ML._z01); _x91._Wh(_ZM._Vo(this._Kb1, this._wb1)); _6S += this._Mb1 * __N(this._Gb1, this._wb1) } else { this._wb1.__M() } data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _7c1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1)); var _XZ = _2O(this._7Z, (_ZM._Wh(_ZM._Wh(_7c1, this._rc1), _ZM._Vo(this._qc1, this._wb1)))._3N()); var _8c1 = this._wb1._u8(); this._wb1._Wh(_XZ); var _9c1 = data._ML._x01 * this._mc1; if (this._wb1._8N() > _9c1 * _9c1) { this._wb1._Vo(_9c1 / this._wb1._7N()) } _XZ._2N(_ZM._6N(this._wb1, _8c1)); _x91._Wh(_ZM._Vo(this._Kb1, _XZ)); _6S += this._Mb1 * __N(this._Gb1, _XZ); data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { return ! 0 } }; _9b1._EL(_r11); function _Cc1() { this.parent.call(this); this.type = _r11._L21; this._kb1 = new _ZM(0.0, 0.0); this._lb1 = new _ZM(0.0, 0.0); this.length = 1.0; this._jc1 = 0.0; this._kc1 = 0.0; Object.seal(this) } _Cc1.prototype = { _zT: function(_gt, _ht, _Dc1, _Ec1) { this._x11 = _gt; this._y11 = _ht; this._kb1 = this._x11._5_(_Dc1); this._lb1 = this._y11._5_(_Ec1); var _mk = _ZM._6N(_Ec1, _Dc1); this.length = _mk._7N() }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this.length = data['length']; this._jc1 = data['frequencyHz']; this._kc1 = data['dampingRatio'] } }; _Cc1._EL(_Sa1); function _8b1(_kZ) { this.parent.call(this, _kZ); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._Fc1 = _kZ.length; this._nc1 = _kZ._jc1; this._oc1 = _kZ._kc1; this._wb1 = 0.0; this._qc1 = 0.0; this._Gc1 = 0.0; this._e81 = 0; this._f81 = 0; this._Hc1 = new _ZM(); this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._7Z = 0 } _8b1.prototype = { _J21: function() { return this._v11._2_(this._tb1); }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { var _BX = _ZM._Vo((_y01 * this._wb1), this._Hc1); return _BX }, _Wa1: function(_y01) { return 0.0 }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1 }, _Ic1: function(length) { this._Fc1 = length }, _Jc1: function() { return this._Fc1 }, _wc1: function(_xc1) { this._nc1 = _xc1 }, _yc1: function() { return this._nc1 }, _zc1: function(_Ca1) { this._oc1 = _Ca1 }, _Ac1: function() { return this._oc1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1 = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); this._Gb1 = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); this._Hc1 = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, this._Gb1), _J11), this._Fb1); var length = this._Hc1._7N(); if (length > _jM) { this._Hc1._Vo(1.0 / length) } else { this._Hc1._gi(0.0, 0.0) } var _Kc1 = __N(this._Fb1, this._Hc1); var _Lc1 = __N(this._Gb1, this._Hc1); var _Mc1 = this._Jb1 + this._Lb1 * _Kc1 * _Kc1 + this._Kb1 + this._Mb1 * _Lc1 * _Lc1; this._7Z = _Mc1 != 0.0 ? 1.0 / _Mc1: 0.0; if (this._nc1 > 0.0) { var _jO = length - this._Fc1; var _Bc1 = 2.0 * _eM * this._nc1; var _mk = 2.0 * this._7Z * this._oc1 * _Bc1; var _eT = this._7Z * _Bc1 * _Bc1; var _K3 = data._ML._x01; this._qc1 = _K3 * (_mk + _K3 * _eT); this._qc1 = this._qc1 != 0.0 ? 1.0 / this._qc1: 0.0; this._Gc1 = _jO * _K3 * _eT * this._qc1; _Mc1 += this._qc1; this._7Z = _Mc1 != 0.0 ? 1.0 / _Mc1: 0.0 } else { this._qc1 = 0.0; this._Gc1 = 0.0 } if (data._ML._C01) { this._wb1 *= data._ML._z01; var _qV = _ZM._Vo(this._wb1, this._Hc1); _v91._6N(_ZM._Vo(this._Jb1, _qV)); _5S -= this._Lb1 * __N(this._Fb1, _qV); _x91._Wh(_ZM._Vo(this._Kb1, _qV)); _6S += this._Mb1 * __N(this._Gb1, _qV) } else { this._wb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _Nc1 = _ZM._Wh(_v91, _1O(_5S, this._Fb1)); var _Oc1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1)); var _7c1 = _ZN(this._Hc1, _ZM._6N(_Oc1, _Nc1)); var _XZ = -this._7Z * (_7c1 + this._Gc1 + this._qc1 * this._wb1); this._wb1 += _XZ; var _qV = _ZM._Vo(_XZ, this._Hc1); _v91._6N(_ZM._Vo(this._Jb1, _qV)); _5S -= this._Lb1 * __N(this._Fb1, _qV); _x91._Wh(_ZM._Vo(this._Kb1, _qV)); _6S += this._Mb1 * __N(this._Gb1, _qV); data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { if (this._nc1 > 0.0) { return ! 0 } var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _vb = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); var length = _vb._9N(); var _jO = length - this._Fc1; _jO = _uO(_jO, -_pM, _pM); var _XZ = -this._7Z * _jO; var _qV = _ZM._Vo(_XZ, _vb); _J11._6N(_ZM._Vo(this._Jb1, _qV)); _u91 -= this._Lb1 * __N(_8T, _qV); _L11._Wh(_ZM._Vo(this._Kb1, _qV)); _w91 += this._Mb1 * __N(_9T, _qV); data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return _nO(_jO) < _jM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['length'] = this._Fc1; _xr['frequencyHz'] = this._nc1; _xr['dampingRatio'] = this._oc1; return _xr } }; _8b1._EL(_r11); function _Pc1() { this.parent.call(this); this.type = _r11._2b1; this._kb1 = new _ZM(); this._lb1 = new _ZM(); this._Qc1 = new _ZM(1.0, 0.0); this._mb1 = 0.0; this._rb1 = !1; this._Rc1 = 0.0; this._Sc1 = 0.0; this._sb1 = !1; this._Tc1 = 0.0; this._qb1 = 0.0; Object.seal(this) } _Pc1.prototype = { _zT: function(_w21, _x21, anchor, _RO) { this._x11 = _w21; this._y11 = _x21; this._kb1 = this._x11._5_(anchor); this._lb1 = this._y11._5_(anchor); this._Qc1 = this._x11._7_(_RO); this._mb1 = this._y11._KN() - this._x11._KN() }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._Qc1._fN(data['localAxisA']); this._mb1 = data['referenceAngle']; this._rb1 = data['enableLimit']; this._Rc1 = data['lowerTranslation']; this._Sc1 = data['upperTranslation']; this._sb1 = data['enableMotor']; this._Tc1 = data['maxMotorForce']; this._qb1 = data['motorSpeed'] } }; _Pc1._EL(_Sa1); function _ab1(_kZ) { this.parent.call(this, _kZ); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._Uc1 = _kZ._Qc1._u8(); this._Uc1._9N(); this._Vc1 = _1O(1.0, this._Uc1); this._vb1 = _kZ._mb1; this._wb1 = new _hN(); this._Nb1 = 0.0; this._xb1 = 0.0; this._Wc1 = _kZ._Rc1; this._Xc1 = _kZ._Sc1; this._Yc1 = _kZ._Tc1; this._Bb1 = _kZ._qb1; this._Cb1 = _kZ._rb1; this._Db1 = _kZ._sb1; this._Eb1 = _r11._Ya1; this._XX = new _ZM(); this._Zc1 = new _ZM(); this._e81 = 0; this._f81 = 0; this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this.__c1 = 0, this._0d1 = 0; this._1d1 = 0, this._2d1 = 0; this._3d1 = new _wN(); this._Nb1 = 0 } _ab1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { return _ZM._Vo(_y01, _ZM._Wh(_ZM._Vo(this._wb1._f3, this._Zc1), _ZM._Vo((this._xb1 + this._wb1._Cc), this._XX))) }, _Wa1: function(_y01) { return _y01 * this._wb1._g3 }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1; }, _4d1: function() { return this._Uc1 }, _Qb1: function() { return this._vb1 }, _5d1: function() { var _mS = this._v11._2_(this._tb1); var _nS = this._t11._2_(this._ub1); var _mk = _ZM._6N(_nS, _mS); var _RO = this._v11._3_(this._Uc1); var _La1 = _ZN(_mk, _RO); return _La1 }, _Sb1: function() { var _w21 = this._v11; var _x21 = this._t11; var _8T = _dO(_w21._MV._fu, _ZM._6N(this._tb1, _w21._UY._QN)); var _9T = _dO(_x21._MV._fu, _ZM._6N(this._ub1, _x21._UY._QN)); var _TO = _ZM._Wh(_w21._UY._I3, _8T); var _UO = _ZM._Wh(_x21._UY._I3, _9T); var _mk = _ZM._6N(_UO, _TO); var _RO = _dO(_w21._MV._fu, this._Uc1); var _v91 = _w21._ZY; var _x91 = _x21._ZY; var _5S = _w21.__Y; var _6S = _x21.__Y; var _h3 = _ZN(_mk, _1O(_5S, _RO)) + _ZN(_RO, _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, _9T)), _v91), _1O(_5S, _8T))); return _h3 }, _Tb1: function() { return this._Cb1 }, _Ub1: function(_m_) { if (_m_ != this._Cb1) { this._v11._gD(!0); this._t11._gD(!0); this._Cb1 = _m_; this._wb1._Cc = 0.0 } }, _Vb1: function() { return this._Wc1 }, _Wb1: function() { return this._Xc1 }, _Xb1: function(_Sz, _zQ) { _9M(_Sz <= _zQ); if (_Sz != this._Wc1 || _zQ != this._Xc1) { this._v11._gD(!0); this._t11._gD(!0); this._Wc1 = _Sz; this._Xc1 = _zQ; this._wb1._Cc = 0.0 } }, _Yb1: function() { return this._Db1 }, _Zb1: function(_m_) { this._v11._gD(!0); this._t11._gD(!0); this._Db1 = _m_ }, __b1: function(_h3) { this._v11._gD(!0); this._t11._gD(!0); this._Bb1 = _h3 }, _0c1: function() { return this._Bb1 }, _6d1: function(_RZ) { this._v11._gD(!0); this._t11._gD(!0); this._Yc1 = _RZ }, _7d1: function() { return this._Yc1 }, _8d1: function(_y01) { return _y01 * this._xb1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1 = this._v11._UY._QN; this._Ib1 = this._t11._UY._QN; this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _mk = _ZM._Wh(_ZM._6N(_L11, _J11), _ZM._6N(_9T, _8T)); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; { this._XX = _dO(_4c1, this._Uc1); this._1d1 = __N(_ZM._Wh(_mk, _8T), this._XX); this._2d1 = __N(_9T, this._XX); this._Nb1 = _s91 + _t91 + _wX * this._1d1 * this._1d1 + _xX * this._2d1 * this._2d1; if (this._Nb1 > 0.0) { this._Nb1 = 1.0 / this._Nb1 } } { this._Zc1 = _dO(_4c1, this._Vc1); this.__c1 = __N(_ZM._Wh(_mk, _8T), this._Zc1); this._0d1 = __N(_9T, this._Zc1); var _L91 = _s91 + _t91 + _wX * this.__c1 * this.__c1 + _xX * this._0d1 * this._0d1; var _N91 = _wX * this.__c1 + _xX * this._0d1; var _9d1 = _wX * this.__c1 * this._1d1 + _xX * this._0d1 * this._2d1; var _M91 = _wX + _xX; if (_M91 == 0.0) { _M91 = 1.0 } var _ad1 = _wX * this._1d1 + _xX * this._2d1; var _bd1 = _s91 + _t91 + _wX * this._1d1 * this._1d1 + _xX * this._2d1 * this._2d1; this._3d1._yF._gi(_L91, _N91, _9d1); this._3d1._mN._gi(_N91, _M91, _ad1); this._3d1._yN._gi(_9d1, _ad1, _bd1) } if (this._Cb1) { var _cd1 = _ZN(this._XX, _mk); if (_nO(this._Xc1 - this._Wc1) < 2.0 * _jM) { this._Eb1 = _r11._0b1 } else if (_cd1 <= this._Wc1) { if (this._Eb1 != _r11._Za1) { this._Eb1 = _r11._Za1; this._wb1._Cc = 0.0 } } else if (_cd1 >= this._Xc1) { if (this._Eb1 != _r11.__a1) { this._Eb1 = _r11.__a1; this._wb1._Cc = 0.0 } } else { this._Eb1 = _r11._Ya1; this._wb1._Cc = 0.0 } } else { this._Eb1 = _r11._Ya1; this._wb1._Cc = 0.0 } if (this._Db1 == !1) { this._xb1 = 0.0 } if (data._ML._C01) { this._wb1._Vo(data._ML._z01); this._xb1 *= data._ML._z01; var _qV = _ZM._Wh(_ZM._Vo(this._wb1._f3, this._Zc1), _ZM._Vo((this._xb1 + this._wb1._Cc), this._XX)); var _dd1 = this._wb1._f3 * this.__c1 + this._wb1._g3 + (this._xb1 + this._wb1._Cc) * this._1d1; var _ed1 = this._wb1._f3 * this._0d1 + this._wb1._g3 + (this._xb1 + this._wb1._Cc) * this._2d1; _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * _dd1; _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * _ed1 } else { this._wb1.__M(); this._xb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; if (this._Db1 && this._Eb1 != _r11._0b1) { var _7c1 = _ZN(this._XX, _ZM._6N(_x91, _v91)) + this._2d1 * _6S - this._1d1 * _5S; var _XZ = this._Nb1 * (this._Bb1 - _7c1); var _8c1 = this._xb1; var _9c1 = data._ML._x01 * this._Yc1; this._xb1 = _uO(this._xb1 + _XZ, -_9c1, _9c1); _XZ = this._xb1 - _8c1; var _qV = _ZM._Vo(_XZ, this._XX); var _dd1 = _XZ * this._1d1; var _ed1 = _XZ * this._2d1; _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * _dd1; _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * _ed1 } var _ac1 = new _ZM(); _ac1._f3 = _ZN(this._Zc1, _ZM._6N(_x91, _v91)) + this._0d1 * _6S - this.__c1 * _5S; _ac1._g3 = _6S - _5S; if (this._Cb1 && this._Eb1 != _r11._Ya1) { var _bc1; _bc1 = _ZN(this._XX, _ZM._6N(_x91, _v91)) + this._2d1 * _6S - this._1d1 * _5S; var _7c1 = new _hN(_ac1._f3, _ac1._g3, _bc1); var _fd1 = this._wb1._u8(); var _gd1 = this._3d1._zN(_7c1._3N()); this._wb1._Wh(_gd1); if (this._Eb1 == _r11._Za1) { this._wb1._Cc = _sO(this._wb1._Cc, 0.0) } else if (this._Eb1 == _r11.__a1) { this._wb1._Cc = _qO(this._wb1._Cc, 0.0) } var _W9 = _ZM._6N(_ac1._3N(), _ZM._Vo((this._wb1._Cc - _fd1._Cc), new _ZM(this._3d1._yN._f3, this._3d1._yN._g3))); var _hd1 = _ZM._Wh(this._3d1._CN(_W9), new _ZM(_fd1._f3, _fd1._g3)); this._wb1._f3 = _hd1._f3; this._wb1._g3 = _hd1._g3; _gd1 = _hN._6N(this._wb1, _fd1); var _qV = _ZM._Wh(_ZM._Vo(_gd1._f3, this._Zc1), _ZM._Vo(_gd1._Cc, this._XX)); var _dd1 = _gd1._f3 * this.__c1 + _gd1._g3 + _gd1._Cc * this._1d1; var _ed1 = _gd1._f3 * this._0d1 + _gd1._g3 + _gd1._Cc * this._2d1; _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * _dd1; _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * _ed1 } else { var _gd1 = this._3d1._CN(_ac1._3N()); this._wb1._f3 += _gd1._f3; this._wb1._g3 += _gd1._g3; var _qV = _ZM._Vo(_gd1._f3, this._Zc1); var _dd1 = _gd1._f3 * this.__c1 + _gd1._g3; var _ed1 = _gd1._f3 * this._0d1 + _gd1._g3; _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * _dd1; _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * _ed1 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _mk = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); var _RO = _dO(_4c1, this._Uc1); var _CH = __N(_ZM._Wh(_mk, _8T), _RO); var _DH = __N(_9T, _RO); var _id1 = _dO(_4c1, this._Vc1); var _lp = __N(_ZM._Wh(_mk, _8T), _id1); var _mp = __N(_9T, _id1); var _XZ = new _hN(); var _jd1 = new _ZM(); _jd1._f3 = _ZN(_id1, _mk); _jd1._g3 = _w91 - _u91 - this._vb1; var _kd1 = _nO(_jd1._f3); var _ec1 = _nO(_jd1._g3); var _HY = !1; var _ld1 = 0.0; if (this._Cb1) { var _La1 = _ZN(_RO, _mk); if (_nO(this._Xc1 - this._Wc1) < 2.0 * _jM) { _ld1 = _uO(_La1, -_pM, _pM); _kd1 = _sO(_kd1, _nO(_La1)); _HY = !0; } else if (_La1 <= this._Wc1) { _ld1 = _uO(_La1 - this._Wc1 + _jM, -_pM, 0.0); _kd1 = _sO(_kd1, this._Wc1 - _La1); _HY = !0 } else if (_La1 >= this._Xc1) { _ld1 = _uO(_La1 - this._Xc1 - _jM, 0.0, _pM); _kd1 = _sO(_kd1, _La1 - this._Xc1); _HY = !0 } } if (_HY) { var _L91 = _s91 + _t91 + _wX * _lp * _lp + _xX * _mp * _mp; var _N91 = _wX * _lp + _xX * _mp; var _9d1 = _wX * _lp * _CH + _xX * _mp * _DH; var _M91 = _wX + _xX; if (_M91 == 0.0) { _M91 = 1.0 } var _ad1 = _wX * _CH + _xX * _DH; var _bd1 = _s91 + _t91 + _wX * _CH * _CH + _xX * _DH * _DH; var _891 = new _wN(); _891._yF._gi(_L91, _N91, _9d1); _891._mN._gi(_N91, _M91, _ad1); _891._yN._gi(_9d1, _ad1, _bd1); var _jO = new _hN(); _jO._f3 = _jd1._f3; _jO._g3 = _jd1._g3; _jO._Cc = _ld1; _XZ = _891._zN(_jO._3N()) } else { var _L91 = _s91 + _t91 + _wX * _lp * _lp + _xX * _mp * _mp; var _N91 = _wX * _lp + _xX * _mp; var _M91 = _wX + _xX; if (_M91 == 0.0) { _M91 = 1.0 } var _891 = new _jN(); _891._yF._gi(_L91, _N91); _891._mN._gi(_N91, _M91); var _md1 = _891._rN(_jd1._3N()); _XZ._f3 = _md1._f3; _XZ._g3 = _md1._g3; _XZ._Cc = 0.0 } var _qV = _ZM._Wh(_ZM._Vo(_XZ._f3, _id1), _ZM._Vo(_XZ._Cc, _RO)); var _dd1 = _XZ._f3 * _lp + _XZ._g3 + _XZ._Cc * _CH; var _ed1 = _XZ._f3 * _mp + _XZ._g3 + _XZ._Cc * _DH; _J11._6N(_ZM._Vo(_s91, _qV)); _u91 -= _wX * _dd1; _L11._Wh(_ZM._Vo(_t91, _qV)); _w91 += _xX * _ed1; data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return _kd1 <= _jM && _ec1 <= _kM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['localAxisA'] = this._Uc1._dN(); _xr['referenceAngle'] = this._vb1; _xr['enableLimit'] = this._Cb1; _xr['lowerTranslation'] = this._Wc1; _xr['upperTranslation'] = this._Xc1; _xr['enableMotor'] = this._Db1; _xr['maxMotorForce'] = this._Yc1; _xr['motorSpeed'] = this._Bb1; return _xr } }; _ab1._EL(_r11); function _nd1() { this.parent.call(this); this.type = _r11._6b1; this._kb1 = new _ZM(); this._lb1 = new _ZM(); this._ic1 = 0.0; this._od1 = 0.0; Object.seal(this) } _nd1.prototype = { _zT: function(_w21, _x21, anchor) { this._x11 = _w21; this._y11 = _x21; this._kb1._2N(this._x11._5_(anchor)); this._lb1._2N(this._y11._5_(anchor)) }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._ic1 = data['maxForce']; this._od1 = data['maxTorque'] } }; _nd1._EL(_Sa1); function _gb1(_kZ) { this.parent.call(this, _kZ); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._pd1 = new _ZM(); this._qd1 = 0.0; this._mc1 = _kZ._ic1; this._rd1 = _kZ._od1; this._e81 = 0; this._f81 = 0; this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._sd1 = new _jN(); this._td1 = 0 } _gb1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { return _ZM._Vo(_y01, this._pd1) }, _Wa1: function(_y01) { return _y01 * this._qd1 }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1 }, _uc1: function(_RZ) { _9M(_PM(_RZ) && _RZ >= 0.0); this._mc1 = _RZ }, _vc1: function() { return this._mc1 }, _ud1: function(_VZ) { _9M(_PM(_VZ) && _VZ >= 0.0); this._rd1 = _VZ }, _vd1: function() { return this._rd1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1 = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); this._Gb1 = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _891 = new _jN(); _891._yF._f3 = _s91 + _t91 + _wX * this._Fb1._g3 * this._Fb1._g3 + _xX * this._Gb1._g3 * this._Gb1._g3; _891._yF._g3 = -_wX * this._Fb1._f3 * this._Fb1._g3 - _xX * this._Gb1._f3 * this._Gb1._g3; _891._mN._f3 = _891._yF._g3; _891._mN._g3 = _s91 + _t91 + _wX * this._Fb1._f3 * this._Fb1._f3 + _xX * this._Gb1._f3 * this._Gb1._f3; this._sd1 = _891._oN(); this._td1 = _wX + _xX; if (this._td1 > 0.0) { this._td1 = 1.0 / this._td1 } if (data._ML._C01) { this._pd1._Vo(data._ML._z01); this._qd1 *= data._ML._z01; var _qV = new _ZM(this._pd1._f3, this._pd1._g3); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * (__N(this._Fb1, _qV) + this._qd1); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * (__N(this._Gb1, _qV) + this._qd1) } else { this._pd1.__M(); this._qd1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _K3 = data._ML._x01; { var _7c1 = _6S - _5S; var _XZ = -this._td1 * _7c1; var _8c1 = this._qd1; var _9c1 = _K3 * this._rd1; this._qd1 = _uO(this._qd1 + _XZ, -_9c1, _9c1); _XZ = this._qd1 - _8c1; _5S -= _wX * _XZ; _6S += _xX * _XZ } { var _7c1 = _ZM._Wh(_x91, _ZM._6N(_1O(_6S, this._Gb1), _ZM._6N(_v91, _1O(_5S, this._Fb1)))); var _XZ = _2O(this._sd1, _7c1)._3N(); var _8c1 = this._pd1._u8(); this._pd1._Wh(_XZ); var _9c1 = _K3 * this._mc1; if (this._pd1._8N() > _9c1 * _9c1) { this._pd1._9N(); this._pd1._Vo(_9c1); } _XZ = _ZM._6N(this._pd1, _8c1); _v91._6N(_ZM._Vo(_s91, _XZ)); _5S -= _wX * __N(this._Fb1, _XZ); _x91._Wh(_ZM._Vo(_t91, _XZ)); _6S += _xX * __N(this._Gb1, _XZ) } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { return ! 0 }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['maxForce'] = this._mc1; _xr['maxTorque'] = this._rd1; return _xr } }; _gb1._EL(_r11); function _wd1() { this.parent.call(this); this.type = _r11._5b1; this._kb1 = new _ZM(0.0, 0.0); this._lb1 = new _ZM(0.0, 0.0); this._mb1 = 0.0; this._jc1 = 0.0; this._kc1 = 0.0; Object.seal(this) } _wd1.prototype = { _zT: function(_w21, _x21, anchor) { this._x11 = _w21; this._y11 = _x21; this._kb1._2N(this._x11._5_(anchor)); this._lb1._2N(this._y11._5_(anchor)); this._mb1 = this._y11._KN() - this._x11._KN() }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._mb1 = data['referenceAngle']; this._jc1 = data['frequencyHz']; this._kc1 = data['dampingRatio'] } }; _wd1._EL(_Sa1); function _fb1(_kZ) { this.parent.call(this, _kZ); this._Gc1 = 0; this._qc1 = 0; this._e81 = 0; this._f81 = 0; this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._7Z = new _wN(); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._vb1 = _kZ._mb1; this._nc1 = _kZ._jc1; this._oc1 = _kZ._kc1; this._wb1 = new _hN(); } _fb1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { var _qV = new _ZM(this._wb1._f3, this._wb1._g3); return _ZM._Vo(_y01, _qV) }, _Wa1: function(_y01) { return _y01 * this._wb1._Cc }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1 }, _Qb1: function() { return this._vb1 }, _wc1: function(_xc1) { this._nc1 = _xc1 }, _yc1: function() { return this._nc1 }, _zc1: function(_Ca1) { this._oc1 = _Ca1 }, _Ac1: function() { return this._oc1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1._2N(_dO(_4c1, _ZM._6N(this._tb1, this._Hb1))); this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1))); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _891 = new _wN(); _891._yF._f3 = _s91 + _t91 + this._Fb1._g3 * this._Fb1._g3 * _wX + this._Gb1._g3 * this._Gb1._g3 * _xX; _891._mN._f3 = -this._Fb1._g3 * this._Fb1._f3 * _wX - this._Gb1._g3 * this._Gb1._f3 * _xX; _891._yN._f3 = -this._Fb1._g3 * _wX - this._Gb1._g3 * _xX; _891._yF._g3 = _891._mN._f3; _891._mN._g3 = _s91 + _t91 + this._Fb1._f3 * this._Fb1._f3 * _wX + this._Gb1._f3 * this._Gb1._f3 * _xX; _891._yN._g3 = this._Fb1._f3 * _wX + this._Gb1._f3 * _xX; _891._yF._Cc = _891._yN._f3; _891._mN._Cc = _891._yN._g3; _891._yN._Cc = _wX + _xX; if (this._nc1 > 0.0) { _891._DN(this._7Z); var _xd1 = _wX + _xX; var _F9 = _xd1 > 0.0 ? 1.0 / _xd1: 0.0; var _jO = _w91 - _u91 - this._vb1; var _Bc1 = 2.0 * _eM * this._nc1; var _mk = 2.0 * _F9 * this._oc1 * _Bc1; var _eT = _F9 * _Bc1 * _Bc1; var _K3 = data._ML._x01; this._qc1 = _K3 * (_mk + _K3 * _eT); this._qc1 = this._qc1 != 0.0 ? 1.0 / this._qc1: 0.0; this._Gc1 = _jO * _K3 * _eT * this._qc1; _xd1 += this._qc1; this._7Z._yN._Cc = _xd1 != 0.0 ? 1.0 / _xd1: 0.0 } else { _891._FN(this._7Z); this._qc1 = 0.0; this._Gc1 = 0.0 } if (data._ML._C01) { this._wb1._Vo(data._ML._z01); var _qV = new _ZM(this._wb1._f3, this._wb1._g3); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * (__N(this._Fb1, _qV) + this._wb1._Cc); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * (__N(this._Gb1, _qV) + this._wb1._Cc) } else { this._wb1.__M() } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; if (this._nc1 > 0.0) { var _bc1 = _6S - _5S; var _yd1 = -this._7Z._yN._Cc * (_bc1 + this._Gc1 + this._qc1 * this._wb1._Cc); this._wb1._Cc += _yd1; _5S -= _wX * _yd1; _6S += _xX * _yd1; var _ac1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1)); var _md1 = _9O(this._7Z, _ac1)._3N(); this._wb1._f3 += _md1._f3; this._wb1._g3 += _md1._g3; var _qV = _md1._u8(); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * __N(this._Fb1, _qV); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * __N(this._Gb1, _qV) } else { var _ac1 = _ZM._6N(_ZM._6N(_ZM._Wh(_x91, _1O(_6S, this._Gb1)), _v91), _1O(_5S, this._Fb1)); var _bc1 = _6S - _5S; var _7c1 = new _hN(_ac1._f3, _ac1._g3, _bc1); var _XZ = _8O(this._7Z, _7c1)._3N(); this._wb1._Wh(_XZ); var _qV = new _ZM(_XZ._f3, _XZ._g3); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * (__N(this._Fb1, _qV) + _XZ._Cc); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * (__N(this._Gb1, _qV) + _XZ._Cc) } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _fc1, _ec1; var _891 = new _wN(); _891._yF._f3 = _s91 + _t91 + _8T._g3 * _8T._g3 * _wX + _9T._g3 * _9T._g3 * _xX; _891._mN._f3 = -_8T._g3 * _8T._f3 * _wX - _9T._g3 * _9T._f3 * _xX; _891._yN._f3 = -_8T._g3 * _wX - _9T._g3 * _xX; _891._yF._g3 = _891._mN._f3; _891._mN._g3 = _s91 + _t91 + _8T._f3 * _8T._f3 * _wX + _9T._f3 * _9T._f3 * _xX; _891._yN._g3 = _8T._f3 * _wX + _9T._f3 * _xX; _891._yF._Cc = _891._yN._f3; _891._mN._Cc = _891._yN._g3; _891._yN._Cc = _wX + _xX; if (this._nc1 > 0.0) { var _jd1 = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); _fc1 = _jd1._7N(); _ec1 = 0.0; var _qV = _891._CN(_jd1)._3N(); _J11._6N(_ZM._Vo(_s91, _qV)); _u91 -= _wX * __N(_8T, _qV); _L11._Wh(_ZM._Vo(_t91, _qV)); _w91 += _xX * __N(_9T, _qV) } else { var _jd1 = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); var _ld1 = _w91 - _u91 - this._vb1; _fc1 = _jd1._7N(); _ec1 = _nO(_ld1); var _jO = new _hN(_jd1._f3, _jd1._g3, _ld1); var _XZ = _891._zN(_jO)._3N(); var _qV = new _ZM(_XZ._f3, _XZ._g3); _J11._6N(_ZM._Vo(_s91, _qV)); _u91 -= _wX * (__N(_8T, _qV) + _XZ._Cc); _L11._Wh(_ZM._Vo(_t91, _qV)); _w91 += _xX * (__N(_9T, _qV) + _XZ._Cc) } data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return _fc1 <= _jM && _ec1 <= _kM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['referenceAngle'] = this._vb1; _xr['frequencyHz'] = this._nc1; _xr['dampingRatio'] = this._oc1; return _xr } }; _fb1._EL(_r11); function _zd1() { this.parent.call(this); this.type = _r11._4b1; this._kb1 = new _ZM(); this._lb1 = new _ZM(); this._Qc1 = new _ZM(1.0, 0.0); this._sb1 = !1; this._pb1 = 0.0; this._qb1 = 0.0; this._jc1 = 2.0; this._kc1 = 0.7; Object.seal(this) } _zd1.prototype = { _zT: function(_w21, _x21, anchor, _RO) { this._x11 = _w21; this._y11 = _x21; this._kb1._2N(this._x11._5_(anchor)); this._lb1._2N(this._y11._5_(anchor)); this._Qc1._2N(this._x11._7_(_RO)) }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._Qc1._fN(data['localAxisA']); this._sb1 = data['enableMotor']; this._pb1 = data['maxMotorTorque']; this._qb1 = data['motorSpeed']; this._jc1 = data['frequencyHz']; this._kc1 = data['dampingRatio'] } }; _zd1._EL(_Sa1); function _eb1(_kZ) { this.parent.call(this, _kZ); this._e81 = 0; this._f81 = 0; this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._Uc1 = _kZ._Qc1._u8(); this._Vc1 = _1O(1.0, this._Uc1); this._7Z = 0.0; this._wb1 = 0.0; this._Nb1 = 0.0; this._xb1 = 0.0; this._Ad1 = 0.0; this._Bd1 = 0.0; this._Ab1 = _kZ._pb1; this._Bb1 = _kZ._qb1; this._Db1 = _kZ._sb1; this._nc1 = _kZ._jc1; this._oc1 = _kZ._kc1; this._Gc1 = 0.0; this._qc1 = 0.0; this._Cd1 = new _ZM(); this._Dd1 = new _ZM(); this._Ed1 = this._Fd1 = 0; this._Gd1 = this._Hd1 = 0 } _eb1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { return _ZM._Vo(_y01, _ZM._Wh(_ZM._Vo(this._wb1, this._Dd1), _ZM._Vo(this._Bd1, this._Cd1))) }, _Wa1: function(_y01) { return _y01 * this._xb1 }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1 }, _4d1: function() { return this._Uc1 }, _5d1: function() { var _w21 = this._v11; var _x21 = this._t11; var _mS = _w21._2_(this._tb1); var _nS = _x21._2_(this._ub1); var _mk = _ZM._6N(_nS, _mS); var _RO = _w21._3_(this._Uc1); var _La1 = _ZN(_mk, _RO); return _La1 }, _Sb1: function() { var _5S = this._v11.__Y; var _6S = this._t11.__Y; return _6S - _5S }, _Yb1: function() { return this._Db1 }, _Zb1: function(_m_) { this._v11._gD(!0); this._t11._gD(!0); this._Db1 = _m_ }, __b1: function(_h3) { this._v11._gD(!0); this._t11._gD(!0); this._Bb1 = _h3 }, _0c1: function() { return this._Bb1 }, _1c1: function(_VZ) { this._v11._gD(!0); this._t11._gD(!0); this._Ab1 = _VZ }, _2c1: function() { return this._Ab1 }, _3c1: function(_y01) { return _y01 * this._xb1 }, _Id1: function(_xc1) { this._nc1 = _xc1 }, _Jd1: function() { return this._nc1 }, _Kd1: function(_Ca1) { this._oc1 = _Ca1 }, _Ld1: function() { return this._oc1; }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _mk = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); { this._Dd1._2N(_dO(_4c1, this._Vc1)); this._Gd1 = __N(_ZM._Wh(_mk, _8T), this._Dd1); this._Hd1 = __N(_9T, this._Dd1); this._7Z = _s91 + _t91 + _wX * this._Gd1 * this._Gd1 + _xX * this._Hd1 * this._Hd1; if (this._7Z > 0.0) { this._7Z = 1.0 / this._7Z } } this._Ad1 = 0.0; this._Gc1 = 0.0; this._qc1 = 0.0; if (this._nc1 > 0.0) { this._Cd1._2N(_dO(_4c1, this._Uc1)); this._Ed1 = __N(_ZM._Wh(_mk, _8T), this._Cd1); this._Fd1 = __N(_9T, this._Cd1); var _Mc1 = _s91 + _t91 + _wX * this._Ed1 * this._Ed1 + _xX * this._Fd1 * this._Fd1; if (_Mc1 > 0.0) { this._Ad1 = 1.0 / _Mc1; var _jO = _ZN(_mk, this._Cd1); var _Bc1 = 2.0 * _eM * this._nc1; var _mk = 2.0 * this._Ad1 * this._oc1 * _Bc1; var _eT = this._Ad1 * _Bc1 * _Bc1; var _K3 = data._ML._x01; this._qc1 = _K3 * (_mk + _K3 * _eT); if (this._qc1 > 0.0) { this._qc1 = 1.0 / this._qc1 } this._Gc1 = _jO * _K3 * _eT * this._qc1; this._Ad1 = _Mc1 + this._qc1; if (this._Ad1 > 0.0) { this._Ad1 = 1.0 / this._Ad1 } } } else { this._Bd1 = 0.0 } if (this._Db1) { this._Nb1 = _wX + _xX; if (this._Nb1 > 0.0) { this._Nb1 = 1.0 / this._Nb1 } } else { this._Nb1 = 0.0; this._xb1 = 0.0 } if (data._ML._C01) { this._wb1 *= data._ML._z01; this._Bd1 *= data._ML._z01; this._xb1 *= data._ML._z01; var _qV = _ZM._Wh(_ZM._Vo(this._wb1, this._Dd1), _ZM._Vo(this._Bd1, this._Cd1)); var _dd1 = this._wb1 * this._Gd1 + this._Bd1 * this._Ed1 + this._xb1; var _ed1 = this._wb1 * this._Hd1 + this._Bd1 * this._Fd1 + this._xb1; _v91._6N(_ZM._Vo(this._Jb1, _qV)); _5S -= this._Lb1 * _dd1; _x91._Wh(_ZM._Vo(this._Kb1, _qV)); _6S += this._Mb1 * _ed1 } else { this._wb1 = 0.0; this._Bd1 = 0.0; this._xb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; { var _7c1 = _ZN(this._Cd1, _ZM._6N(_x91, _v91)) + this._Fd1 * _6S - this._Ed1 * _5S; var _XZ = -this._Ad1 * (_7c1 + this._Gc1 + this._qc1 * this._Bd1); this._Bd1 += _XZ; var _qV = _ZM._Vo(_XZ, this._Cd1); var _dd1 = _XZ * this._Ed1; var _ed1 = _XZ * this._Fd1; _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * _dd1; _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * _ed1 } { var _7c1 = _6S - _5S - this._Bb1; var _XZ = -this._Nb1 * _7c1; var _8c1 = this._xb1; var _9c1 = data._ML._x01 * this._Ab1; this._xb1 = _uO(this._xb1 + _XZ, -_9c1, _9c1); _XZ = this._xb1 - _8c1; _5S -= _wX * _XZ; _6S += _xX * _XZ } { var _7c1 = _ZN(this._Dd1, _ZM._6N(_x91, _v91)) + this._Hd1 * _6S - this._Gd1 * _5S; var _XZ = -this._7Z * _7c1; this._wb1 += _XZ; var _qV = _ZM._Vo(_XZ, this._Dd1); var _dd1 = _XZ * this._Gd1; var _ed1 = _XZ * this._Hd1; _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * _dd1; _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * _ed1 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _mk = _ZM._Wh(_ZM._6N(_L11, _J11), _ZM._6N(_9T, _8T)); var _941 = _dO(_4c1, this._Vc1); var _Md1 = __N(_ZM._Wh(_mk, _8T), _941); var _Nd1 = __N(_9T, _941); var _jO = _ZN(_mk, _941); var _eT = this._Jb1 + this._Kb1 + this._Lb1 * this._Gd1 * this._Gd1 + this._Mb1 * this._Hd1 * this._Hd1; var _XZ; if (_eT != 0.0) { _XZ = -_jO / _eT } else { _XZ = 0.0 } var _qV = _ZM._Vo(_XZ, _941); var _dd1 = _XZ * _Md1; var _ed1 = _XZ * _Nd1; _J11._6N(_ZM._Vo(this._Jb1, _qV)); _u91 -= this._Lb1 * _dd1; _L11._Wh(_ZM._Vo(this._Kb1, _qV)); _w91 += this._Mb1 * _ed1; data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return _nO(_jO) <= _jM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['localAxisA'] = this._Od1._dN(); _xr['enableMotor'] = this._Db1; _xr['maxMotorTorque'] = this._Ab1; _xr['motorSpeed'] = this._Bb1; _xr['frequencyHz'] = this._nc1; _xr['dampingRatio'] = this._oc1; return _xr; } }; _eb1._EL(_r11); function _Pd1() { this.parent.call(this); this.type = _r11._3b1; this._Qd1 = null; this._Rd1 = null; this._Ca1 = 1.0; Object.seal(this) } _Pd1.prototype = { _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._Qd1 = data['joint1']; this._Rd1 = data['joint2']; this._Ca1 = data['ratio'] } }; _Pd1._EL(_Sa1); function _db1(_kZ) { this.parent.call(this, _kZ); this._Sd1 = _kZ._Qd1; this._Td1 = _kZ._Rd1; this._Ud1 = this._Sd1._jP(); this._Vd1 = this._Td1._jP(); _9M(this._Ud1 == _r11._1b1 || this._Ud1 == _r11._2b1); _9M(this._Vd1 == _r11._1b1 || this._Vd1 == _r11._2b1); var _Wd1, _Xd1; this._Yd1 = this._Sd1._H21(); this._v11 = this._Sd1._I21(); var _AT = this._v11._MV; var _u91 = this._v11._UY._kb; var _Zd1 = this._Yd1._MV; var __d1 = this._Yd1._UY._kb; this._tb1 = new _ZM(); this._ub1 = new _ZM(); this._0e1 = new _ZM(); this._1e1 = new _ZM(); this._2e1 = new _ZM(); this._3e1 = new _ZM(); if (this._Ud1 == _r11._1b1) { var _4e1 = _kZ._Qd1; this._0e1._2N(_4e1._tb1); this._tb1._2N(_4e1._ub1); this._5e1 = _4e1._vb1; this._2e1.__M(); _Wd1 = _u91 - __d1 - this._5e1 } else { var _6e1 = _kZ._Qd1; this._0e1._2N(_6e1._tb1); this._tb1._2N(_6e1._ub1); this._5e1 = _6e1._vb1; this._2e1._2N(_6e1._Uc1); var _7e1 = this._0e1; var _mS = _eO(_Zd1._fu, _ZM._Wh(_dO(_AT._fu, this._tb1), _ZM._6N(_AT._mv, _Zd1._mv))); _Wd1 = _ZN(_ZM._6N(_mS, _7e1), this._2e1) } this._8e1 = this._Td1._H21(); this._t11 = this._Td1._I21(); var _CT = this._t11._MV; var _w91 = this._t11._UY._kb; var _9e1 = this._8e1._MV; var _ae1 = this._8e1._UY._kb; if (this._Vd1 == _r11._1b1) { var _4e1 = _kZ._Rd1; this._1e1._2N(_4e1._tb1); this._ub1._2N(_4e1._ub1); this._be1 = _4e1._vb1; this._3e1.__M(); _Xd1 = _w91 - _ae1 - this._be1 } else { var _6e1 = _kZ._Rd1; this._1e1._2N(_6e1._tb1); this._ub1._2N(_6e1._ub1); this._be1 = _6e1._vb1; this._3e1._2N(_6e1._Uc1); var _ce1 = this._1e1; var _nS = _eO(_9e1._fu, _ZM._Wh(_dO(_CT._fu, this._ub1), _ZM._6N(_CT._mv, _9e1._mv))); _Xd1 = _ZN(_ZM._6N(_nS, _ce1), this._3e1) } this._de1 = _kZ._Ca1; this._ee1 = _Wd1 + this._de1 * _Xd1; this._wb1 = 0.0; this._e81 = this._f81 = this._fe1 = this._ge1 = 0; this._he1 = new _ZM(); this._ie1 = new _ZM(); this._je1 = new _ZM(); this._ke1 = new _ZM(); this._le1 = this._me1 = this._ne1 = this._oe1 = 0; this._pe1 = this._qe1 = this._re1 = this._se1 = 0; this._te1 = new _ZM(), this._ue1 = new _ZM(); this._ve1 = this._we1 = this._xe1 = this._ye1 = 0; this._7Z = 0 } _db1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { var _qV = _ZM._Vo(this._wb1, this._te1); return _ZM._Vo(_y01, _qV) }, _Wa1: function(_y01) { var _ze1 = this._wb1 * this._ve1; return _y01 * _ze1 }, _Ae1: function() { return this._Sd1 }, _Be1: function() { return this._Td1 }, _Ce1: function(_Ca1) { _9M(_PM(_Ca1)); this._de1 = _Ca1 }, _De1: function() { return this._de1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._fe1 = this._Yd1._LY; this._ge1 = this._8e1._LY; this._he1._2N(this._v11._UY._QN); this._ie1._2N(this._t11._UY._QN); this._je1._2N(this._Yd1._UY._QN); this._ke1._2N(this._8e1._UY._QN); this._le1 = this._v11._8Z; this._me1 = this._t11._8Z; this._ne1 = this._Yd1._8Z; this._oe1 = this._8e1._8Z; this._pe1 = this._v11._aZ; this._qe1 = this._t11._aZ; this._re1 = this._Yd1._aZ; this._se1 = this._8e1._aZ; var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var __d1 = data._G01[this._fe1]._kb; var _Ee1 = data._H01[this._fe1]._xb._u8(); var _Fe1 = data._H01[this._fe1]._J3; var _ae1 = data._G01[this._ge1]._kb; var _Ge1 = data._H01[this._ge1]._xb._u8(); var _He1 = data._H01[this._ge1]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91), _Ie1 = new _JN(__d1), _Je1 = new _JN(_ae1); this._7Z = 0.0; if (this._Ud1 == _r11._1b1) { this._te1.__M(); this._ve1 = 1.0; this._xe1 = 1.0; this._7Z += this._pe1 + this._re1 } else { var _vb = _dO(_Ie1, this._2e1); var _Ke1 = _dO(_Ie1, _ZM._6N(this._0e1, this._je1)); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._he1)); this._te1._2N(_vb); this._xe1 = __N(_Ke1, _vb); this._ve1 = __N(_8T, _vb); this._7Z += this._ne1 + this._le1 + this._re1 * this._xe1 * this._xe1 + this._pe1 * this._ve1 * this._ve1 } if (this._Vd1 == _r11._1b1) { this._ue1.__M(); this._we1 = this._de1; this._ye1 = this._de1; this._7Z += this._de1 * this._de1 * (this._qe1 + this._se1) } else { var _vb = _dO(_Je1, this._3e1); var _Le1 = _dO(_Je1, _ZM._6N(this._1e1, this._ke1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._ie1)); this._ue1._2N(_ZM._Vo(this._de1, _vb)); this._ye1 = this._de1 * __N(_Le1, _vb); this._we1 = this._de1 * __N(_9T, _vb); this._7Z += this._de1 * this._de1 * (this._oe1 + this._me1) + this._se1 * this._ye1 * this._ye1 + this._qe1 * this._we1 * this._we1 } this._7Z = this._7Z > 0.0 ? 1.0 / this._7Z: 0.0; if (data._ML._C01) { _v91._Wh(_ZM._Vo((this._le1 * this._wb1), this._te1)); _5S += this._pe1 * this._wb1 * this._ve1; _x91._Wh(_ZM._Vo((this._me1 * this._wb1), this._ue1)); _6S += this._qe1 * this._wb1 * this._we1; _Ee1._6N(_ZM._Vo((this._ne1 * this._wb1), this._te1)); _Fe1 -= this._re1 * this._wb1 * this._xe1; _Ge1._6N(_ZM._Vo((this._oe1 * this._wb1), this._ue1)); _He1 -= this._se1 * this._wb1 * this._ye1 } else { this._wb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S; data._H01[this._fe1]._xb._2N(_Ee1); data._H01[this._fe1]._J3 = _Fe1; data._H01[this._ge1]._xb._2N(_Ge1); data._H01[this._ge1]._J3 = _He1 }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _Ee1 = data._H01[this._fe1]._xb._u8(); var _Fe1 = data._H01[this._fe1]._J3; var _Ge1 = data._H01[this._ge1]._xb._u8(); var _He1 = data._H01[this._ge1]._J3; var _7c1 = _ZN(this._te1, _ZM._6N(_v91, _Ee1)) + _ZN(this._ue1, _ZM._6N(_x91, _Ge1)); _7c1 += (this._ve1 * _5S - this._xe1 * _Fe1) + (this._we1 * _6S - this._ye1 * _He1); var _XZ = -this._7Z * _7c1; this._wb1 += _XZ; _v91._Wh(_ZM._Vo((this._le1 * _XZ), this._te1)); _5S += this._pe1 * _XZ * this._ve1; _x91._Wh(_ZM._Vo((this._me1 * _XZ), this._ue1)); _6S += this._qe1 * _XZ * this._we1; _Ee1._6N(_ZM._Vo((this._ne1 * _XZ), this._te1)); _Fe1 -= this._re1 * _XZ * this._xe1; _Ge1._6N(_ZM._Vo((this._oe1 * _XZ), this._ue1)); _He1 -= this._se1 * _XZ * this._ye1; data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S; data._H01[this._fe1]._xb._2N(_Ee1); data._H01[this._fe1]._J3 = _Fe1; data._H01[this._ge1]._xb._2N(_Ge1); data._H01[this._ge1]._J3 = _He1; }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _Me1 = data._G01[this._fe1]._I3._u8(); var __d1 = data._G01[this._fe1]._kb; var _Ne1 = data._G01[this._ge1]._I3._u8(); var _ae1 = data._G01[this._ge1]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91), _Ie1 = new _JN(__d1), _Je1 = new _JN(_ae1); var _kd1 = 0.0; var _Wd1, _Xd1; var _Oe1 = new _ZM(), _Pe1 = new _ZM(); var _Qe1, _Re1, _Se1, _Te1; var _eP = 0.0; if (this._Ud1 == _r11._1b1) { _Oe1.__M(); _Qe1 = 1.0; _Se1 = 1.0; _eP += this._pe1 + this._re1; _Wd1 = _u91 - __d1 - this._5e1 } else { var _vb = _dO(_Ie1, this._2e1); var _Ke1 = _dO(_Ie1, _ZM._6N(this._0e1, this._je1)); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._he1)); _Oe1._2N(_vb); _Se1 = __N(_Ke1, _vb); _Qe1 = __N(_8T, _vb); _eP += this._ne1 + this._le1 + this._re1 * _Se1 * _Se1 + this._pe1 * _Qe1 * _Qe1; var _7e1 = _ZM._6N(this._0e1, this._je1); var _mS = _eO(_Ie1, _ZM._Wh(_8T, _ZM._6N(_J11, _Me1))); _Wd1 = _ZN(_ZM._6N(_mS, _7e1), this._2e1) } if (this._Vd1 == _r11._1b1) { _Pe1.__M(); _Re1 = this._de1; _Te1 = this._de1; _eP += this._de1 * this._de1 * (this._qe1 + this._se1); _Xd1 = _w91 - _ae1 - this._be1 } else { var _vb = _dO(_Je1, this._3e1); var _Le1 = _dO(_Je1, _ZM._6N(this._1e1, this._ke1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._ie1)); _Pe1._2N(_ZM._Vo(this._de1, _vb)); _Te1 = this._de1 * __N(_Le1, _vb); _Re1 = this._de1 * __N(_9T, _vb); _eP += this._de1 * this._de1 * (this._oe1 + this._me1) + this._se1 * _Te1 * _Te1 + this._qe1 * _Re1 * _Re1; var _ce1 = _ZM._6N(this._1e1, this._ke1); var _nS = _eO(_Je1, _ZM._Wh(_9T, _ZM._6N(_L11, _Ne1))); _Xd1 = _ZN(_ZM._6N(_nS, _ce1), this._3e1) } var _jO = (_Wd1 + this._de1 * _Xd1) - this._ee1; var _XZ = 0.0; if (_eP > 0.0) { _XZ = -_jO / _eP } _J11._Wh(_ZM._Vo(this._le1, _ZM._Vo(_XZ, _Oe1))); _u91 += this._pe1 * _XZ * _Qe1; _L11._Wh(_ZM._Vo(this._me1, _ZM._Vo(_XZ, _Pe1))); _w91 += this._qe1 * _XZ * _Re1; _Me1._6N(_ZM._Vo(this._ne1, _ZM._Vo(_XZ, _Oe1))); __d1 -= this._re1 * _XZ * _Se1; _Ne1._6N(_ZM._Vo(this._oe1, _ZM._Vo(_XZ, _Pe1))); _ae1 -= this._se1 * _XZ * _Te1; data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; data._G01[this._fe1]._I3._2N(_Me1); data._G01[this._fe1]._kb = __d1; data._G01[this._ge1]._I3._2N(_Ne1); data._G01[this._ge1]._kb = _ae1; return _kd1 < _jM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['joint1'] = this._Sd1._Ue1; _xr['joint2'] = this._Td1._Ue1; _xr['ratio'] = this._de1; return _xr } }; _db1._EL(_r11); function _Ve1() { this.parent.call(this); this.type = _r11._R21; this._We1 = new _ZM(); this._Xe1 = 0.0; this._ic1 = 1.0; this._od1 = 1.0; this._Ye1 = 0.3; Object.seal(this) } _Ve1.prototype = { _zT: function(_w21, _x21) { this._x11 = _w21; this._y11 = _x21; var _Ze1 = this._y11._JC(); this._We1._2N(this._x11._5_(_Ze1)); var __e1 = this._x11._KN(); var _0f1 = this._y11._KN(); this._Xe1 = _0f1 - __e1 }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._We1._fN(data['linearOffset']); this._Xe1 = data['angularOffset']; this._ic1 = data['maxForce']; this._od1 = data['maxTorque']; this._Ye1 = data['correctionFactor'] } }; _Ve1._EL(_Sa1); function _ib1(_kZ) { this.parent.call(this, _kZ); this._1f1 = _kZ._We1._u8(); this._2f1 = _kZ._Xe1; this._pd1 = new _ZM(); this._qd1 = 0.0; this._mc1 = _kZ._ic1; this._rd1 = _kZ._od1; this._3f1 = _kZ._Ye1; this._e81 = 0; this._f81 = 0; this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._4f1 = new _ZM(); this._5f1 = 0; this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._sd1 = new _jN(); this._td1 = 0 } _ib1.prototype = { _J21: function() { return this._v11._JC() }, _K21: function() { return this._t11._JC() }, _Va1: function(_y01) { return _ZM._Vo(_y01, this._pd1) }, _Wa1: function(_y01) { return _y01 * this._qd1 }, _6f1: function(_We1) { if (_We1._f3 != this._1f1._f3 || _We1._g3 != this._1f1._g3) { this._v11._gD(!0); this._t11._gD(!0); this._1f1._2N(_We1) } }, _T21: function() { return this._1f1 }, _7f1: function(_Xe1) { if (_Xe1 != this._2f1) { this._v11._gD(!0); this._t11._gD(!0); this._2f1 = _Xe1 } }, _8f1: function() { return this._2f1 }, _uc1: function(_RZ) { _9M(_PM(_RZ) && _RZ >= 0.0); this._mc1 = _RZ }, _vc1: function() { return this._mc1 }, _ud1: function(_VZ) { _9M(_PM(_VZ) && _VZ >= 0.0); this._rd1 = _VZ }, _vd1: function() { return this._rd1 }, _9f1: function(_af1) { _9M(_PM(_af1) && 0.0 <= _af1 && _af1 <= 1.0); this._3f1 = _af1 }, _bf1: function() { return this._3f1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1._2N(_dO(_4c1, this._Hb1._3N())); this._Gb1._2N(_dO(_5c1, this._Ib1._3N())); var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _891 = new _jN(); _891._yF._f3 = _s91 + _t91 + _wX * this._Fb1._g3 * this._Fb1._g3 + _xX * this._Gb1._g3 * this._Gb1._g3; _891._yF._g3 = -_wX * this._Fb1._f3 * this._Fb1._g3 - _xX * this._Gb1._f3 * this._Gb1._g3; _891._mN._f3 = _891._yF._g3; _891._mN._g3 = _s91 + _t91 + _wX * this._Fb1._f3 * this._Fb1._f3 + _xX * this._Gb1._f3 * this._Gb1._f3; this._sd1._2N(_891._oN()); this._td1 = _wX + _xX; if (this._td1 > 0.0) { this._td1 = 1.0 / this._td1 } this._4f1._f3 = _L11._f3 + this._Gb1._f3 - _J11._f3 - this._Fb1._f3 - (_4c1._I3 * this._1f1._f3 - _4c1._9q * this._1f1._g3); this._4f1._g3 = _L11._g3 + this._Gb1._g3 - _J11._g3 - this._Fb1._g3 - (_4c1._9q * this._1f1._f3 + _4c1._I3 * this._1f1._g3); this._5f1 = _w91 - _u91 - this._2f1; if (data._ML._C01) { this._pd1._Vo(data._ML._z01); this._qd1 *= data._ML._z01; var _qV = new _ZM(this._pd1._f3, this._pd1._g3); _v91._6N(_ZM._Vo(_s91, _qV)); _5S -= _wX * (__N(this._Fb1, _qV) + this._qd1); _x91._Wh(_ZM._Vo(_t91, _qV)); _6S += _xX * (__N(this._Gb1, _qV) + this._qd1) } else { this._pd1.__M(); this._qd1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _s91 = this._Jb1, _t91 = this._Kb1; var _wX = this._Lb1, _xX = this._Mb1; var _K3 = data._ML._x01; var _cf1 = data._ML._y01; { var _7c1 = _6S - _5S + _cf1 * this._3f1 * this._5f1; var _XZ = -this._td1 * _7c1; var _8c1 = this._qd1; var _9c1 = _K3 * this._rd1; this._qd1 = _uO(this._qd1 + _XZ, -_9c1, _9c1); _XZ = this._qd1 - _8c1; _5S -= _wX * _XZ; _6S += _xX * _XZ } { var _7c1 = new _ZM(_x91._f3 + ( - _6S * this._Gb1._f3) - _v91._f3 - ( - _5S * this._Fb1._f3) + _cf1 * this._3f1 * this._4f1._f3, _x91._g3 + (_6S * this._Gb1._g3) - _v91._g3 - (_5S * this._Fb1._g3) + _cf1 * this._3f1 * this._4f1._g3); var _XZ = _2O(this._sd1, _7c1)._3N(); var _8c1 = this._pd1._u8(); this._pd1._Wh(_XZ); var _9c1 = _K3 * this._mc1; if (this._pd1._8N() > _9c1 * _9c1) { this._pd1._9N(); this._pd1._Vo(_9c1) } _XZ._2N(_ZM._6N(this._pd1, _8c1)); _v91._6N(_ZM._Vo(_s91, _XZ)); _5S -= _wX * __N(this._Fb1, _XZ); _x91._Wh(_ZM._Vo(_t91, _XZ)); _6S += _xX * __N(this._Gb1, _XZ) } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { return ! 0 }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['linearOffset'] = this._1f1._dN(); _xr['angularOffset'] = this._2f1; _xr['maxForce'] = this._mc1; _xr['maxTorque'] = this._rd1; _xr['correctionFactor'] = this._3f1; return _xr } }; _ib1._EL(_r11); var _df1 = 2.0; function _ef1() { this.parent.call(this); this.type = _r11._M21; this._ff1 = new _ZM( - 1.0, 1.0); this._gf1 = new _ZM(1.0, 1.0); this._kb1 = new _ZM( - 1.0, 0.0); this._lb1 = new _ZM(1.0, 0.0); this._hf1 = 0.0; this._if1 = 0.0; this._Ca1 = 1.0; this._z11 = !0; Object.seal(this) } _ef1.prototype = { _zT: function(_w21, _x21, _jf1, _kf1, _lf1, _mf1, _T9) { this._x11 = _w21; this._y11 = _x21; this._ff1._2N(_jf1); this._gf1._2N(_kf1); this._kb1._2N(this._x11._5_(_lf1)); this._lb1._2N(this._y11._5_(_mf1)); var _nf1 = _ZM._6N(_lf1, _jf1); this._hf1 = _nf1._7N(); var _of1 = _ZM._6N(_mf1, _kf1); this._if1 = _of1._7N(); this._Ca1 = _T9; _9M(this._Ca1 > _dM) }, _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._ff1._fN(data['groundAnchorA']); this._gf1._fN(data['groundAnchorB']); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._hf1 = data['lengthA']; this._if1 = data['lengthB']; this._Ca1 = data['ratio'] } }; _ef1._EL(_Sa1); function _cb1(_kZ) { this.parent.call(this, _kZ); this._e81 = 0; this._f81 = 0; this._pf1 = new _ZM(); this._qf1 = new _ZM(); this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0; this._7Z = 0; this._rf1 = _kZ._ff1._u8(); this._sf1 = _kZ._gf1._u8(); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._tf1 = _kZ._hf1; this._uf1 = _kZ._if1; _9M(_kZ._Ca1 != 0.0); this._de1 = _kZ._Ca1; this._ee1 = _kZ._hf1 + this._de1 * _kZ._if1; this._wb1 = 0.0 } _cb1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1); }, _Va1: function(_y01) { var _qV = _ZM._Vo(this._wb1, this._qf1); return _ZM._Vo(_y01, _qV) }, _Wa1: function(_y01) { return 0.0 }, _O21: function() { return this._rf1 }, _P21: function() { return this._sf1 }, _vf1: function() { return this._tf1 }, _wf1: function() { return this._uf1 }, _De1: function() { return this._de1 }, _xf1: function() { var _mv = this._v11._2_(this._tb1); var _9q = this._rf1; var _mk = _ZM._6N(_mv, _9q); return _mk._7N() }, _yf1: function() { var _mv = this._t11._2_(this._ub1); var _9q = this._sf1; var _mk = _ZM._6N(_mv, _9q); return _mk._7N(); }, _IR: function(_JR) { this._rf1._6N(_JR); this._sf1._6N(_JR) }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1._2N(_dO(_4c1, _ZM._6N(this._tb1, this._Hb1))); this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1))); this._pf1._2N(_ZM._Wh(_J11, _ZM._6N(this._Fb1, this._rf1))); this._qf1._2N(_ZM._Wh(_L11, _ZM._6N(this._Gb1, this._sf1))); var _hf1 = this._pf1._7N(); var _if1 = this._qf1._7N(); if (_hf1 > 10.0 * _jM) { this._pf1._Vo(1.0 / _hf1) } else { this._pf1.__M() } if (_if1 > 10.0 * _jM) { this._qf1._Vo(1.0 / _if1) } else { this._qf1.__M(); } var _zf1 = __N(this._Fb1, this._pf1); var _Af1 = __N(this._Gb1, this._qf1); var _s91 = this._Jb1 + this._Lb1 * _zf1 * _zf1; var _t91 = this._Kb1 + this._Mb1 * _Af1 * _Af1; this._7Z = _s91 + this._de1 * this._de1 * _t91; if (this._7Z > 0.0) { this._7Z = 1.0 / this._7Z } if (data._ML._C01) { this._wb1 *= data._ML._z01; var _Bf1 = _ZM._Vo( - (this._wb1), this._pf1); var _Cf1 = _ZM._Vo(( - this._de1 * this._wb1), this._qf1); _v91._Wh(_ZM._Vo(this._Jb1, _Bf1)); _5S += this._Lb1 * __N(this._Fb1, _Bf1); _x91._Wh(_ZM._Vo(this._Kb1, _Cf1)); _6S += this._Mb1 * __N(this._Gb1, _Cf1) } else { this._wb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _Nc1 = _ZM._Wh(_v91, _1O(_5S, this._Fb1)); var _Oc1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1)); var _7c1 = -_ZN(this._pf1, _Nc1) - this._de1 * _ZN(this._qf1, _Oc1); var _XZ = -this._7Z * _7c1; this._wb1 += _XZ; var _Bf1 = _ZM._Vo( - _XZ, this._pf1); var _Cf1 = _ZM._Vo( - this._de1, _ZM._Vo(_XZ, this._qf1)); _v91._Wh(_ZM._Vo(this._Jb1, _Bf1)); _5S += this._Lb1 * __N(this._Fb1, _Bf1); _x91._Wh(_ZM._Vo(this._Kb1, _Cf1)); _6S += this._Mb1 * __N(this._Gb1, _Cf1); data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _Df1 = _ZM._Wh(_J11, _ZM._6N(_8T, this._rf1)); var _Ef1 = _ZM._Wh(_L11, _ZM._6N(_9T, this._sf1)); var _hf1 = _Df1._7N(); var _if1 = _Ef1._7N(); if (_hf1 > 10.0 * _jM) { _Df1._Vo(1.0 / _hf1) } else { _Df1.__M() } if (_if1 > 10.0 * _jM) { _Ef1._Vo(1.0 / _if1) } else { _Ef1.__M() } var _zf1 = __N(_8T, _Df1); var _Af1 = __N(_9T, _Ef1); var _s91 = this._Jb1 + this._Lb1 * _zf1 * _zf1; var _t91 = this._Kb1 + this._Mb1 * _Af1 * _Af1; var _eP = _s91 + this._de1 * this._de1 * _t91; if (_eP > 0.0) { _eP = 1.0 / _eP } var _jO = this._ee1 - _hf1 - this._de1 * _if1; var _kd1 = _nO(_jO); var _XZ = -_eP * _jO; var _Bf1 = _ZM._Vo( - _XZ, _Df1); var _Cf1 = _ZM._Vo( - this._de1, _ZM._Vo(_XZ, _Ef1)); _J11._Wh(_ZM._Vo(this._Jb1, _Bf1)); _u91 += this._Lb1 * __N(_8T, _Bf1); _L11._Wh(_ZM._Vo(this._Kb1, _Cf1)); _w91 += this._Mb1 * __N(_9T, _Cf1); data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return _kd1 < _jM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['groundAnchorA'] = this._rf1._dN(); _xr['groundAnchorB'] = this._sf1._dN(); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['lengthA'] = this._tf1; _xr['lengthB'] = this._uf1; _xr['ratio'] = this._de1; return _xr } }; _cb1._EL(_r11); function _Ff1() { this.parent.call(this); this.type = _r11._7b1; this._kb1 = new _ZM( - 1.0, 0.0); this._lb1 = new _ZM(1.0, 0.0); this._Gf1 = 0.0; Object.seal(this) } _Ff1.prototype = { _fN: function(data, _D21, _Ua1) { this.parent.prototype._fN.call(this, data, _D21, _Ua1); this._kb1._fN(data['localAnchorA']); this._lb1._fN(data['localAnchorB']); this._Gf1 = data['maxLength'] } }; _Ff1._EL(_Sa1); function _hb1(_kZ) { this.parent.call(this, _kZ); this._tb1 = _kZ._kb1._u8(); this._ub1 = _kZ._lb1._u8(); this._Hf1 = _kZ._Gf1; this._7Z = 0.0; this._wb1 = 0.0; this._If1 = _r11._Ya1; this._Fc1 = 0.0; this._e81 = 0; this._f81 = 0; this._Hc1 = new _ZM(); this._Fb1 = new _ZM(); this._Gb1 = new _ZM(); this._Hb1 = new _ZM(); this._Ib1 = new _ZM(); this._Jb1 = 0; this._Kb1 = 0; this._Lb1 = 0; this._Mb1 = 0 } _hb1.prototype = { _J21: function() { return this._v11._2_(this._tb1) }, _K21: function() { return this._t11._2_(this._ub1) }, _Va1: function(_y01) { var _BX = _ZM._Vo((_y01 * this._wb1), this._Hc1); return _BX }, _Wa1: function(_y01) { return 0.0 }, _Ob1: function() { return this._tb1 }, _Pb1: function() { return this._ub1 }, _Jf1: function(length) { this._Hf1 = length }, _Kf1: function() { return this._Hf1 }, _Lf1: function() { return this._If1 }, _ya1: function(data) { this._e81 = this._v11._LY; this._f81 = this._t11._LY; this._Hb1._2N(this._v11._UY._QN); this._Ib1._2N(this._t11._UY._QN); this._Jb1 = this._v11._8Z; this._Kb1 = this._t11._8Z; this._Lb1 = this._v11._aZ; this._Mb1 = this._t11._aZ; var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); this._Fb1._2N(_dO(_4c1, _ZM._6N(this._tb1, this._Hb1))); this._Gb1._2N(_dO(_5c1, _ZM._6N(this._ub1, this._Ib1))); this._Hc1._2N(_ZM._6N(_ZM._6N(_ZM._Wh(_L11, this._Gb1), _J11), this._Fb1)); this._Fc1 = this._Hc1._7N(); var _jO = this._Fc1 - this._Hf1; if (_jO > 0.0) { this._If1 = _r11.__a1 } else { this._If1 = _r11._Ya1 } if (this._Fc1 > _jM) { this._Hc1._Vo(1.0 / this._Fc1) } else { this._Hc1.__M(); this._7Z = 0.0; this._wb1 = 0.0; return } var _Mf1 = __N(this._Fb1, this._Hc1); var _Nf1 = __N(this._Gb1, this._Hc1); var _Mc1 = this._Jb1 + this._Lb1 * _Mf1 * _Mf1 + this._Kb1 + this._Mb1 * _Nf1 * _Nf1; this._7Z = _Mc1 != 0.0 ? 1.0 / _Mc1: 0.0; if (data._ML._C01) { this._wb1 *= data._ML._z01; var _qV = _ZM._Vo(this._wb1, this._Hc1); _v91._6N(_ZM._Vo(this._Jb1, _qV)); _5S -= this._Lb1 * __N(this._Fb1, _qV); _x91._Wh(_ZM._Vo(this._Kb1, _qV)); _6S += this._Mb1 * __N(this._Gb1, _qV) } else { this._wb1 = 0.0 } data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _Q91: function(data) { var _v91 = data._H01[this._e81]._xb._u8(); var _5S = data._H01[this._e81]._J3; var _x91 = data._H01[this._f81]._xb._u8(); var _6S = data._H01[this._f81]._J3; var _Nc1 = _ZM._Wh(_v91, _1O(_5S, this._Fb1)); var _Oc1 = _ZM._Wh(_x91, _1O(_6S, this._Gb1)); var _jO = this._Fc1 - this._Hf1; var _7c1 = _ZN(this._Hc1, _ZM._6N(_Oc1, _Nc1)); if (_jO < 0.0) { _7c1 += data._ML._y01 * _jO } var _XZ = -this._7Z * _7c1; var _8c1 = this._wb1; this._wb1 = _qO(0.0, this._wb1 + _XZ); _XZ = this._wb1 - _8c1; var _qV = _ZM._Vo(_XZ, this._Hc1); _v91._6N(_ZM._Vo(this._Jb1, _qV)); _5S -= this._Lb1 * __N(this._Fb1, _qV); _x91._Wh(_ZM._Vo(this._Kb1, _qV)); _6S += this._Mb1 * __N(this._Gb1, _qV); data._H01[this._e81]._xb._2N(_v91); data._H01[this._e81]._J3 = _5S; data._H01[this._f81]._xb._2N(_x91); data._H01[this._f81]._J3 = _6S }, _aa1: function(data) { var _J11 = data._G01[this._e81]._I3._u8(); var _u91 = data._G01[this._e81]._kb; var _L11 = data._G01[this._f81]._I3._u8(); var _w91 = data._G01[this._f81]._kb; var _4c1 = new _JN(_u91), _5c1 = new _JN(_w91); var _8T = _dO(_4c1, _ZM._6N(this._tb1, this._Hb1)); var _9T = _dO(_5c1, _ZM._6N(this._ub1, this._Ib1)); var _vb = _ZM._6N(_ZM._6N(_ZM._Wh(_L11, _9T), _J11), _8T); var length = _vb._9N(); var _jO = length - this._Hf1; _jO = _uO(_jO, 0.0, _pM); var _XZ = -this._7Z * _jO; var _qV = _ZM._Vo(_XZ, _vb); _J11._6N(_ZM._Vo(this._Jb1, _qV)); _u91 -= this._Lb1 * __N(_8T, _qV); _L11._Wh(_ZM._Vo(this._Kb1, _qV)); _w91 += this._Mb1 * __N(_9T, _qV); data._G01[this._e81]._I3._2N(_J11); data._G01[this._e81]._kb = _u91; data._G01[this._f81]._I3._2N(_L11); data._G01[this._f81]._kb = _w91; return length - this._Hf1 < _jM }, _dN: function(_eN) { var _xr = _eN || {}; this.parent.prototype._dN.call(this, _xr); _xr['localAnchorA'] = this._tb1._dN(); _xr['localAnchorB'] = this._ub1._dN(); _xr['maxLength'] = this._Hf1; return _xr } }; _hb1._EL(_r11); var _Of1 = Math.exp; function _Pf1() { this._rb = null; this._Ea = 0; this._Qf1 = null; this._N01 = new _ZM(); this._131 = 0.1; this._Rf1 = 0.9; this._Sf1 = 0.1 } function _Tf1() { this._3Q = 0; this._Uf1 = null; this._Vf1 = null; this._Wf1 = null; this._Xf1 = null; this._Yf1 = null; this._Zf1 = null; this.__f1 = 0; this._Z01 = new _ZM(); this._0g1 = 1.0; this._1g1 = 0.1 } _Tf1.prototype = { _zT: function(_kZ) { _9M(_kZ._Ea >= 3); this._3Q = _kZ._Ea; this._Uf1 = new Array(this._3Q); this._Vf1 = new Array(this._3Q); this._Wf1 = new Array(this._3Q); this._Xf1 = new Array(this._3Q); for (var _H3 = 0; _H3 < this._3Q; ++_H3) { this._Uf1[_H3] = _kZ._rb[_H3]._u8(); this._Vf1[_H3] = _kZ._rb[_H3]._u8(); this._Wf1[_H3] = new _ZM(); var _F9 = _kZ._Qf1[_H3]; if (_F9 > 0.0) { this._Xf1[_H3] = 1.0 / _F9; } else { this._Xf1[_H3] = 0.0 } } var _CU = this._3Q - 1; var _2g1 = this._3Q - 2; this._Yf1 = new Array(_CU); this._Zf1 = new Array(_2g1); for (var _H3 = 0; _H3 < _CU; ++_H3) { var _TO = this._Uf1[_H3]; var _UO = this._Uf1[_H3 + 1]; this._Yf1[_H3] = _4O(_TO, _UO) } for (var _H3 = 0; _H3 < _2g1; ++_H3) { var _TO = this._Uf1[_H3]; var _UO = this._Uf1[_H3 + 1]; var _XQ = this._Uf1[_H3 + 2]; var _NP = _ZM._6N(_UO, _TO); var _F61 = _ZM._6N(_XQ, _UO); var _kb = __N(_NP, _F61); var _W9 = _ZN(_NP, _F61); this._Zf1[_H3] = _XM(_kb, _W9) } this._Z01 = _kZ._N01._u8(); this.__f1 = _kZ._131; this._0g1 = _kZ._Rf1; this._1g1 = _kZ._Sf1 }, _A11: function(_K3, _3S) { if (_K3 == 0.0) { return } var _mk = _Of1( - _K3 * this.__f1); for (var _H3 = 0; _H3 < this._3Q; ++_H3) { this._Vf1[_H3]._2N(this._Uf1[_H3]); if (this._Xf1[_H3] > 0.0) { this._Wf1[_H3]._Wh(_ZM._Vo(_K3, this._Z01)) } this._Wf1[_H3]._Vo(_mk); this._Uf1[_H3]._Wh(_ZM._Vo(_K3, this._Wf1[_H3])) } for (var _H3 = 0; _H3 < _3S; ++_H3) { this._3g1(); this._4g1(); this._3g1() } var _cf1 = 1.0 / _K3; for (var _H3 = 0; _H3 < this._3Q; ++_H3) { this._Wf1[_H3] = _ZM._Vo(_cf1, _ZM._6N(this._Uf1[_H3], this._Vf1[_H3])) } }, _LP: function() { return this._3Q }, _5g1: function() { return this._Uf1 }, _6b: function(_6g1) { var _I3 = new _CO(0.4, 0.5, 0.7); for (var _H3 = 0; _H3 < this._3Q - 1; ++_H3) { _6g1._SO(this._Uf1[_H3], this._Uf1[_H3 + 1], _I3) } }, _7g1: function(_0b) { var _2g1 = this._3Q - 2; for (var _H3 = 0; _H3 < _2g1; ++_H3) { this._Zf1[_H3] = _0b } }, _3g1: function() { var _CU = this._3Q - 1; for (var _H3 = 0; _H3 < _CU; ++_H3) { var _TO = this._Uf1[_H3]; var _UO = this._Uf1[_H3 + 1]; var _mk = _ZM._6N(_UO, _TO); var _ze1 = _mk._9N(); var _8g1 = this._Xf1[_H3]; var _9g1 = this._Xf1[_H3 + 1]; if (_8g1 + _9g1 == 0.0) { continue } var _lp = _8g1 / (_8g1 + _9g1); var _mp = _9g1 / (_8g1 + _9g1); _TO._6N(_ZM._Vo(this._0g1 * _lp * (this._Yf1[_H3] - _ze1), _mk)); _UO._Wh(_ZM._Vo(this._0g1 * _mp * (this._Yf1[_H3] - _ze1), _mk)) } }, _4g1: function() { var _2g1 = this._3Q - 2; for (var _H3 = 0; _H3 < _2g1; ++_H3) { var _TO = this._Uf1[_H3]; var _UO = this._Uf1[_H3 + 1]; var _XQ = this._Uf1[_H3 + 2]; var _ag1 = this._Xf1[_H3]; var _bg1 = this._Xf1[_H3 + 1]; var _cg1 = this._Xf1[_H3 + 2]; var _NP = _ZM._6N(_UO, _TO); var _F61 = _ZM._6N(_XQ, _UO); var _dg1 = _NP._8N(); var _eg1 = _F61._8N(); if (_dg1 * _eg1 == 0.0) { continue } var _kb = __N(_NP, _F61); var _W9 = _ZN(_NP, _F61); var _0b = _XM(_kb, _W9); var _fg1 = _ZM._Vo(( - 1.0 / _dg1), _NP._cN()); var _gg1 = _ZM._Vo((1.0 / _eg1), _F61._cN()); var _hg1 = _ZM._3N(_fg1); var _ig1 = _ZM._6N(_fg1, _gg1); var _jg1 = _gg1; var _eP = _ag1 * _ZN(_hg1, _hg1) + _bg1 * _ZN(_ig1, _ig1) + _cg1 * _ZN(_jg1, _jg1); if (_eP == 0.0) { continue } _eP = 1.0 / _eP; var _jO = _0b - this._Zf1[_H3]; while (_jO > _eM) { _0b -= 2 * _eM; _jO = _0b - this._Zf1[_H3] } while (_jO < -_eM) { _0b += 2.0 * _eM; _jO = _0b - this._Zf1[_H3] } var _XZ = -this._1g1 * _eP * _jO; _TO._Wh(_ZM._Vo((_ag1 * _XZ), _hg1)); _UO._Wh(_ZM._Vo((_bg1 * _XZ), _ig1)); _XQ._Wh(_ZM._Vo((_cg1 * _XZ), _jg1)) } } }; var _kg1 = { _lg1: function(_KY) { var _mg1 = []; var _H3; var _ng1; var _W9; var _Mq; var _DP; for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) { for (_Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) { _DP = _Mq._U_(); _Mq._og1 = _mg1.length; _mg1.push(_DP._dN()) } } var _pg1 = []; for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) { _W9._qg1 = []; for (_Mq = _W9._v_(); _Mq; _Mq = _Mq._y_()) { _ng1 = _Mq._dN(); _ng1['shape'] = _Mq._og1; delete _Mq._og1; _W9._qg1.push(_pg1.length); _pg1.push(_ng1) } } var _D21 = []; for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) { _ng1 = _W9._dN(); _ng1._pg1 = []; for (_H3 = 0; _H3 < _W9._qg1.length; ++_H3) _ng1._pg1.push(_W9._qg1[_H3]); delete _W9._qg1; _W9._rg1 = _D21.length; _D21.push(_ng1) }; var _Ua1 = []; var __9; for (__9 = _KY._w_(), _H3 = 0; __9; __9 = __9._y_(), ++_H3) __9._Ue1 = _H3; for (__9 = _KY._w_(); __9; __9 = __9._y_()) { if (__9._jP() === _r11._Q21) continue; _ng1 = __9._dN(); _ng1['bodyA'] = __9._H21()._rg1; _ng1['bodyB'] = __9._I21()._rg1; _Ua1.push(_ng1) } for (__9 = _KY._w_(); __9; __9 = __9._y_()) delete __9._Ue1; for (_W9 = _KY._U11(); _W9; _W9 = _W9._y_()) delete _W9._rg1; var _Nh = { _mg1: _mg1, _pg1: _pg1, _D21: _D21, _Ua1: _Ua1 }; return _Nh }, _sg1: function(_ng1, _KY, clear) { var _tg1 = JSON.parse(_ng1); if (clear) { for (var _W9 = _KY._U11(); _W9;) { var _ni = _W9._y_(); _KY._k11(_W9); _W9 = _ni } for (var __9 = _KY._w_(); __9;) { var _ni = __9._y_(); _KY._n11(__9); __9 = _ni } } var _mg1 = []; for (var _H3 = 0; _H3 < _tg1._mg1.length; ++_H3) { var _ug1 = _tg1._mg1[_H3]; var _DP; switch (_ug1._hP) { case _gP._wP: _DP = new _BP(); break; case _gP._xP: _DP = new _OP(); break; case _gP._zP: _DP = new _1Q(); break; case _gP._yP: _DP = new _jQ(); break } _DP._fN(_ug1); _mg1.push(_DP) } var _pg1 = []; for (_H3 = 0; _H3 < _tg1._pg1.length; ++_H3) { var _vg1 = _tg1._pg1[_H3]; var _TC = new _mZ(); _TC._fN(_vg1); _TC._DP = _mg1[_vg1['shape']]; _pg1.push(_TC) } var _D21 = []; for (_H3 = 0; _H3 < _tg1._D21.length; ++_H3) { var _wg1 = _tg1._D21[_H3]; var _kZ = new _wY(); _kZ._fN(_wg1); var body = _KY._yD(_kZ); for (var _f3 = 0; _f3 < _wg1._pg1.length; ++_f3) body._jZ(_pg1[_wg1._pg1[_f3]]); _D21.push(body) } var _Ua1 = []; var _xg1 = []; for (_H3 = 0; _H3 < _tg1._Ua1.length; ++_H3) { var _yg1 = _tg1._Ua1[_H3]; var _zg1; switch (_yg1.type) { case _r11._1b1: _zg1 = new _jb1(); break; case _r11._2b1: _zg1 = new _Pc1(); break; case _r11._L21: _zg1 = new _Cc1(); break; case _r11._M21: _zg1 = new _ef1(); break; case _r11._3b1: _zg1 = new _Pd1(); break; case _r11._4b1: _zg1 = new _zd1(); break; case _r11._5b1: _zg1 = new _wd1(); break; case _r11._6b1: _zg1 = new _nd1(); break; case _r11._7b1: _zg1 = new _Ff1(); break; case _r11._R21: _zg1 = new _Ve1(); break; default: throw new _Xg('unknown joint') } _zg1._fN(_yg1, _D21); if (_yg1.type === _r11._3b1) { _xg1.push([_zg1, _Ua1.length]); _Ua1.push(null) } else { var _E_ = _KY._q11(_zg1); _Ua1.push(_E_) } } for (_H3 = 0; _H3 < _xg1.length; ++_H3) { _xg1[_H3][0]._Qd1 = _Ua1[_xg1[_H3][0]._Qd1]; _xg1[_H3][0]._Rd1 = _Ua1[_xg1[_H3][0]._Rd1]; _E_ = _KY._q11(_xg1[_H3][0]); _Ua1[_xg1[_H3][1]] = _E_ } } }; var _Ag1 = (function() { function _Bg1(_xr) { return new _ZM(_xr ? (_xr._f3 || 0) : 0, _xr ? (_xr._g3 || 0) : 0) } function _Cg1(_xr) { var _Dg1 = new Array(_xr._f3.length); for (var _H3 = 0; _H3 < _Dg1.length; ++_H3) _Dg1[_H3] = new _ZM(_xr._f3[_H3], _xr._g3[_H3]); return _Dg1 } function _Eg1(_xr, _Fg1) { var name = _xr.name; var _cf; if (typeof(_xr['int']) !== 'undefined') _cf = _xr['int']; else if (typeof(_xr['float']) !== 'undefined') _cf = _xr['float']; else if (typeof(_xr['string']) !== 'undefined') _cf = _xr['string']; else if (typeof(_xr['bool']) !== 'undefined') _cf = _xr['bool']; else if (typeof(_xr._Gg1) !== 'undefined') _cf = _Bg1(_xr._Gg1); else throw new _Xg("unknown property type"); if (_Fg1.hasOwnProperty(name)) throw new _Xg("custom property possibly overwriting an existing one"); _Fg1[name] = _cf } function _Hg1(_xr, body) { var _kZ = new _mZ(); _kZ._sP = _xr._sP || 0; _kZ._K_._H_ = typeof(_xr['filter-categoryBits']) === 'undefined' ? 1 : _xr['filter-categoryBits']; _kZ._K_._I_ = typeof(_xr['filter-maskBits']) === 'undefined' ? 65535 : _xr['filter-maskBits']; _kZ._K_._J_ = typeof(_xr['filter-groupIndex']) === 'undefined' ? 0 : _xr['filter-groupIndex']; _kZ._L_ = _xr._L_ || 0; _kZ._M_ = _xr._M_ || 0; _kZ._N_ = _xr._V_ || 0; var _DP; if (typeof(_xr._MR) !== 'undefined') { _DP = new _BP(); _DP._CP = _Bg1(_xr._MR._OO); _DP._iP = _xr._MR._PO || 0 } else if (typeof(_xr._NR) !== 'undefined') { var _rb = _Cg1(_xr._NR._rb); _DP = new _jQ(); _DP._gi(_rb, _rb.length) } else if (typeof(_xr._OR) !== 'undefined') { var _rb = _Cg1(_xr._OR._rb); _DP = new _1Q(); _DP._3Q = _rb.length; _DP._2Q = _rb; if (_DP._7Q = _xr._OR._Ig1) _DP._5Q = _Bg1(_xr._OR._eQ); if (_DP._6Q = _xr._OR._Jg1) _DP._4Q = _Bg1(_xr._OR._cQ) } else throw new _Xg("unknown shape type"); _kZ._DP = _DP; var _TC = body._jZ(_kZ); _TC.name = _xr.name; if (_xr._Kg1) for (var _H3 = 0; _H3 < _xr._Kg1.length; ++_H3) _Eg1(_xr, _TC) } function _Lg1(_xr, _KY) { var _kZ = new _wY(); _kZ.type = _xr.type || _xY._yY; _kZ._0b = _xr._0b || 0; _kZ._CY = _xr._CY || 0; _kZ._AY = _xr._AY || 0; _kZ._EY = _xr._EY || !1; _kZ._GY = _xr._GY || !1; _kZ._FY = _xr._FY || !1; _kZ._BY = _xr._BY || !1; _kZ._zY = _Bg1(_xr._zY); _kZ._IY = typeof(_xr._IY) !== 'undefined' ? _xr._IY: 1; var _Mg1 = new _dP(); _Mg1._eP = _xr['massData-mass'] || 0; _Mg1._OO = _Bg1(_xr['massData-center']); _Mg1._fP = _xr['massData-I'] || 0; _kZ.position = _Bg1(_xr.position); var body = _KY._yD(_kZ); body.name = _xr.name; body._1_(_Mg1); if (_xr._TC) for (var _H3 = 0; _H3 < _xr._TC.length; ++_H3) _Hg1(_xr._TC[_H3], body); if (_xr._Kg1) for (_H3 = 0; _H3 < _xr._Kg1.length; ++_H3) _Eg1(_xr, body); return body } var _Ng1 = { 'revolute': _jb1, 'distance': _Cc1, 'prismatic': _Pc1, 'wheel': _zd1, 'rope': _Ff1, 'motor': _Ve1, 'weld': _wd1, 'friction': _nd1 }; function _Og1(_xr, _KY, _D21) { if (!_Ng1[_xr.type]) throw new _Xg("unknown joint type"); var _Pg1 = new _Ng1[_xr.type](); switch (_Pg1.type) { case _r11._1b1: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._rb1 = _xr._rb1 || !1; _Pg1._sb1 = _xr._sb1 || !1; _Pg1._nb1 = _xr._Qg1 || 0; _Pg1._pb1 = _xr._pb1 || 0; _Pg1._qb1 = _xr._qb1 || 0; _Pg1._mb1 = _xr._Rg1 || 0; _Pg1._ob1 = _xr._Sg1 || 0; break; case _r11._L21: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._kc1 = _xr._kc1 || 0; _Pg1._jc1 = _xr._Tg1 || 0; _Pg1.length = _xr.length || 0; break; case _r11._2b1: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._rb1 = _xr._rb1 || !1; _Pg1._sb1 = _xr._sb1 || !1; _Pg1._Qc1 = _Bg1(_xr._Qc1); _Pg1._Rc1 = _xr._Qg1 || 0; _Pg1._Tc1 = _xr._Tc1 || 0; _Pg1._qb1 = _xr._qb1 || 0; _Pg1._mb1 = _xr._Rg1 || 0; _Pg1._Sc1 = _xr._Sg1 || 0; break; case _r11._4b1: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._sb1 = _xr._sb1 || !1; _Pg1._Qc1 = _Bg1(_xr._Qc1); _Pg1._pb1 = _xr._pb1 || 0; _Pg1._qb1 = _xr._qb1 || 0; _Pg1._kc1 = _xr._Ug1 || 0; _Pg1._jc1 = _xr._Vg1 || 0; break; case _r11._7b1: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._Gf1 = _xr._Gf1 || 0; break; case _r11._R21: _Pg1._We1 = _Bg1(_xr._lf1); _Pg1._Xe1 = _xr._Rg1 || 0; _Pg1._ic1 = _xr._ic1 || 0; _Pg1._od1 = _xr._od1 || 0; _Pg1._Ye1 = _xr._Ye1 || 0; break; case _r11._5b1: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._mb1 = _xr._Rg1 || 0; _Pg1._kc1 = _xr._kc1 || 0; _Pg1._jc1 = _xr._jc1 || 0; break; case _r11._6b1: _Pg1._kb1 = _Bg1(_xr._lf1); _Pg1._lb1 = _Bg1(_xr._mf1); _Pg1._ic1 = _xr._ic1 || 0; _Pg1._od1 = _xr._od1 || 0; break; default: throw new _Xg("wat?") } _Pg1._x11 = _D21[_xr._x11 || 0]; _Pg1._y11 = _D21[_xr._y11 || 0]; _Pg1._z11 = _xr._z11 || !1; var _E_ = _KY._q11(_Pg1); _E_.name = _xr.name; if (_xr._Kg1) for (var _H3 = 0; _H3 < _xr._Kg1.length; ++_H3) _Eg1(_xr, _E_); return _E_ } function _Wg1() { this._KY = null; this._B01 = 0; this._A01 = 0; this._Xg1 = 0; this._pg1 = {}; this._D21 = {}; this._Ua1 = {}; Object.seal(this) } function _Yg1(_xr, _KY) { var _Pt = new _Wg1(); _Pt._KY = _KY = _KY || new _xZ(new _ZM(0, 0)); _Pt._B01 = _xr._B01 || 0; _Pt._A01 = _xr._A01 || 0; _Pt._Xg1 = _xr._Xg1 || 0; if (_xr._N01) _KY._621(_Bg1(_xr._N01)); _KY._V11(_xr._DY || !1); _KY._821(_xr._Zg1 || !1); _KY._X11(_xr._C01 || !1); _KY._Z11(_xr.__g1 || !1); _KY._021(_xr._0h1 || !1); var _D21 = []; var _1h1 = _xr.body; if (_1h1) { for (var _H3 = 0; _H3 < _1h1.length; ++_H3) { var body = _Lg1(_1h1[_H3], _KY); _D21.push(body); for (var _Mq = body._v_(); _Mq; _Mq = _Mq._y_()) { if (!_Pt._pg1[_Mq.name]) _Pt._pg1[_Mq.name] = []; _Pt._pg1[_Mq.name].push(_Mq) } if (!_Pt._D21[body.name]) _Pt._D21[body.name] = []; _Pt._D21[body.name].push(body) } } var _Ua1 = []; var _2h1 = _xr._E_; if (_2h1) { for (_H3 = 0; _H3 < _2h1.length; ++_H3) { var _E_ = _Og1(_2h1[_H3], _KY, _D21); _Ua1.push(_E_); if (!_Pt._Ua1[_E_.name]) _Pt._Ua1[_E_.name] = []; _Pt._Ua1[_E_.name].push(_E_) } } return _Pt } var _Nh = { _Yg1: _Yg1 }; return _Nh })(); var _3h1 = [{ "trimmed": "version", "name": "b2_version", "def": _OM }, { "trimmed": "Vec2", "name": "b2Vec2", "def": _ZM }, { "trimmed": "Vec3", "name": "b2Vec3", "def": _hN }, { "trimmed": "Mat22", "name": "b2Mat22", "def": _jN }, { "trimmed": "Mat33", "name": "b2Mat33", "def": _wN }, { "trimmed": "Rot", "name": "b2Rot", "def": _JN }, { "trimmed": "Transform", "name": "b2Transform", "def": _NN }, { "trimmed": "Sweep", "name": "b2Sweep", "def": _PN }, { "trimmed": "Dot_v2_v2", "name": "b2Dot_v2_v2", "def": _ZN }, { "trimmed": "Cross_v2_v2", "name": "b2Cross_v2_v2", "def": __N }, { "trimmed": "Cross_v2_f", "name": "b2Cross_v2_f", "def": _0O }, { "trimmed": "Cross_f_v2", "name": "b2Cross_f_v2", "def": _1O }, { "trimmed": "Mul_m22_v2", "name": "b2Mul_m22_v2", "def": _2O }, { "trimmed": "MulT_m22_v2", "name": "b2MulT_m22_v2", "def": _3O }, { "trimmed": "Distance", "name": "b2Distance", "def": _4O }, { "trimmed": "DistanceSquared", "name": "b2DistanceSquared", "def": _5O }, { "trimmed": "Dot_v3_v3", "name": "b2Dot_v3_v3", "def": _AN }, { "trimmed": "Cross_v3_v3", "name": "b2Cross_v3_v3", "def": _BN }, { "trimmed": "Mul_m22_m22", "name": "b2Mul_m22_m22", "def": _6O }, { "trimmed": "MulT_m22_m22", "name": "b2MulT_m22_m22", "def": _7O }, { "trimmed": "Mul_m33_v3", "name": "b2Mul_m33_v3", "def": _8O }, { "trimmed": "Mul22_m33_v2", "name": "b2Mul22_m33_v2", "def": _9O }, { "trimmed": "Mul_r_r", "name": "b2Mul_r_r", "def": _aO }, { "trimmed": "MulT_r_r", "name": "b2MulT_r_r", "def": _cO }, { "trimmed": "Mul_r_v2", "name": "b2Mul_r_v2", "def": _dO }, { "trimmed": "MulT_r_v2", "name": "b2MulT_r_v2", "def": _eO }, { "trimmed": "Mul_t_v2", "name": "b2Mul_t_v2", "def": _fO }, { "trimmed": "Min_v2", "name": "b2Min_v2", "def": _rO }, { "trimmed": "Max_v2", "name": "b2Max_v2", "def": _tO }, { "trimmed": "Clamp", "name": "b2Clamp", "def": _uO }, { "trimmed": "MulT_t_v2", "name": "b2MulT_t_v2", "def": _hO }, { "trimmed": "Mul_t_t", "name": "b2Mul_t_t", "def": _iO }, { "trimmed": "MulT_t_t", "name": "b2MulT_t_t", "def": _kO }, { "trimmed": "Clamp_v2", "name": "b2Clamp_v2", "def": _vO }, { "trimmed": "NextPowerOfTwo", "name": "b2NextPowerOfTwo", "def": _wO }, { "trimmed": "Abs_v2", "name": "b2Abs_v2", "def": _oO }, { "trimmed": "Abs_m22", "name": "b2Abs_m22", "def": _pO }, { "trimmed": "IsPowerOfTwo", "name": "b2IsPowerOfTwo", "def": _xO }, { "trimmed": "RandomFloat", "name": "b2RandomFloat", "def": _zO }, { "trimmed": "Timer", "name": "b2Timer", "def": _9P }, { "trimmed": "Color", "name": "b2Color", "def": _CO }, { "trimmed": "Draw", "name": "b2Draw", "def": _DO }, { "trimmed": "ContactID", "name": "b2ContactID", "def": _bT }, { "trimmed": "ManifoldPoint", "name": "b2ManifoldPoint", "def": _hT }, { "trimmed": "Manifold", "name": "b2Manifold", "def": _mT }, { "trimmed": "WorldManifold", "name": "b2WorldManifold", "def": _xT }, { "trimmed": "GetPointStates", "name": "b2GetPointStates", "def": _ST }, { "trimmed": "ClipVertex", "name": "b2ClipVertex", "def": _XT }, { "trimmed": "RayCastInput", "name": "b2RayCastInput", "def": _YT }, { "trimmed": "RayCastOutput", "name": "b2RayCastOutput", "def": _ZT }, { "trimmed": "AABB", "name": "b2AABB", "def": __T }, { "trimmed": "CollideCircles", "name": "b2CollideCircles", "def": _fU }, { "trimmed": "CollidePolygonAndCircle", "name": "b2CollidePolygonAndCircle", "def": _jU }, { "trimmed": "FindMaxSeparation", "name": "b2FindMaxSeparation", "def": _vU }, { "trimmed": "FindIncidentEdge", "name": "b2FindIncidentEdge", "def": _JU }, { "trimmed": "CollidePolygons", "name": "b2CollidePolygons", "def": _TU }, { "trimmed": "CollideEdgeAndCircle", "name": "b2CollideEdgeAndCircle", "def": _oV }, { "trimmed": "EPAxis", "name": "b2EPAxis", "def": _CV }, { "trimmed": "TempPolygon", "name": "b2TempPolygon", "def": _GV }, { "trimmed": "ReferenceFace", "name": "b2ReferenceFace", "def": _HV }, { "trimmed": "EPCollider", "name": "b2EPCollider", "def": _KV }, { "trimmed": "CollideEdgeAndPolygon", "name": "b2CollideEdgeAndPolygon", "def": _pW }, { "trimmed": "ClipSegmentToLine", "name": "b2ClipSegmentToLine", "def": _lV }, { "trimmed": "TestShapeOverlap", "name": "b2TestShapeOverlap", "def": _yW }, { "trimmed": "TestOverlap", "name": "b2TestOverlap", "def": _qR }, { "trimmed": "Shape", "name": "b2Shape", "def": _gP }, { "trimmed": "MassData", "name": "b2MassData", "def": _dP }, { "trimmed": "CircleShape", "name": "b2CircleShape", "def": _BP }, { "trimmed": "EdgeShape", "name": "b2EdgeShape", "def": _OP }, { "trimmed": "ChainShape", "name": "b2ChainShape", "def": _1Q }, { "trimmed": "PolygonShape", "name": "b2PolygonShape", "def": _jQ }, { "trimmed": "Pair", "name": "b2Pair", "def": _YQ }, { "trimmed": "PairLessThan", "name": "b2PairLessThan", "def": _0R }, { "trimmed": "BroadPhase", "name": "b2BroadPhase", "def": _3R }, { "trimmed": "DistanceProxy", "name": "b2DistanceProxy", "def": _LR }, { "trimmed": "SimplexCache", "name": "b2SimplexCache", "def": _RR }, { "trimmed": "DistanceInput", "name": "b2DistanceInput", "def": _VR }, { "trimmed": "DistanceOutput", "name": "b2DistanceOutput", "def": _0S }, { "trimmed": "SimplexVertex", "name": "b2SimplexVertex", "def": _4S }, { "trimmed": "Simplex", "name": "b2Simplex", "def": _7S }, { "trimmed": "DistanceFunc", "name": "b2DistanceFunc", "def": _US }, { "trimmed": "TreeNode", "name": "b2TreeNode", "def": _CW }, { "trimmed": "DynamicTree", "name": "b2DynamicTree", "def": _5R }, { "trimmed": "TOIInput", "name": "b2TOIInput", "def": _IX }, { "trimmed": "TOIOutput", "name": "b2TOIOutput", "def": _MX }, { "trimmed": "SeparationFunction", "name": "b2SeparationFunction", "def": _RX }, { "trimmed": "TimeOfImpact", "name": "b2TimeOfImpact", "def": _eY }, { "trimmed": "BodyDef", "name": "b2BodyDef", "def": _wY }, { "trimmed": "Body", "name": "b2Body", "def": _xY }, { "trimmed": "Filter", "name": "b2Filter", "def": _G_ }, { "trimmed": "FixtureDef", "name": "b2FixtureDef", "def": _mZ }, { "trimmed": "Fixture", "name": "b2Fixture", "def": _oZ }, { "trimmed": "DestructionListener", "name": "b2DestructionListener", "def": _901 }, { "trimmed": "ContactFilter", "name": "b2ContactFilter", "def": _f01 }, { "trimmed": "ContactImpulse", "name": "b2ContactImpulse", "def": _j01 }, { "trimmed": "ContactListener", "name": "b2ContactListener", "def": _m01 }, { "trimmed": "QueryCallback", "name": "b2QueryCallback", "def": _s01 }, { "trimmed": "RayCastCallback", "name": "b2RayCastCallback", "def": _v01 }, { "trimmed": "TimeStep", "name": "b2TimeStep", "def": _w01 }, { "trimmed": "Position", "name": "b2Position", "def": _D01 }, { "trimmed": "Velocity", "name": "b2Velocity", "def": _E01 }, { "trimmed": "SolverData", "name": "b2SolverData", "def": _F01 }, { "trimmed": "World", "name": "b2World", "def": _xZ }, { "trimmed": "MixFriction", "name": "b2MixFriction", "def": _081 }, { "trimmed": "MixRestitution", "name": "b2MixRestitution", "def": _381 }, { "trimmed": "ContactRegister", "name": "b2ContactRegister", "def": _681 }, { "trimmed": "ContactEdge", "name": "b2ContactEdge", "def": _881 }, { "trimmed": "Contact", "name": "b2Contact", "def": _b21 }, { "trimmed": "CircleContact", "name": "b2CircleContact", "def": _x81 }, { "trimmed": "PolygonContact", "name": "b2PolygonContact", "def": _G81 }, { "trimmed": "ChainAndCircleContact", "name": "b2ChainAndCircleContact", "def": _B81 }, { "trimmed": "ChainAndPolygonContact", "name": "b2ChainAndPolygonContact", "def": _C81 }, { "trimmed": "EdgeAndCircleContact", "name": "b2EdgeAndCircleContact", "def": _D81 }, { "trimmed": "EdgeAndPolygonContact", "name": "b2EdgeAndPolygonContact", "def": _E81 }, { "trimmed": "PolygonAndCircleContact", "name": "b2PolygonAndCircleContact", "def": _F81 }, { "trimmed": "defaultFilter", "name": "b2_defaultFilter", "def": _Q81 }, { "trimmed": "defaultListener", "name": "b2_defaultListener", "def": _R81 }, { "trimmed": "ContactManager", "name": "b2ContactManager", "def": _O01 }, { "trimmed": "VelocityConstraintPoint", "name": "b2VelocityConstraintPoint", "def": _W81 }, { "trimmed": "ContactPositionConstraint", "name": "b2ContactPositionConstraint", "def": __81 }, { "trimmed": "ContactVelocityConstraint", "name": "b2ContactVelocityConstraint", "def": _791 }, { "trimmed": "PositionSolverManifold", "name": "b2PositionSolverManifold", "def": _b91 }, { "trimmed": "ContactSolverDef", "name": "b2ContactSolverDef", "def": _e91 }, { "trimmed": "ContactSolver", "name": "b2ContactSolver", "def": _g91 }, { "trimmed": "Island", "name": "b2Island", "def": _311 }, { "trimmed": "Jacobian", "name": "b2Jacobian", "def": _Na1 }, { "trimmed": "JointEdge", "name": "b2JointEdge", "def": _Ra1 }, { "trimmed": "JointDef", "name": "b2JointDef", "def": _Sa1 }, { "trimmed": "Joint", "name": "b2Joint", "def": _r11 }, { "trimmed": "RevoluteJointDef", "name": "b2RevoluteJointDef", "def": _jb1 }, { "trimmed": "RevoluteJoint", "name": "b2RevoluteJoint", "def": _bb1 }, { "trimmed": "MouseJointDef", "name": "b2MouseJointDef", "def": _hc1 }, { "trimmed": "MouseJoint", "name": "b2MouseJoint", "def": _9b1 }, { "trimmed": "DistanceJointDef", "name": "b2DistanceJointDef", "def": _Cc1 }, { "trimmed": "DistanceJoint", "name": "b2DistanceJoint", "def": _8b1 }, { "trimmed": "PrismaticJointDef", "name": "b2PrismaticJointDef", "def": _Pc1 }, { "trimmed": "PrismaticJoint", "name": "b2PrismaticJoint", "def": _ab1 }, { "trimmed": "FrictionJointDef", "name": "b2FrictionJointDef", "def": _nd1 }, { "trimmed": "FrictionJoint", "name": "b2FrictionJoint", "def": _gb1 }, { "trimmed": "WeldJointDef", "name": "b2WeldJointDef", "def": _wd1 }, { "trimmed": "WeldJoint", "name": "b2WeldJoint", "def": _fb1 }, { "trimmed": "WheelJointDef", "name": "b2WheelJointDef", "def": _zd1 }, { "trimmed": "WheelJoint", "name": "b2WheelJoint", "def": _eb1 }, { "trimmed": "GearJointDef", "name": "b2GearJointDef", "def": _Pd1 }, { "trimmed": "GearJoint", "name": "b2GearJoint", "def": _db1 }, { "trimmed": "MotorJointDef", "name": "b2MotorJointDef", "def": _Ve1 }, { "trimmed": "MotorJoint", "name": "b2MotorJoint", "def": _ib1 }, { "trimmed": "PulleyJointDef", "name": "b2PulleyJointDef", "def": _ef1 }, { "trimmed": "PulleyJoint", "name": "b2PulleyJoint", "def": _cb1 }, { "trimmed": "RopeJointDef", "name": "b2RopeJointDef", "def": _Ff1 }, { "trimmed": "RopeJoint", "name": "b2RopeJoint", "def": _hb1 }, { "trimmed": "RopeDef", "name": "b2RopeDef", "def": _Pf1 }, { "trimmed": "Rope", "name": "b2Rope", "def": _Tf1 }, { "trimmed": "maxManifoldPoints", "name": "b2_maxManifoldPoints", "def": _fM }, { "trimmed": "maxPolygonVertices", "name": "b2_maxPolygonVertices", "def": _gM }, { "trimmed": "aabbExtension", "name": "b2_aabbExtension", "def": _hM }, { "trimmed": "aabbMultiplier", "name": "b2_aabbMultiplier", "def": _iM }, { "trimmed": "linearSlop", "name": "b2_linearSlop", "def": _jM }, { "trimmed": "angularSlop", "name": "b2_angularSlop", "def": _kM }, { "trimmed": "polygonRadius", "name": "b2_polygonRadius", "def": _lM }, { "trimmed": "maxSubSteps", "name": "b2_maxSubSteps", "def": _mM }, { "trimmed": "maxTOIContacts", "name": "b2_maxTOIContacts", "def": _nM }, { "trimmed": "velocityThreshold", "name": "b2_velocityThreshold", "def": _oM }, { "trimmed": "maxLinearCorrection", "name": "b2_maxLinearCorrection", "def": _pM }, { "trimmed": "maxAngularCorrection", "name": "b2_maxAngularCorrection", "def": _qM }, { "trimmed": "maxTranslation", "name": "b2_maxTranslation", "def": _rM }, { "trimmed": "maxTranslationSquared", "name": "b2_maxTranslationSquared", "def": _sM }, { "trimmed": "maxRotation", "name": "b2_maxRotation", "def": _tM }, { "trimmed": "maxRotationSquared", "name": "b2_maxRotationSquared", "def": _uM }, { "trimmed": "baumgarte", "name": "b2_baumgarte", "def": _vM }, { "trimmed": "toiBaugarte", "name": "b2_toiBaugarte", "def": _wM }, { "trimmed": "timeToSleep", "name": "b2_timeToSleep", "def": _xM }, { "trimmed": "linearSleepTolerance", "name": "b2_linearSleepTolerance", "def": _yM }, { "trimmed": "angularSleepTolerance", "name": "b2_angularSleepTolerance", "def": _zM }, { "trimmed": "epsilon", "name": "b2_epsilon", "def": _dM }, { "trimmed": "JsonSerializer", "name": "b2JsonSerializer", "def": _kg1 }, { "trimmed": "RUBELoader", "name": "b2RUBELoader", "def": _Ag1 }, { "trimmed": "Profiler", "name": "b2Profiler", "def": _RL }, { "trimmed": "ParticleDef", "name": "b2ParticleDef", "def": _m41 }, { "trimmed": "ParticleColor", "name": "b2ParticleColor", "def": _d41 }, { "trimmed": "ParticleGroupDef", "name": "b2ParticleGroupDef", "def": _y41 }, { "trimmed": "ParticleGroup", "name": "b2ParticleGroup", "def": _C41 }, { "trimmed": "ParticleSystem", "name": "b2ParticleSystem", "def": _511 }]; if (typeof(_4h1) !== "undefined" && typeof(window) !== "undefined") { for (var _H3 = 0; _H3 < _3h1.length; ++_H3) window[_3h1[_H3]["name"]] = _3h1[_H3]["def"] } else { var _ht = {}; for (var _H3 = 0; _H3 < _3h1.length; ++_H3) _ht[_3h1[_H3]["trimmed"]] = _3h1[_H3]["def"]; if (typeof(_5h1) !== "undefined") _5h1._6h1 = _ht; else window["b2"] = _ht } })(); function _7h1() { var _8h1 = "#define MATRIX_VIEW 0\n" + "#define MATRIX_PROJECTION 1\n" + "#define MATRIX_WORLD 2\n" + "#define MATRIX_WORLD_VIEW 3\n" + "#define MATRIX_WORLD_VIEW_PROJECTION 4\n" + "#define MATRICES_MAX 5\n" + "#define FOG_SETTINGS 0\n" + "#define FOG_COLOUR 1\n" + "\n" + "uniform mat4 matrices[MATRICES_MAX];\n" + "uniform vec4 fogParameters[2];\n" + "\n" + "attribute vec3 vertex;\n" + "attribute vec4 color;\n" + "attribute vec2 UV;\n" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "float CalcFogFactor(vec4 pos)\n" + "{\n" + " vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" + " vec4 fogParams = fogParameters[FOG_SETTINGS];\n" + " return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " fcolor = color;\n" + " texc = UV;\n" + " vec4 pos = vec4(vertex.xyz, 1);\n" + " fogFactor = CalcFogFactor(pos);\n" + " fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" + " gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" + " gl_PointSize = 1.0;\n" + "}"; return _8h1 } function _9h1() { var _ah1 = "precision mediump float;\n" + "uniform sampler2D pTexure;\n" + "uniform bool alphaTestEnabled;\n" + "uniform float alphaRefValue;" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "void DoAlphaTest(vec4 SrcColour)\n" + "{\n" + " if (alphaTestEnabled)\n" + " {\n" + " if (SrcColour.a <= alphaRefValue)\n" + " {\n" + " discard;\n" + " }\n" + " }\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 color = texture2D(pTexure, texc).rgba * fcolor.rgba;\n" + " DoAlphaTest(color);\n" + " gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" + "}\n"; return _ah1 } function _bh1() { var _ch1 = "#define LIGHTS_MAX 8\n" + "#define MATRIX_VIEW 0\n" + "#define MATRIX_PROJECTION 1\n" + "#define MATRIX_WORLD 2\n" + "#define MATRIX_WORLD_VIEW 3\n" + "#define MATRIX_WORLD_VIEW_PROJECTION 4\n" + "#define MATRICES_MAX 5\n" + "#define FOG_SETTINGS 0\n" + "#define FOG_COLOUR 1\n" + "\n" + "uniform mat4 matrices[MATRICES_MAX];\n" + "uniform vec4 fogParameters[2];\n" + "\n" + "uniform vec4 dirlightdir[LIGHTS_MAX];\n" + "uniform vec4 pointlightpos[LIGHTS_MAX];\n" + "uniform vec4 lightcol[LIGHTS_MAX];\n" + "uniform vec4 ambientcol;\n" + "\n" + "attribute vec3 vertex;\n" + "attribute vec4 color;\n" + "attribute vec2 UV;\n" + "attribute vec3 normal;\n" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "float CalcFogFactor(vec4 pos)\n" + "{\n" + " vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" + " vec4 fogParams = fogParameters[FOG_SETTINGS];\n" + " return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" + "}\n" + "\n" + "vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n" + "{\n" + " float dotresult = dot(ws_normal, dir.xyz);\n" + " dotresult = max(0.0, dotresult);\n" + " return dotresult * diffusecol;\n" + "}\n" + "\n" + "vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n" + "{\n" + " float atten = 0.0;\n" + "\n" + " vec3 diffvec = ws_pos - posrange.xyz;\n" + " float veclen = length(diffvec);\n" + " if (veclen <= posrange.w)\n" + " {\n" + " atten = 1.0 / (1.0 + (veclen / posrange.w));\n" + " }\n" + "\n" + " diffvec /= veclen;\n" + " float dotresult = dot(ws_normal, diffvec);\n" + " dotresult = max(0.0, dotresult);\n" + "\n" + " return (diffusecol * dotresult * atten);\n" + "}\n" + "\n" + "vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n" + "{\n" + " vec3 ws_normal;\n" + " vec3 ws_pos;\n" + " vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n" + "\n" + " ws_normal = (matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n" + " ws_normal = -normalize(ws_normal);\n" + " ws_pos = (matrices[MATRIX_WORLD] * objectspacepos).xyz;\n" + "\n" + " vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);\n" + " for(int i = 0; i < LIGHTS_MAX; i++)\n" + " {\n" + " accumcol += DoDirLight(ws_normal, dirlightdir[i], lightcol[i]);\n" + " }\n" + " for(int i = 0; i < LIGHTS_MAX; i++)\n" + " {\n" + " accumcol += DoPointLight(ws_pos, ws_normal, pointlightpos[i], lightcol[i]);\n" + " }\n" + " accumcol *= vertexcolour;\n" + " accumcol += ambientcol;\n" + " return min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 pos = vec4(vertex.xyz, 1);\n" + " vec4 lcolor = DoLighting(color, pos, normal);\n" + " fcolor = vec4(lcolor.xyz, 1);\n" + " fogFactor = CalcFogFactor(pos);\n" + " fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" + " texc = UV;\n" + " gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" + " gl_PointSize = 1.0;\n" + "}"; return _ch1 } function _dh1() { var _ah1 = "precision mediump float;\n" + "uniform sampler2D pTexure;\n" + "uniform bool alphaTestEnabled;\n" + "uniform float alphaRefValue;" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "void DoAlphaTest(vec4 SrcColour)\n" + "{\n" + " if (alphaTestEnabled)\n" + " {\n" + " if (SrcColour.a <= alphaRefValue)\n" + " {\n" + " discard;\n" + " }\n" + " }\n" + "}\n" + "\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 color = texture2D( pTexure, texc ).rgba * fcolor.rgba;\n" + " DoAlphaTest(color);\n" + " gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" + "}\n"; return _ah1 } function _eh1(_fh1, _yJ) { var _gh1 = null; var _hh1 = null, _ih1 = null; var _jh1 = 0; var _kh1, _lh1; var _mh1, _nh1, _oh1 = []; var _ph1, _qh1, _rh1, _sh1; var _th1, _uh1; Object.defineProperties(this, { _vh1: { get: function() { return (_gh1 !== null && _gh1 !== undefined) } }, _6c: { get: function() { return _mh1 } }, _Md: { get: function() { return _nh1 } }, _wh1: { get: function() { return _kh1 } }, _xh1: { get: function() { return _lh1 } }, _yh1: { get: function() { return _ph1 } }, _zh1: { get: function() { return _qh1 } }, _Ah1: { get: function() { return _rh1 }, set: function(_cf) { _rh1 = _cf } }, _Bh1: { get: function() { return _sh1 }, set: function(_cf) { _sh1 = _cf } } }); (function() { _gh1 = _Ch1(_fh1, _yJ); if (_gh1) { _Dh1(_gh1); var _Eh1 = _gh1.getParameter(_gh1.MAX_TEXTURE_IMAGE_UNITS); _th1 = (_Eh1 < _4c._Fh1) ? _Eh1: _4c._Fh1; _uh1 = _gh1.getParameter(_gh1.MAX_TEXTURE_SIZE); _ih1 = new _Gh1(_yJ._Hh1); _hh1 = new _Ih1(_ih1); _Jh1(); _Kh1(); _Lh1(); _ih1._Dn(_kh1) } })(); function _Dh1(_Mh1) { _Gh1.prototype._Mh1 = _Mh1; _Ih1.prototype._Mh1 = _Mh1; _wd.prototype._Mh1 = _Mh1; _Nh1.prototype._Mh1 = _Mh1; _Oh1.prototype._Mh1 = _Mh1; _Ph1.prototype._Mh1 = _Mh1; }; function _Qh1() { var userAgent = navigator.userAgent.toString().toLowerCase(); var _Rh1 = userAgent.indexOf("trident/"); if (_Rh1 >= 0) { var version = parseFloat(userAgent.slice(_Rh1 + "trident/".length)); if (version == 7) { return ! 0 } } return ! 1 } function _Ch1(_fh1, _yJ) { if (_Qh1()) return null; var _Sh1 = null; var _Th1 = ["webgl", "experimental-webgl", "moz-webgl", "webkit-3d"]; { for (var _H3 = 0; _H3 < _Th1.length; _H3++) { try { var _Uh1 = { alpha: !0, stencil: _yJ._Vh1, antialias: !1, premultipliedAlpha: !1, preserveDrawingBuffer: _yJ._Wh1 }; _Sh1 = _fh1.getContext(_Th1[_H3], _Uh1); if (_Sh1) { break } } catch(_yF) { return null } } } if (_Sh1) { _ph1 = _fh1.width; _qh1 = _fh1.height; _rh1 = _ph1; _sh1 = _qh1 } return _Sh1 } function _Jh1() { var _Xh1 = new _Oh1(); _Xh1._Yh1(); _Xh1._Zh1(); _Xh1.__h1(); _mh1 = _oh1.push(_Xh1) - 1; _hh1._0i1(_mh1); var _1i1 = new _Oh1(); _1i1._2i1(); _1i1._Zh1(); _1i1.__h1(); _1i1._3i1(); _nh1 = _oh1.push(_1i1) - 1; _hh1._0i1(_nh1) }; this._4i1 = function(_5i1) { for (var _H3 in _oh1) { if (!_oh1.hasOwnProperty(_H3)) continue; if (_oh1[_H3]._gN(_5i1)) { return _H3 } } var _6i1 = _oh1.push(_5i1) - 1; _hh1._0i1(_6i1); return _6i1; }; this._yd = function(_re) { return _oh1[_re] }; function _7i1(_8i1) { while (((_8i1 & 0x1) == 0) && (_8i1 > 1)) { _8i1 >>= 1 } return (_8i1 == 1) } this._9i1 = function() { return _uh1 }; this._ai1 = function(_bi1, _ci1, _di1, _ei1) { _hh1._fi1(); _ih1._ai1(_bi1, _ci1, _di1, _ei1) }; function _gi1(_hi1, type, source) { var _9q = _gh1.createShader((type == 'vertex') ? _gh1.VERTEX_SHADER: _gh1.FRAGMENT_SHADER); _gh1.shaderSource(_9q, source); _gh1.compileShader(_9q); if (!_gh1.getShaderParameter(_9q, _gh1.COMPILE_STATUS)) { alert("Could not compile " + type + " shader:\n\n" + _gh1.getShaderInfoLog(_9q)); return } _gh1.attachShader(_hi1, _9q) }; function _Kh1() { var _ch1 = _7h1(); var _ah1 = _9h1(); var _ii1 = _gh1.createProgram(); var error = _gh1.getError(); _gi1(_ii1, "vertex", _ch1); _gi1(_ii1, "fragment", _ah1); _gh1.linkProgram(_ii1); error = _gh1.getError(); if (!_gh1.getProgramParameter(_ii1, _gh1.LINK_STATUS)) { alert("Could not initialise shaders\n\n"); return ! 1 } _gh1.useProgram(_ii1); _kh1 = _ii1; _ii1._ji1 = []; _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "vertex")); _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "color")); _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "UV")); _ii1._ki1 = _gh1.getUniformLocation(_ii1, "pTexure"); _ii1._li1 = _gh1.getUniformLocation(_ii1, "matrices"); _ii1._mi1 = _gh1.getUniformLocation(_ii1, "fogParameters"); _ii1._ni1 = _gh1.getUniformLocation(_ii1, "alphaTestEnabled"); _ii1._oi1 = _gh1.getUniformLocation(_ii1, "alphaRefValue"); return ! 0 } function _Lh1() { var _8h1 = _bh1(); var _ah1 = _dh1(); var _ii1 = _gh1.createProgram(); var error = _gh1.getError(); _gi1(_ii1, "vertex", _8h1); _gi1(_ii1, "fragment", _ah1); _gh1.linkProgram(_ii1); error = _gh1.getError(); if (!_gh1.getProgramParameter(_ii1, _gh1.LINK_STATUS)) { alert("Could not initialise 3D shader\n\n"); return ! 1 } _gh1.useProgram(_ii1); _ii1._pi1 = _gh1.getUniformLocation(_ii1, "ViewMatrix"); _lh1 = _ii1; _ii1._ji1 = []; _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "vertex")); _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "color")); _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "UV")); _ii1._ji1.push(_gh1.getAttribLocation(_ii1, "normal")); _ii1._ki1 = _gh1.getUniformLocation(_ii1, "pTexure"); _ii1._li1 = _gh1.getUniformLocation(_ii1, "matrices"); _ii1._qi1 = _gh1.getUniformLocation(_ii1, "dirlightdir"); _ii1._ri1 = _gh1.getUniformLocation(_ii1, "pointlightpos"); _ii1._si1 = _gh1.getUniformLocation(_ii1, "lightcol"); _ii1._ti1 = _gh1.getUniformLocation(_ii1, "ambientcol"); _ii1._mi1 = _gh1.getUniformLocation(_ii1, "fogParameters"); _ii1._ni1 = _gh1.getUniformLocation(_ii1, "alphaTestEnabled"); _ii1._oi1 = _gh1.getUniformLocation(_ii1, "alphaRefValue"); return ! 0 } this._ui1 = function(_vi1, _wi1, _xi1) { if (_vi1 == "None" || _wi1 == "None") { var _yi1 = { _zi1: null, _Ai1: null }; return _yi1 } var _ii1 = _gh1.createProgram(); var error = _gh1.getError(); _gi1(_ii1, "vertex", _vi1); _gi1(_ii1, "fragment", _wi1); _gh1.linkProgram(_ii1); error = _gh1.getError(); if (!_gh1.getProgramParameter(_ii1, _gh1.LINK_STATUS)) { var _yi1 = { _zi1: null, _Ai1: null }; return _yi1 } _gh1.useProgram(_ii1); _ii1._li1 = _gh1.getUniformLocation(_ii1, "gm_Matrices"); _ii1._qi1 = _gh1.getUniformLocation(_ii1, "gm_Lights_Direction"); _ii1._ri1 = _gh1.getUniformLocation(_ii1, "gm_Lights_PosRange"); _ii1._si1 = _gh1.getUniformLocation(_ii1, "gm_Lights_Colour"); _ii1._ti1 = _gh1.getUniformLocation(_ii1, "gm_AmbientColour"); _ii1._ji1 = []; for (var _Bi1 = 0; _Bi1 < _xi1.length; _Bi1++) { _ii1._ji1.push(_gh1.getAttribLocation(_ii1, _xi1[_Bi1])) } var _Ci1 = "gm_BaseTexture"; var _Di1 = [_Ci1]; var _Ei1 = 0; var _Fi1 = []; var _Gi1 = _gh1.getUniformLocation(_ii1, _Ci1); _gh1.uniform1iv(_Gi1, [_Ei1++]); _ii1._ki1 = _Gi1; var _Hi1 = _gh1.getProgramParameter(_ii1, _gh1.ACTIVE_UNIFORMS); for (var _vb = 0; _vb < _Hi1; _vb++) { var _Ii1 = _gh1.getActiveUniform(_ii1, _vb); if ((_Ii1.type == _gh1.SAMPLER_2D) || (_Ii1.type == _gh1.SAMPLER_CUBE)) { if (_Ii1.name != _Ci1) { _Di1[_Ei1] = _Ii1.name; var _Bi1 = _gh1.getUniformLocation(_ii1, _Ii1.name); _gh1.uniform1iv(_Bi1, [_Ei1++]) } } } _yi1 = { _zi1: _ii1, _Ai1: _Di1 }; return _yi1 }; this._Ji1 = function() { _ih1._aP(); _jh1++ }; this._Ki1 = function() { _hh1._fi1(); _ih1._F8++; _ih1._Li1(); _gh1.clearColor(1, 1, 1, 1); _gh1.colorMask(!1, !1, !1, !0); _gh1.clear(_gh1.COLOR_BUFFER_BIT); _gh1.colorMask(!0, !0, !0, !0) }; this._fi1 = function() { _hh1._fi1(); _ih1._Li1() }; this._Mi1 = function(_zh, _Ni1) { _hh1._fi1(); _ih1._Mi1(_zh, _Ni1) }; this._on = function(_Oi1) { _hh1._fi1(); _ih1._Pi1(_4c._Qi1, _Oi1) }; this._sn = function(_Oi1) { _hh1._fi1(); _ih1._Pi1(_4c._Ri1, _Oi1) }; this._Un = function(_Si1) { _hh1._fi1(); _ih1._Pi1(_4c._Ti1, _Si1) }; this._qn = function(_Oi1) { _hh1._fi1(); _ih1._Pi1(_4c._Ui1, _Oi1) }; this._on = function(_Oi1) { _hh1._fi1(); _ih1._Pi1(_4c._Qi1, _Oi1) }; this._An = function(_Vi1, _Wi1, _Xi1, _Yi1) { _hh1._fi1(); var _Zi1 = { _xk: _Vi1, _yk: _Wi1, _zk: _Xi1, alpha: _Yi1 }; _ih1._Pi1(_4c.__i1, _Zi1) }; this._no = function(_U8, _0j1, _1j1, _2j1) { _hh1._fi1(); _ih1._no(_U8, _0j1, _1j1, _2j1) }; this._po = function(_U8, _Oi1, _3j1) { _hh1._fi1(); _ih1._po(_U8, _Oi1, _3j1) }; this._ro = function(_3j1) { _hh1._fi1(); _ih1._4j1(_3j1) }; this._to = function(_5j1) { _hh1._fi1(); _ih1._6j1(_5j1) }; this._7j1 = function(_Bn, _8j1) { _hh1._fi1(); _ih1._7j1(_Bn, _8j1) }; this._9j1 = function(_aj1, _bj1) { _hh1._fi1(); if (_bj1) { _ih1._cj1(_aj1, _4c._dj1, _4c._ej1); _ih1._cj1(_aj1, _4c._fj1, _4c._ej1) } else { _ih1._cj1(_aj1, _4c._dj1, _4c._gj1); _ih1._cj1(_aj1, _4c._fj1, _4c._gj1) } }; this._hj1 = function(_aj1, _ij1) { _hh1._fi1(); _ih1._cj1(_aj1, _4c._jj1, _ij1); _ih1._cj1(_aj1, _4c._kj1, _ij1) }; this._lj1 = function() { return _th1 }; this._mj1 = function(_Bn) { _hh1._fi1(); _ih1._Pi1(_4c._nj1, _Bn) }; this._oj1 = function(_Kq) { _hh1._fi1(); _ih1._Pi1(_4c._pj1, _Kq) }; this._qj1 = function(_rj1) { _hh1._fi1(); _ih1._Pi1(_4c._sj1, _rj1) }; this._tj1 = function(_uj1) { _hh1._fi1(); _ih1._Pi1(_4c._vj1, _uj1) }; this._Dn = function(_wj1) { _hh1._fi1(); _ih1._Dn(_wj1) }; this._xj1 = function(_wj1, _yj1) { return _gh1.getUniformLocation(_wj1, _yj1) }; this._zj1 = function(_Aj1, _Bj1) { _hh1._fi1(); _ih1._zj1(_Aj1, _Bj1) }; this._Cj1 = function(_Aj1, _Bj1) { _hh1._fi1(); _ih1._Cj1(_Aj1, _Bj1) }; this._Dj1 = function(_Aj1, _Bj1) { _hh1._fi1(); _ih1._Dj1(_Aj1, _Bj1) }; this._Ej1 = function(_Aj1, _Bj1, _Fj1) { _hh1._fi1(); _ih1._Ej1(_Aj1, _Bj1, _Fj1) }; this._Gj1 = function(_Aj1, _Bj1, _Fj1) { _hh1._fi1(); _ih1._Gj1(_Aj1, _Bj1, _Fj1) }; this._Hj1 = function(_Xr) { _hh1._fi1(); _ih1._Hj1(_Xr) }; this._Ij1 = function(_Ye, _V8, _W8, _fh1) { _ih1._Ij1(_Ye, _V8, _W8, _fh1) }; this._Jj1 = function(_aj1, _Ye) { _4c._Kj1(_Ye instanceof _Nh1, "Texture is not a yyGLTexture", _4c._Lj1); _hh1._fi1(); _ih1._Jj1(_aj1, _Ye) }; this._Mn = function(_Vl) { _hh1._fi1(); _ih1._Mj1(_Vl) }; this._Tn = function(_Vl) { _hh1._fi1(); _ih1._Nj1(_Vl) }; this._Oj1 = function(_Vl) { _hh1._fi1(); _ih1._Pj1(_Vl) }; this._Qj1 = function(_Rj1) { var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D); var _Kd = _gh1.createTexture(); _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd); _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _Rj1); var _Nh = new _Nh1(_Kd, _Rj1.width, _Rj1.height, _7i1(_Rj1.width) && _7i1(_Rj1.height)); _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1); return _Nh }; this._Tj1 = function(_Cd, _Uj1, _Vj1, _Sd) { var _Jt = 0; if (_Cd) { _Jt |= _gh1.COLOR_BUFFER_BIT; } if (_Uj1) { _Jt |= _gh1.DEPTH_BUFFER_BIT } _ih1._Tj1(_Jt, _Sd) }; this._Wj1 = function(_xJ) { _hh1._fi1(); _ih1._Wj1(_xJ) }; function _Xj1(_Yj1, _vh, _wh) { if ((_vh == 0) || (_wh == 0)) { return } var _Zj1 = _Yj1[(_wh - 1) * _vh] & 0xffffff; for (_H3 = 0; _H3 < (_vh * _wh); _H3++) { if ((_Yj1[_H3] & 0xffffff) == _Zj1) { _Yj1[_H3] = _Yj1[_H3] & 0xffffff } } } function __j1(__d) { var max = _uh1; var _x3 = 1; while (_x3 <= max) { if (__d <= _x3) return _x3; _x3 = _x3 << 1 } return max } this._0k1 = function(_Rj1, _V8, _W8, _vh, _wh, _Aj, _Bj, _1k1) { this._fi1(); var _2k1 = new Uint8Array(_vh * _wh * 4); _gh1.readPixels(_V8, _sh1 - (_W8 + _wh), _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _2k1); var _3k1; if (_1k1) { var _4k1 = new ArrayBuffer(_vh * _wh * 4); _3k1 = new Uint8Array(_4k1); for (var _xb = 0; _xb < _wh; _xb++) { var _5k1 = _2k1.subarray(_xb * _vh * 4, (_xb + 1) * _vh * 4); var _6k1 = _3k1.subarray((_wh - 1 - _xb) * _vh * 4, (_wh - _xb) * _vh * 4); _6k1.set(_5k1) } if (_Aj) { _Xj1(new Int32Array(_4k1), _vh, _wh) } } else { _3k1 = _2k1 } var _J3 = __j1(_vh); var _K3 = __j1(_wh); var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D); var _Kd = _gh1.createTexture(); _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd); _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _J3, _K3, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null); _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST); var _Nh = new _Nh1(_Kd, _J3, _K3, (_J3 == _vh) && (_K3 == _wh)); _Rj1.width = _J3; _Rj1.height = _K3; _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1); _ih1._aP(); return _Nh }; this._7k1 = function(_Rj1, _8k1, _V8, _W8, _vh, _wh, _Aj, _Bj) { this._fi1(); var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING); var _4k1 = new ArrayBuffer(_vh * _wh * 4); var _3k1 = new Uint8Array(_4k1); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _8k1); _gh1.readPixels(_V8, _W8, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1); if (_Aj) { _Xj1(new Int32Array(_4k1), _vh, _wh) } var _J3 = __j1(_vh); var _K3 = __j1(_wh); var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D); var _Kd = _gh1.createTexture(); _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd); _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _J3, _K3, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null); _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST); var _Nh = new _Nh1(_Kd, _J3, _K3, (_J3 == _vh) && (_K3 == _wh)); _Rj1.width = _J3; _Rj1.height = _K3; _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1); _ih1._aP(); return _Nh }; this._ak1 = function(_Rj1, _bk1, _vh, _wh) { var _J3 = __j1(_vh); var _K3 = __j1(_wh); var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D); var _Kd = _gh1.createTexture(); _gh1.bindTexture(_gh1.TEXTURE_2D, _Kd); _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _J3, _K3, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null); _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _vh, _wh, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _bk1); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST); var _Nh = new _Nh1(_Kd, _J3, _K3, (_J3 == _vh) && (_K3 == _wh)); _Rj1.width = _J3; _Rj1.height = _K3; _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1); _ih1._aP(); return _Nh }; this._ck1 = function(_Rj1, _bk1, _vh, _wh) { var _4k1 = new ArrayBuffer(_vh * _wh * 4); var _dk1 = new DataView(_4k1); for (var _C9 = 0; _C9 < _vh * _wh; _C9++) { _dk1.setUint32(_C9 * 4, ~~_bk1[_C9], !0) } return this._ak1(_Rj1, new Uint8Array(_4k1), _vh, _wh) }; this._ek1 = function(_Ye, _Gd) { _4c._Kj1(_Ye instanceof _Nh1, "Texture is not a yyGLTexture", _4c._Lj1); var _Kd = _Ye._fk1; var _J3 = _Ye._gk1; var _K3 = _Ye._hk1; var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING); var _ik1 = _gh1.createFramebuffer(); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _ik1); _gh1.framebufferTexture2D(_gh1.FRAMEBUFFER, _gh1.COLOR_ATTACHMENT0, _gh1.TEXTURE_2D, _Kd, 0); var _3k1 = new Uint8Array(_J3 * _K3 * 4); _gh1.readPixels(0, 0, _J3, _K3, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1); _gh1.deleteFramebuffer(_ik1); for (var _H3 = 0; _H3 < (_J3 * _K3); _H3++) { _3k1[(_H3 * 4) + 3] = _Gd[_H3] } var _qS = __j1(_J3); var _Gt = __j1(_K3); var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D); var _jk1 = _gh1.createTexture(); _gh1.bindTexture(_gh1.TEXTURE_2D, _jk1); _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _qS, _Gt, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null); _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, 0, 0, _J3, _K3, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, _gh1.NEAREST); _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, _gh1.NEAREST); var _Nh = new _Nh1(_jk1, _qS, _Gt, (_qS == _J3) && (_Gt == _K3)); _gh1.deleteTexture(_Ye._fk1); _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1); return _Nh }; this._kk1 = function(_V8, _W8) { this._fi1(); var _3k1 = new Uint8Array(16); _gh1.readPixels(_V8, _sh1 - _W8, 1, 1, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); var _1b = (_3k1[0]) | (_3k1[1] << 8) | (_3k1[2] << 16) | (_3k1[3] << 24); _ih1._aP(); return _1b }; this._lk1 = function(_8k1, _V8, _W8) { this._fi1(); var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING); var _3k1 = new Uint8Array(16); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _8k1); _gh1.readPixels(_V8, _W8, 1, 1, _gh1.RGBA, _gh1.UNSIGNED_BYTE, _3k1); var _1b = (_3k1[0]) | (_3k1[1] << 8) | (_3k1[2] << 16) | (_3k1[3] << 24); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1); _ih1._aP(); return _1b }; this._mk1 = function(_vh, _wh) { var _Sj1 = _gh1.getParameter(_gh1.TEXTURE_BINDING_2D); var _9k1 = _gh1.getParameter(_gh1.FRAMEBUFFER_BINDING); var _nk1 = _gh1.getParameter(_gh1.RENDERBUFFER_BINDING); { var _ok1 = _gh1.createFramebuffer(); _ok1.width = _vh; _ok1.height = _wh; _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _ok1); var _pk1 = _gh1.createTexture(); _gh1.bindTexture(_gh1.TEXTURE_2D, _pk1); _gh1.texImage2D(_gh1.TEXTURE_2D, 0, _gh1.RGBA, _vh, _wh, 0, _gh1.RGBA, _gh1.UNSIGNED_BYTE, null); var _qk1 = new _Nh1(_pk1, _vh, _wh, _7i1(_vh) && _7i1(_wh)); var _rk1 = _gh1.createRenderbuffer(); _gh1.bindRenderbuffer(_gh1.RENDERBUFFER, _rk1); _gh1.renderbufferStorage(_gh1.RENDERBUFFER, _gh1.DEPTH_STENCIL, _ok1.width, _ok1.height); _gh1.framebufferTexture2D(_gh1.FRAMEBUFFER, _gh1.COLOR_ATTACHMENT0, _gh1.TEXTURE_2D, _pk1, 0); _gh1.framebufferRenderbuffer(_gh1.FRAMEBUFFER, _gh1.DEPTH_STENCIL_ATTACHMENT, _gh1.RENDERBUFFER, _rk1) } _gh1.bindTexture(_gh1.TEXTURE_2D, _Sj1); _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _9k1); _gh1.bindRenderbuffer(_gh1.RENDERBUFFER, _nk1); var _sk1 = { _tk1: _ok1, _uk1: _rk1, _fk1: _qk1 }; return _sk1 }; this._vk1 = function(_8k1) { _gh1.deleteFramebuffer(_8k1._tk1); _gh1.deleteRenderbuffer(_8k1._uk1); _gh1.deleteTexture(_8k1._fk1._fk1); _8k1._fk1 = null }; this._wk1 = function(_Ye) { _4c._Kj1(_Ye instanceof _Nh1, "NULL texture is not a yyGLTexture", _4c._Lj1); _ih1._xk1 = _Ye }; this._3c = function(_nd, _Ye, _re, _yk1) { _4c._Kj1((_Ye == null) || (_Ye instanceof _Nh1), "Texture is not a yyGLTexture", _4c._Lj1); return _hh1._3c(_nd, _Ye, _re, _yk1, _oh1[_re], _jh1) }; this._Ze = function(_nd, _Ye, _zk1, _Ak1) { _4c._Kj1((_Ye == null) || (_Ye instanceof _Nh1), "Texture is not a yyGLTexture", _4c._Lj1); _hh1._Bk1(_nd, _Ye, _zk1, _Ak1) } } var _4c = { _Ck1: 8, _Fh1: 8, _Dk1: -1, _5c: 0, _sd: 1, _rd: 2, _pd: 3, _qd: 4, _od: 5, _ue: 1, _ze: 2, _Je: 3, _He: 4, _Ek1: 5, _Fk1: 6, _Gk1: 7, _Hk1: 8, _Ik1: 9, _Jk1: 10, _Kk1: 11, _Lk1: 12, _Mk1: 13, _Nk1: 14, _Ok1: 14, _Le: 1, _ve: 2, _xe: 3, _Pe: 4, _Ae: 5, _Re: 6, _Pk1: 6, _Qk1: 1, _Rk1: 2, _Sk1: 3, _Tk1: 4, _Uk1: 5, _Vk1: 6, _Wk1: 7, _Xk1: 8, _Yk1: 9, _Zk1: 10, __k1: 11, _0l1: 12, _1l1: 13, _2l1: 14, _3l1: 15, _4l1: 16, _5l1: 16, _6l1: 0, _Qi1: 1, _7l1: 2, _Ui1: 3, _8l1: 4, _9l1: 5, _al1: 6, _Ri1: 7, _bl1: 8, _cl1: 9, _dl1: 10, _el1: 11, __i1: 12, _nj1: 13, _fl1: 14, _gl1: 15, _sj1: 16, _pj1: 17, _vj1: 18, _hl1: 19, _il1: 20, _Ti1: 21, _jl1: 21, _kl1: 1, _ll1: 2, _ml1: 3, _nl1: 4, _ol1: 5, _pl1: 6, _ql1: 7, _rl1: 8, _sl1: 1, _tl1: 2, _ul1: 3, _vl1: 4, _wl1: 5, _xl1: 6, _yl1: 7, _zl1: 8, _ej1: 0, _gj1: 1, _jj1: 0, _kj1: 1, _dj1: 2, _fj1: 3, _Al1: 0, _Bl1: 1, _Wn: 0, _Vn: 1, _Cl1: 0, _Dl1: 1, _Lj1: 2, _Kj1: function(_El1, _Fl1, _Gl1) { if (!_El1) { throw new _Xg(_Fl1) } } }; Object.freeze(_4c); function _Gh1(_Hl1) { var _gh1 = this._Mh1; var _Il1 = 0, _Jl1 = 1, _Kl1 = 2, _Ll1 = 3, _Ml1 = 4, _Nl1 = 5, _Ol1 = 6, _Pl1 = 7, _Ql1 = 8, _Rl1 = 9, _Sl1 = 10, _Tl1 = 11, _Ul1 = 12, _Vl1 = 13, _Wl1 = 14, _Xl1 = 15, _Yl1 = 16, _Zl1 = 17, __l1 = 18, _0m1 = 19, _1m1 = 20, _2m1 = 21, _3m1 = 22, _4m1 = 23, _5m1 = 24, _6m1 = 25, _7m1 = 26, _8m1 = 27, _9m1 = 28, _am1 = 29; _bm1 = 30; var _cm1 = 0, _dm1 = 1, _em1 = 2, _fm1 = 3, _gm1 = 4, _hm1 = 5; var _im1 = 1, _jm1 = 2, _km1 = 4, _lm1 = 8; var _mm1 = []; var _nm1 = [], _om1, _pm1; var _qm1, _rm1 = [], _sm1 = [], _tm1 = [], _um1 = new Float32Array(_4c._Ck1 * 4), _vm1 = new Float32Array(_4c._Ck1 * 4), _wm1 = new Float32Array(_4c._Ck1 * 4), _xm1 = new Float32Array(4), _ym1 = new Float32Array(8), _zm1 = !1, _Am1 = 0.0, _Bm1; var _jh1 = 0, _Cm1; Object.defineProperties(this, { _F8: { get: function() { return _jh1 }, set: function(_cf) { _jh1 = _cf } }, _xk1: { get: function() { return _Cm1 }, set: function(_cf) { _Cm1 = _cf } } }); (function() { _Dm1(); var _Eh1 = _gh1.getParameter(_gh1.MAX_TEXTURE_IMAGE_UNITS); if (_Eh1 > _4c._Fh1) { _Eh1 = _4c._Fh1 } for (var _Ei1 = 0; _Ei1 < _Eh1; _Ei1++) { _tm1[_Ei1] = new _Ph1(_Hl1) } var _Em1 = _Fm1(_4c._kl1); _Bm1 = { _6r: 0, _Gm1: 0xffffffff, _Hm1: 0xffffffff, _Im1: _Jm1(_4c._zl1), _Km1: _Em1, _Lm1: _Em1, _Mm1: _Em1 }; for (var _H3 = 0; _H3 < _hm1; _H3++) { _sm1[_H3] = new _Gn() } _gh1.disable(_gh1.CULL_FACE); _gh1.disable(_gh1.DEPTH_TEST); _gh1.enable(_gh1.BLEND); _gh1.enable(_gh1.SCISSOR_TEST); _gh1.blendFunc(_gh1.SRC_ALPHA, _gh1.ONE_MINUS_SRC_ALPHA); _gh1.activeTexture(_gh1.TEXTURE0); _gh1.frontFace(_gh1.CW); _gh1.cullFace(_gh1.BACK); })(); function _Dm1() { _nm1 = []; _pm1 = undefined; _om1 = undefined; _nm1[0] = 1; _nm1[1] = 1 }; this._aP = function() { _Dm1() }; this._Dn = function(_Nm1) { if (_Nm1 != _om1) { _pm1 = null; _mm1.push(_Zl1); _mm1.push(_Nm1); _om1 = _Nm1 } }; this._Jj1 = function(_aj1, _Ye) { if (_nm1[_aj1] == _Ye) { return } _nm1[_aj1] = _Ye; _mm1.push(_Jl1); _mm1.push(_Ye); _mm1.push(_aj1) }; this._Hj1 = function(__p) { _mm1.push(__p) }; this._Ij1 = function(_Ye, _V8, _W8, _fh1) { _mm1.push(_bm1); _mm1.push(_Ye); _mm1.push(_V8); _mm1.push(_W8); _mm1.push(_fh1) }; this._Om1 = function(_Pm1) { if (_pm1 == _Pm1) return; _pm1 = _Pm1; _mm1.push(_Ul1); _mm1.push(_Pm1) }; this._Qm1 = function(_Rm1, _Sm1) { _mm1.push(_Kl1); _mm1.push(_Rm1); _mm1.push(_Sm1) }; this._Tm1 = function(_Rm1, _Sm1) { _mm1.push(_Ll1); _mm1.push(_Rm1); _mm1.push(_Sm1) }; this._Um1 = function(_Rm1, _Sm1) { _mm1.push(_Ml1); _mm1.push(_Rm1); _mm1.push(_Sm1) }; this._Vm1 = function(_Rm1, _Sm1) { _mm1.push(_Nl1); _mm1.push(_Rm1); _mm1.push(_Sm1) }; this._Wm1 = function(_Rm1, _Sm1) { _mm1.push(_Ol1); _mm1.push(_Rm1); _mm1.push(_Sm1) }; this._S21 = function(_Rm1, _Sm1) { _mm1.push(_Pl1); _mm1.push(_Rm1); _mm1.push(_Sm1) }; this._Nj1 = function(_Vl) { _mm1.push(_Rl1); _mm1.push(new _Gn(_Vl)) }; this._Mj1 = function(_Vl) { _mm1.push(_Sl1); _Xm1 = new _Gn(_Vl); _mm1.push(new _Gn(_Vl)) }; this._Pj1 = function(_Vl) { _mm1.push(_Ql1); _mm1.push(new _Gn(_Vl)) }; this._ai1 = function(_V8, _W8, _vh, _wh) { _mm1.push(_Tl1); _mm1.push(_V8); _mm1.push(_W8); _mm1.push(_vh); _mm1.push(_wh) }; this._Tj1 = function(_Ym1, _Sd) { _mm1.push(_Vl1); _mm1.push(_Ym1); _mm1.push(~~_Sd) }; this._Wj1 = function(_Zm1) { _mm1.push(_Wl1); _mm1.push(_Zm1) }; this.__m1 = function(_Gd, _Uu, _Vu, _Wu) { _mm1.push(_Xl1); _mm1.push(_Gd); _mm1.push(_Uu); _mm1.push(_Vu); _mm1.push(_Wu) }; this._Mi1 = function(_zh, _Ni1) { _mm1.push(_Yl1); _mm1.push(_zh); _mm1.push(_Ni1) }; this._zj1 = function(_0n1, _Bj1) { _mm1.push(__l1); _mm1.push(_0n1); _mm1.push(_Bj1) }; this._Cj1 = function(_0n1, _Bj1) { _mm1.push(_0m1); _mm1.push(_0n1); _mm1.push(_Bj1) }; this._Ej1 = function(_0n1, _Bj1, _Fj1) { _mm1.push(_1m1); _mm1.push(_0n1); _mm1.push(_Bj1); _mm1.push(_Fj1) }; this._Gj1 = function(_0n1, _Bj1, _Fj1) { _mm1.push(_2m1); _mm1.push(_0n1); _mm1.push(_Bj1); _mm1.push(_Fj1) }; this._Dj1 = function(_0n1, _Bj1) { _mm1.push(_3m1); _mm1.push(_0n1); _mm1.push(_Bj1) }; this._Pi1 = function(_1n1, _2n1) { _mm1.push(_4m1); _mm1.push(_1n1); _mm1.push(_2n1) }; this._cj1 = function(_aj1, _3n1, _4n1) { _mm1.push(_5m1); _mm1.push(_aj1); _mm1.push(_3n1); _mm1.push(_4n1) }; this._no = function(_Dk, _5n1, _6n1, _7n1) { _mm1.push(_6m1); _mm1.push(_Dk); _mm1.push(new Float32Array(_5n1)); _mm1.push(new Float32Array(_6n1)); _mm1.push(new Float32Array(_7n1)) }; this._4j1 = function(_b5) { _mm1.push(_7m1); _mm1.push(new Float32Array(_b5)); }; this._6j1 = function(_8n1) { _mm1.push(_8m1); _mm1.push(new Float32Array(_8n1)) }; this._po = function(_Dk, enable, _b5) { _mm1.push(_9m1); _mm1.push(_Dk); _mm1.push(enable); _mm1.push(_b5) }; this._7j1 = function(_Bn, _9n1) { _mm1.push(_am1); _mm1.push(_Bn); _mm1.push(_9n1) }; function _an1(_bt) { switch (_bt) { case _4c._Qk1: return _gh1.ZERO; case _4c._Rk1: return _gh1.ONE; case _4c._Sk1: return _gh1.SRC_COLOR; case _4c._Tk1: return _gh1.ONE_MINUS_SRC_COLOR; case _4c._Uk1: return _gh1.SRC_ALPHA; case _4c._Vk1: return _gh1.ONE_MINUS_SRC_ALPHA; case _4c._Wk1: return _gh1.ONE_MINUS_DST_ALPHA; case _4c._Xk1: return _gh1.DST_ALPHA; case _4c._Yk1: return _gh1.DST_COLOR; case _4c._Zk1: return _gh1.ONE_MINUS_DST_COLOR; case _4c.__k1: return _gh1.SRC_ALPHA_SATURATE; case _4c._0l1: return 0; case _4c._1l1: return 0; case _4c._2l1: return 0; case _4c._3l1: return 0; case _4c._4l1: return 0; case _4c._5l1: return 0 } return 0 } function _Fm1(_bt) { switch (_bt) { case _4c._kl1: return _gh1.KEEP; case _4c._ll1: return _gh1.ZERO; case _4c._ml1: return _gh1.REPLACE; case _4c._nl1: return _gh1.INCR; case _4c._ol1: return _gh1.DECR; case _4c._pl1: return _gh1.INVERT; case _4c._ql1: return _gh1.INCR; case _4c._rl1: return _gh1.DECR; default: return _gh1.KEEP } } function _Jm1(_bt) { switch (_bt) { case _4c._sl1: return _gh1.NEVER; case _4c._tl1: return _gh1.LESS; case _4c._ul1: return _gh1.EQUAL; case _4c._vl1: return _gh1.LEQUAL; case _4c._wl1: return _gh1.GREATER; case _4c._xl1: return _gh1.NOTEQUAL; case _4c._yl1: return _gh1.GEQUAL; case _4c._zl1: default: return _gh1.ALWAYS } } function _bn1(_1n1, _2n1) { switch (_1n1) { case _4c._Qi1: if (_2n1) { _gh1.enable(_gh1.DEPTH_TEST) } else { _gh1.disable(_gh1.DEPTH_TEST); } break; case _4c._Ui1: _gh1.depthMask(_2n1); break; case _4c._Ti1: _gh1.frontFace((_2n1 === _4c._Wn) ? _gh1.CW: _gh1.CCW); break; case _4c._Ri1: if (_2n1) { _gh1.enable(_gh1.CULL_FACE) } else { _gh1.disable(_gh1.CULL_FACE) } break; case _4c.__i1: _gh1.colorMask(_2n1._xk, _2n1._yk, _2n1._zk, _2n1.alpha); break; case _4c._nj1: if (_2n1) { _gh1.enable(_gh1.STENCIL_TEST) } else { _gh1.disable(_gh1.STENCIL_TEST) } break; case _4c._fl1: _Bm1._Km1 = _Fm1(_2n1); _gh1.stencilOp(_Bm1._Km1, _Bm1._Lm1, _Bm1._Mm1); break; case _4c._gl1: _Bm1._Lm1 = _Fm1(_2n1); _gh1.stencilOp(_Bm1._Km1, _Bm1._Lm1, _Bm1._Mm1); break; case _4c._sj1: _Bm1._Mm1 = _Fm1(_2n1); _gh1.stencilOp(_Bm1._Km1, _Bm1._Lm1, _Bm1._Mm1); break; case _4c._pj1: _Bm1._Im1 = _Jm1(_2n1); _gh1.stencilFunc(_Bm1._Im1, _Bm1._6r, _Bm1._Gm1); break; case _4c._vj1: _Bm1._6r = _2n1; _gh1.stencilFunc(_Bm1._Im1, _Bm1._6r, _Bm1._Gm1); break; case _4c._hl1: _Bm1._Gm1 = _2n1; _gh1.stencilFunc(_Bm1._Im1, _Bm1._6r, _Bm1._Gm1); break; case _4c._il1: _gh1.stencilMask(_2n1); break } } function _cn1() { if (_qm1 && _qm1._li1) { _sm1[_fm1]._Vo(_sm1[_em1], _sm1[_cm1]); _sm1[_gm1]._Vo(_sm1[_fm1], _sm1[_dm1]); var _dn1 = new Float32Array(16 * _hm1); for (var _H3 = 0; _H3 < _hm1; _H3++) { _dn1.set(_sm1[_H3]._F9, _H3 * 16) } _gh1.uniformMatrix4fv(_qm1._li1, _gh1._en1, _dn1) } } function _fn1(_gn1) { if (_gn1 & _lm1) { if (_qm1._ni1 !== undefined) { _gh1.uniform1i(_qm1._ni1, _zm1) } if (_qm1._oi1 !== undefined) { _gh1.uniform1f(_qm1._oi1, _Am1) } } if ((_gn1 & _im1) && (_qm1._mi1 !== undefined)) { _gh1.uniform4fv(_qm1._mi1, _ym1) } if (_gn1 & _jm1) { if (_qm1._ri1 !== undefined) { _gh1.uniform4fv(_qm1._ri1, _um1) } if (_qm1._qi1 !== undefined) { _gh1.uniform4fv(_qm1._qi1, _vm1); } if (_qm1._si1 !== undefined) { _gh1.uniform4fv(_qm1._si1, _wm1) } } if ((_gn1 & _km1) && (_qm1._ti1 !== undefined)) { _gh1.uniform4fv(_qm1._ti1, _xm1) } } function _hn1(_Ye, _aj1) { if (_Ye === null || _Ye === undefined) { return } var _in1 = _tm1[_aj1]; if (_in1 === null || _in1 === undefined) { return } var _jn1 = _in1._kn1; var _ln1 = _Ye._mn1._kn1; if (_jn1[_4c._jj1] != _ln1[_4c._jj1]) { _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MAG_FILTER, (_jn1[_4c._jj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST); _ln1[_4c._jj1] = _jn1[_4c._jj1] } if (_jn1[_4c._kj1] != _ln1[_4c._kj1]) { _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_MIN_FILTER, (_jn1[_4c._kj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST); _ln1[_4c._kj1] = _jn1[_4c._kj1] } if (_jn1[_4c._dj1] != _ln1[_4c._dj1]) { if (_Ye._nn1) { var _on1 = (_jn1[_4c._dj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT; _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_WRAP_S, _on1) } else { debug("WARNING: Non-pow2 texture for TEXTURE_WRAP_S") } _ln1[_4c._dj1] = _jn1[_4c._dj1] } if (_jn1[_4c._fj1] != _ln1[_4c._fj1]) { if (_Ye._nn1) { var _on1 = (_jn1[_4c._fj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT; _gh1.texParameteri(_gh1.TEXTURE_2D, _gh1.TEXTURE_WRAP_T, _on1) } else { debug("WARNING: Non-pow2 texture for TEXTURE_WRAP_T") } _ln1[_4c._fj1] = _jn1[_4c._fj1] } } this._Li1 = function() { var _H3, error, _gr, _Fi1, _pn1, _Ei1, _Ga, _Dk, _1b, enable; _H3 = 0; while (_H3 < _mm1.length) { switch (_mm1[_H3]) { case _Zl1: { var _yi1 = _mm1[_H3 + 1]; _H3 += 2; _qm1 = _yi1; _gh1.useProgram(_qm1); _cn1(); _fn1(0xff); break } case _Tl1: { _gh1.viewport(_mm1[_H3 + 1], _mm1[_H3 + 2], _mm1[_H3 + 3], _mm1[_H3 + 4]); _gh1.scissor(_mm1[_H3 + 1], _mm1[_H3 + 2], _mm1[_H3 + 3], _mm1[_H3 + 4]); _H3 += 5; break } case _Vl1: { _1b = _mm1[_H3 + 2]; _gh1.clearColor((_1b & 0xff) / 255.0, ((_1b >> 8) & 0xff) / 255.0, ((_1b >> 16) & 0xff) / 255.0, ((_1b >> 24) & 0xff) / 255.0); _gh1.clear(_mm1[_H3 + 1]); _H3 += 3; break } case _Rl1: { _sm1[_dm1] = _mm1[_H3 + 1]; _cn1(); _H3 += 2; break } case _Sl1: { _sm1[_cm1] = _mm1[_H3 + 1]; _cn1(); _H3 += 2; break } case _Ql1: { _sm1[_em1] = _mm1[_H3 + 1]; _cn1(); _H3 += 2; break } case _Jl1: { _Ga = _mm1[_H3 + 1]; _Ei1 = _mm1[_H3 + 2]; _H3 += 3; if (_Ga === null) { _Ga = _Cm1; _gh1.activeTexture(_gh1.TEXTURE0 + _Ei1); _gh1.bindTexture(_gh1.TEXTURE_2D, _Ga._fk1); _gh1.uniform1i(_qm1._ki1, 0); _rm1[_Ei1] = null } else { _gh1.activeTexture(_gh1.TEXTURE0 + _Ei1); _gh1.bindTexture(_gh1.TEXTURE_2D, _Ga._fk1); _gh1.uniform1i(_qm1._ki1, 0); _hn1(_Ga, _Ei1); _rm1[_Ei1] = _Ga } break } case _Ul1: { var _2c = _mm1[_H3 + 1]; _H3 += 2; if (_2c._qn1) { _2c._rn1() } _2c._sn1 = this._F8; _gh1.bindBuffer(_gh1.ARRAY_BUFFER, _2c._tn1); var _un1 = _2c._vn1; for (var _C9 = 0; _C9 < _qm1._ji1.length; _C9++) { if (_qm1._ji1[_C9] >= 0) { var _wn1 = _un1._fe[_C9]; _gh1.enableVertexAttribArray(_qm1._ji1[_C9]); _gh1.vertexAttribPointer(_qm1._ji1[_C9], _wn1._xn1, _wn1._yn1, _wn1._zn1, _un1._le, _wn1._L3) } } } break; case _Kl1: { _gh1.drawArrays(_gh1.TRIANGLES, _mm1[_H3 + 1], _mm1[_H3 + 2]); _H3 += 3; break } case _Ll1: { _gh1.drawArrays(_gh1.TRIANGLE_FAN, _mm1[_H3 + 1], _mm1[_H3 + 2]); _H3 += 3; break } case _Ml1: { _gh1.drawArrays(_gh1.TRIANGLE_STRIP, _mm1[_H3 + 1], _mm1[_H3 + 2]); _H3 += 3; break } case _Nl1: { _gh1.drawArrays(_gh1.LINES, _mm1[_H3 + 1], _mm1[_H3 + 2]); _H3 += 3; break } case _Ol1: { _gh1.drawArrays(_gh1.LINE_STRIP, _mm1[_H3 + 1], _mm1[_H3 + 2]); _H3 += 3; break } case _Pl1: { _gh1.drawArrays(_gh1.POINTS, _mm1[_H3 + 1], _mm1[_H3 + 2]); _H3 += 3; break } case _Wl1: { _gh1.bindFramebuffer(_gh1.FRAMEBUFFER, _mm1[_H3 + 1]); _H3 += 2; break } case _Xl1: { _gh1.colorMask(_mm1[_H3 + 2], _mm1[_H3 + 3], _mm1[_H3 + 4], _mm1[_H3 + 1]); _H3 += 5; break } case _Yl1: { _gh1.blendFunc(_an1(_mm1[_H3 + 1]), _an1(_mm1[_H3 + 2])); _H3 += 3; break } case _4m1: { var _An1 = _mm1[_H3 + 1]; var _Bn1 = _mm1[_H3 + 2]; _H3 += 3; _bn1(_An1, _Bn1); break } case __l1: { _gr = _mm1[_H3 + 1]; _Fi1 = _mm1[_H3 + 2]; _H3 += 3; switch (_Fi1.length) { case 1: _gh1.uniform1iv(_gr, _Fi1); break; case 2: _gh1.uniform2iv(_gr, _Fi1); break; case 3: _gh1.uniform3iv(_gr, _Fi1); break; case 4: _gh1.uniform4iv(_gr, _Fi1); break } break } case _0m1: { _gr = _mm1[_H3 + 1]; _Fi1 = _mm1[_H3 + 2]; _H3 += 3; switch (_Fi1.length) { case 1: _gh1.uniform1fv(_gr, _Fi1); break; case 2: _gh1.uniform2fv(_gr, _Fi1); break; case 3: _gh1.uniform3fv(_gr, _Fi1); break; case 4: _gh1.uniform4fv(_gr, _Fi1); break } break } case _1m1: { _gr = _mm1[_H3 + 1]; _Fi1 = _mm1[_H3 + 2]; _pn1 = _mm1[_H3 + 3]; _H3 += 4; switch (_pn1) { case 1: _gh1.uniform1iv(_gr, _Fi1); break; case 2: _gh1.uniform2iv(_gr, _Fi1); break; case 3: _gh1.uniform3iv(_gr, _Fi1); break; case 4: _gh1.uniform4iv(_gr, _Fi1); break } break } case _2m1: { _gr = _mm1[_H3 + 1]; _Fi1 = _mm1[_H3 + 2]; _pn1 = _mm1[_H3 + 3]; _H3 += 4; switch (_pn1) { case 1: _gh1.uniform1fv(_gr, _Fi1); break; case 2: _gh1.uniform2fv(_gr, _Fi1); break; case 3: _gh1.uniform3fv(_gr, _Fi1); break; case 4: _gh1.uniform4fv(_gr, _Fi1); break } break } case _3m1: { _gr = _mm1[_H3 + 1]; _Fi1 = _mm1[_H3 + 2]; _H3 += 3; switch (_Fi1.length) { case 2: _gh1.uniformMatrix2fv(_gr, !1, _Fi1); break; case 3: _gh1.uniformMatrix3fv(_gr, !1, _Fi1); break; case 4: _gh1.uniformMatrix4fv(_gr, !1, _Fi1); break } break } case _5m1: { _Ei1 = _mm1[_H3 + 1]; var _Lz = _mm1[_H3 + 2]; var _Cn1 = _mm1[_H3 + 3]; _H3 += 4; var _in1 = _tm1[_Ei1]; _in1._kn1[_Lz] = _Cn1; _hn1(_rm1[_Ei1], _Ei1); break } case _6m1: { _Dk = _mm1[_H3 + 1]; _um1.set(_mm1[_H3 + 2], _Dk * 4); _vm1.set(_mm1[_H3 + 3], _Dk * 4); _wm1.set(_mm1[_H3 + 4], _Dk * 4); _H3 += 5; _fn1(_jm1); break } case _7m1: { _xm1.set(_mm1[_H3 + 1]); _H3 += 2; _fn1(_km1); break } case _8m1: { _ym1.set(_mm1[_H3 + 1]); _H3 += 2; _fn1(_im1); break } case _9m1: { _Dk = _mm1[_H3 + 1]; enable = _mm1[_H3 + 2]; _1b = _mm1[_H3 + 3]; _H3 += 4; if (enable) { _wm1.set(_1b, _Dk * 4) } else { var _go = _Dk * 4; _wm1[_go + 0] = 0; _wm1[_go + 1] = 0; _wm1[_go + 2] = 0; _wm1[_go + 3] = 0 } _fn1(_jm1); break } case _am1: { _zm1 = _mm1[_H3 + 1]; _Am1 = _mm1[_H3 + 2]; _H3 += 3; _fn1(_lm1); break } case _bm1: { _Ga = _mm1[_H3 + 1]; var _0a = _mm1[_H3 + 2]; var _2a = _mm1[_H3 + 3]; var canvas = _mm1[_H3 + 4]; _H3 += 5; _gh1.activeTexture(_gh1.TEXTURE0); _gh1.bindTexture(_gh1.TEXTURE_2D, _Ga._fk1); _gh1.texSubImage2D(_gh1.TEXTURE_2D, 0, _0a, _2a, _gh1.RGBA, _gh1.UNSIGNED_BYTE, canvas); if (_rm1.length > 0) { _gh1.bindTexture(_gh1.TEXTURE_2D, _rm1[0]._fk1) } break } } } _mm1.length = 0 } } function _Nh1(_Dn1, _Aa, _Ba, _En1) { var _gh1 = this._Mh1; var _Fn1, _Gn1, _Hn1, _In1, _Jn1; Object.defineProperties(this, { _mn1: { get: function() { return _Fn1 } }, _fk1: { get: function() { return _Gn1 } }, _gk1: { get: function() { return _Hn1 } }, _hk1: { get: function() { return _In1 } }, _nn1: { get: function() { return _Jn1 } } }); (function() { _Gn1 = _Dn1; _Hn1 = _Aa; _In1 = _Ba; _Jn1 = _En1; _Fn1 = new _Ph1(); _Fn1._Kn1(_gh1.TEXTURE_2D) })() } function _Ph1(_Hl1) { var _gh1 = this._Mh1; var _Ln1 = []; Object.defineProperties(this, { _kn1: { get: function() { return _Ln1 } } }); (function() { if (_Hl1) { _Ln1[_4c._jj1] = _4c._Al1; _Ln1[_4c._kj1] = _4c._Al1 } else { _Ln1[_4c._jj1] = _4c._Bl1; _Ln1[_4c._kj1] = _4c._Bl1 } _Ln1[_4c._dj1] = _4c._gj1; _Ln1[_4c._fj1] = _4c._gj1 })(); this._Kn1 = function(_xJ) { var _Mn1 = _Ln1; _gh1.texParameteri(_xJ, _gh1.TEXTURE_MAG_FILTER, (_Mn1[_4c._jj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST); _gh1.texParameteri(_xJ, _gh1.TEXTURE_MIN_FILTER, (_Mn1[_4c._kj1] == _4c._Al1) ? _gh1.LINEAR: _gh1.NEAREST); _gh1.texParameteri(_xJ, _gh1.TEXTURE_WRAP_S, (_Mn1[_4c._dj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT); _gh1.texParameteri(_xJ, _gh1.TEXTURE_WRAP_T, (_Mn1[_4c._fj1] == _4c._gj1) ? _gh1.CLAMP_TO_EDGE: _gh1.REPEAT) } } function _wd(__d, _Nn1, _On1) { var _gh1 = this._Mh1; this._Pn1; this._Jd; this._tn1; this._bc; this._dc; this._Rd; this._fc; this._vn1 = _Nn1; this._sn1 = -1; this._9c = 0; this._Qn1 = __d; this._qn1 = !1; _Rn1(this); function _Rn1(_zH) { _Sn1(_zH); _Tn1(_zH); if (_On1) { _Un1(_zH) } } function _Sn1(_zH) { var _Vn1 = _zH._vn1._le; _zH._Pn1 = new ArrayBuffer(__d * _Vn1); _zH._Jd = new Int8Array(_zH._Pn1) } function _Un1(_zH) { _zH._tn1 = _gh1.createBuffer(); _gh1.bindBuffer(_gh1.ARRAY_BUFFER, _zH._tn1); _gh1.bufferData(_gh1.ARRAY_BUFFER, _zH._Jd, _gh1.DYNAMIC_DRAW) } function _Tn1(_zH) { var _Wn1 = _zH._vn1._fe; for (var _C9 = 0; _C9 < _Wn1.length; _C9++) { var _wn1 = _Wn1[_C9]; switch (_wn1._he) { case _4c._ue: _zH._bc = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3); break; case _4c._ze: _zH._dc = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3); break; case _4c._Je: _zH._Rd = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3); break; case _4c._He: _zH._fc = _Xn1(_wn1._yn1, _zH._Pn1, _wn1._L3); break } } } function _Xn1(_Yn1, _Zn1, __n1) { switch (_Yn1) { case _gh1.UNSIGNED_BYTE: return (new Int32Array(_Zn1, __n1)); break; case _gh1.FLOAT: return (new Float32Array(_Zn1, __n1)); break } return ! 1 } this._0o1 = function(_zk1) { if (_zk1._8c() === this._8c()) { var _Ue = _zk1._9c * _zk1._8c(); var _L3 = this._9c * this._8c(); if ((_L3 + _Ue) > this._Jd.length) { var _1o1 = new ArrayBuffer(this._Jd.length * 2); var _Id = new Int8Array(_1o1); _Id.set(this._Jd); this._Jd = _Id; this._Pn1 = _1o1; _Tn1(this) } this._Jd.set(_zk1._Jd.subarray(0, _Ue), _L3); this._9c += _zk1._9c } }; this._Se = function() { if (this._9c < this.max) { var _Ue = this._9c * this._8c(); var _2o1 = new ArrayBuffer(_Ue); var _3o1 = new Int8Array(_2o1); _3o1.set(this._Jd.subarray(0, _Ue)); this._Jd = _3o1; this._Pn1 = _2o1 } this._tn1 = _gh1.createBuffer(); _gh1.bindBuffer(_gh1.ARRAY_BUFFER, this._tn1); _gh1.bufferData(_gh1.ARRAY_BUFFER, this._Jd, _gh1.STATIC_DRAW); this._bc = null; this._dc = null; this._Rd = null; this._fc = null }; this._zd = function(_4o1) { if ((this._9c + _4o1) > this.max) { var _5o1 = this.max * 2; this.max = _5o1; var _ne = new ArrayBuffer(_5o1); var _pe = new Int8Array(_ne); _pe.set(this._Jd); this._Pn1 = _ne; _Tn1(this) } this._9c += _4o1 }; this._8c = function() { return this._vn1._le }; this._rn1 = function() { _gh1.bindBuffer(_gh1.ARRAY_BUFFER, this._tn1); var _6o1 = new Int8Array(this._Pn1, 0, this._9c * this._vn1._le); _gh1.bufferSubData(_gh1.ARRAY_BUFFER, 0, _6o1); this._9c = 0; this._qn1 = !1 } } function _Ih1(_7o1) { var _gh1 = this._Mh1; var _8o1 = []; var _9o1 = 0, _nm1 = null, _ao1 = null, _bo1 = _4c._Dk1, _om1 = null; var _co1 = _7o1; this._0i1 = function(_re) { if (_8o1[_re]) { debug("WARNING: Vertex format has already been registered\n") } else { _8o1[_re] = new _Th() } }; this._Bk1 = function(_nd, _Ye, _zk1, _Ak1) { var _x3 = _zk1._9c - _Ak1; switch (_nd) { case _4c._5c: _co1._Jj1(0, _Ye); _co1._Om1(_zk1); _co1._Qm1(_Ak1, _x3); break; case _4c._sd: _co1._Jj1(0, _Ye); _co1._Om1(_zk1); _co1._Tm1(_Ak1, _x3); break; case _4c._rd: _co1._Jj1(0, _Ye); _co1._Om1(_zk1); _co1._Um1(_Ak1, _x3); break; case _4c._pd: _co1._Jj1(0, null); _co1._Om1(_zk1); _co1._Vm1(_Ak1, _x3); break; case _4c._qd: _co1._Jj1(0, null); _co1._Om1(_zk1); _co1._Wm1(_Ak1, _x3); break; case _4c._od: _co1._Jj1(0, null); _co1._Om1(_zk1); _co1._S21(_Ak1, _x3); break } }; this._fi1 = function() { if (_ao1 == null) return; this._Bk1(_bo1, _nm1, _ao1, _9o1); _ao1 = _nm1 = null; _bo1 = _4c._Dk1 }; this._3c = function(_nd, _do1, _re, _eo1, _Nn1, _fo1) { var _H3, _go1, _2c, _ho1; _ho1 = _do1; if (_ao1 != null) { if ((_ao1._6i1 == _re) && ((_ao1._9c + _eo1) <= _ao1._Qn1) && (_nm1 == _ho1) && (_bo1 == _nd) && ((_nd != _4c._qd) && (_nd != _4c._rd) && (_nd != _4c._sd))) { return _ao1 } else { var _io1 = _ao1; this._fi1(); if ((_io1._6i1 == _re) && ((_io1._9c + _eo1) <= _io1._Qn1)) { _ao1 = _io1; _9o1 = _io1._9c; _bo1 = _nd; _nm1 = _ho1; return _ao1 } } } _bo1 = _nd; _nm1 = _ho1; _go1 = _8o1[_re]._3i; for (_H3 = _go1.length - 1; _H3 >= 0; _H3--) { _2c = _go1[_H3]; if ((_2c._sn1 != _fo1) && (_2c._9c + _eo1) <= _2c._Qn1) { _2c._qn1 = !0; _9o1 = _2c._9c; _ao1 = _2c; return _2c } } if (_eo1 < _xd) { _eo1 = _xd } _2c = new _wd(_eo1, _Nn1, !0); _2c._6i1 = _re; _2c._qn1 = !0; _9o1 = _2c._9c; _ao1 = _2c; _8o1[_re]._Wh(_2c); return _2c } } function _Oh1() { var _gh1 = this._Mh1; var _jo1 = 1; var _ko1 = [], _lo1 = 0, _mo1 = 0; Object.defineProperties(this, { _fe: { get: function() { return _ko1 }, set: function(_cf) { _ko1 = _cf } }, _ke: { get: function() { return _mo1 }, set: function(_cf) { _mo1 = _cf } }, _le: { get: function() { return _lo1 }, set: function(_cf) { _lo1 = _cf } } }); function _Wh(_ce, _be, _no1) { _mo1 |= _no1; var _wn1 = { _L3: _lo1, type: _ce, _he: _be, _ie: _no1, _yn1: 0, _xn1: 0 }; switch (_ce) { case _4c._Ae: case _4c._Re: _lo1 += 4; _wn1._yn1 = _gh1.UNSIGNED_BYTE; _wn1._xn1 = 4; _wn1._zn1 = !0; break; case _4c._Le: _lo1 += 4; _wn1._yn1 = _gh1.FLOAT; _wn1._xn1 = 1; _wn1._zn1 = !1; break; case _4c._ve: _lo1 += 8; _wn1._yn1 = _gh1.FLOAT; _wn1._xn1 = 2; _wn1._zn1 = !1; break; case _4c._xe: _lo1 += 12; _wn1._yn1 = _gh1.FLOAT; _wn1._xn1 = 3; _wn1._zn1 = !1; break; case _4c._Pe: _lo1 += 16; _wn1._yn1 = _gh1.FLOAT; _wn1._xn1 = 4; _wn1._zn1 = !1; break } _ko1.push(_wn1) } this._Yh1 = function() { _Wh(_4c._ve, _4c._ue, _jo1); _jo1 = _jo1 << 1 }; this._2i1 = function() { _Wh(_4c._xe, _4c._ue, _jo1); _jo1 = _jo1 << 1 }; this._Zh1 = function() { _Wh(_4c._Ae, _4c._ze, _jo1); _jo1 = _jo1 << 1 }; this._3i1 = function() { _Wh(_4c._xe, _4c._Je, _jo1); _jo1 = _jo1 << 1 }; this.__h1 = function() { _Wh(_4c._ve, _4c._He, _jo1); _jo1 = _jo1 << 1 }; this._oo1 = function(_ce, _be) { if ((_ce < _4c._Le) || (_ce > _4c._Pk1)) { debug("ERROR vertex_format_add_custom: illegal types"); return } if ((_be < _4c._ue) || (_be > _4c._Ok1)) { debug("ERROR vertex_format_add_custom: illegal usage"); return } _Wh(_ce, _be, _jo1); _jo1 = _jo1 << 1 }; this._gN = function(_5i1) { if (_ko1.length !== _5i1._fe.length) { return ! 1 } for (var _H3 = 0; _H3 < _ko1.length; _H3++) { var _po1 = _ko1[_H3]; var _qo1 = _5i1._fe[_H3]; if ((_po1._L3 !== _qo1._L3) || (_po1.type !== _qo1.type) || (_po1._he !== _qo1._he) || (_po1._ie !== _qo1._ie) || (_po1._yn1 !== _qo1._yn1) || (_po1._xn1 !== _qo1._xn1)) { return ! 1 } } return ! 0 } } function _ro1() { _Bx = _so1; _Dx = _to1; _Ex = _uo1; _Fx = _vo1; _Gx = _wo1; _Bi = function() { try { return window["GetHardwareId"]() } catch(e) { var id = 0xFF5025da3ad78cac9; return id.toString() } } } function _xo1() { _Cx({ type: _px, status: _ux }) } function _yo1() { _Cx({ type: _px, status: _vx }) } function _so1(_zo1) { window["buildStoreProxyFile"](_zo1, _Ao1, function() { window["activateStore"](function() { window["synchroniseProducts"](function(_Bo1) { _Cx({ type: _qx, _0y: _Bo1 }) }, function(_Bo1) { _Cx({ type: _rx, _0y: _Bo1 }) }, _yo1, _xo1) }, _xo1) }, _xo1) } function _to1() { window["restorePurchases"](function(_Co1) { _Cx({ type: _tx, _8j: _Co1 }) }) } function _uo1(_Ch, _Do1) { window["purchaseContent"](_Ch, _Do1, function(_Bo1) { _Cx({ type: _rx, _0y: _Bo1 }) }, function(_Bo1) { _Cx({ type: _rx, _0y: _Bo1 }) }) } function _vo1(_Ch) { window["consumeContent"](_Ch, function(_Bo1) { _Cx({ type: _sx, _0y: _Bo1 }) }, function(_Bo1) { _Cx({ type: _sx, _0y: _Bo1 }) }) } function _wo1(_Ch) { var response = "{ \"response\":6 }"; _Cx({ type: _qx, _0y: response }) } function _Ao1(_zo1, _Eo1) { var _Fo1 = "\r\n" + "\r\n" + " \r\n" + " \r\n" + " 00000000-0000-0000-0000-000000000000\r\n" + " \r\n" + " en-US\r\n" + " 3\r\n" + " \r\n" + " In-app purchases\r\n" + " AppDescription\r\n" + " 0.99\r\n" + " $\r\n" + " USD\r\n" + " \r\n" + " \r\n"; var _Go1 = " \r\n" + " \r\n" + " PRODUCT_NAME\r\n" + " PRODUCT_PRICE\r\n" + " $\r\n" + " USD\r\n" + " \r\n" + " \r\n"; var _Ho1 = " \r\n" + " \r\n" + " \r\n" + " true\r\n" + " false\r\n" + " \r\n"; var _Io1 = " \r\n" + " PRODUCT_ACTIVE\r\n" + " \r\n"; var _Jo1 = " \r\n" + "\r\n"; var _Ko1 = _Fo1; for (var _mv = 0; _mv < _zo1.length; _mv++) { var product = _zo1[_mv]; var _Jx = "1.00"; if ((product._Jx != null) && (product._Jx != undefined) && (product._Jx != "")) { _Jx = product._Jx; if (typeof(_Jx) == "number") { _Jx = _Jx.toString() } _Jx = _Jx.replace("$", ""); _Jx = _Jx.replace("�", "") } var _Lo1 = _Go1.replace("PRODUCT_ID", product._Ix); _Lo1 = _Lo1.replace("PRODUCT_NAME", product.title); _Lo1 = _Lo1.replace("PRODUCT_PRICE", _Jx); _Ko1 += _Lo1 } _Ko1 += _Ho1; for (var _mv = 0; _mv < _zo1.length; _mv++) { var product = _zo1[_mv]; var _Mo1 = _Eo1[product._Ix]; var _No1 = (_Mo1 == null || _Mo1 == undefined) ? !1 : _Mo1; var _Oo1 = _Io1.replace("PRODUCT_ID", product._Ix).replace("PRODUCT_ACTIVE", _No1 ? "true": "false"); _Ko1 += _Oo1 } _Ko1 += _Jo1; return _Ko1 } var _Po1 = null;; function _Qo1() { _Ro1 = !1; if (_Up) { var _So1 = _Up.document.getElementById('debug_console'); if ((_So1 != undefined) && (_So1 != null)) { _So1.style.display = "none" } } _bI = canvas.width = window.outerWidth; _cI = canvas.height = window.outerHeight; _To1 = !0 } var _Uo1 = []; function _Vo1(_Zg) { for (var _Wo1 = 0; _Wo1 < _Uo1.length; _Wo1++) { if (_Uo1[_Wo1] === _Zg) { return _Wo1 } } return - 1 } function _Xo1(_Yo1) { var _0h = -1; var _Zo1 = !0; for (var _Wo1 = 0; _Wo1 < _Uo1.length; _Wo1++) { if (_Uo1[_Wo1] !== -1) { _Zo1 = !1; break } } for (var _Wo1 = 0; _Wo1 < _Uo1.length; _Wo1++) { if (_Wo1 === 0 && _Zo1 === !1) { continue } if ((_Uo1[_Wo1] === _Yo1) || (_Uo1[_Wo1] === -1)) { _0h = _Wo1; break } } if (_0h == -1) { _0h = _Uo1.length } _Uo1[_0h] = _Yo1; _1h[_0h] = new _Gg(); return _0h } function __o1(_0p1, _V8, _W8) { var _0h = _Vo1(_0p1); if (_0h == 0) { return } if (_0h == -1) { _0h = _1p1(_0p1, _V8, _W8) } else { if (_0h == 0) { if (_dh != null) { _eh = _V8; _fh = _W8 } _gh = 1 } _1h[_0h]._f3 = _V8; _1h[_0h]._g3 = _W8; _hh[_0h]._f3 = _V8; _hh[_0h]._g3 = _W8 } } function _1p1(_0p1, _V8, _W8) { var _0h = _Xo1(_0p1); if (_0h == 0) { return } if (_0h == 0) { if (_dh != null) { _eh = _V8; _fh = _W8 } _gh = 1 } _1h[_0h]._f3 = _V8; _1h[_0h]._g3 = _W8; _hh[_0h]._f3 = _V8; _hh[_0h]._g3 = _W8; _1h[_0h]._nf = 1; _hh[_0h]._ih = _jh | _kh | _lh; return _0h } function _2p1(_0p1, _V8, _W8) { var _0h = _Vo1(_0p1); _Uo1[_0h] = -1; if (_0h == 0) { return } if (_0h == 0) { if (_dh != null) { _eh = _V8; _fh = _W8 } _gh = 0 } _1h[_0h]._f3 = _V8; _1h[_0h]._g3 = _W8; _hh[_0h]._f3 = _V8; _hh[_0h]._g3 = _W8; _1h[_0h]._nf = 0; _hh[_0h]._ih = 0 } function _3p1(_0p1, _V8, _W8) { var _0h = _Vo1(_0p1); _2p1(_0p1, _V8, _W8) } function gse(_4p1, _5p1) { switch (_4p1) { case "resize": return _Qo1; case "loading": if (!_Yp._A5._6p1) { _7p1 = _5p1; return ! 0 } return ! 1; case "onloaded": if (!_Yp._A5._6p1) { _8p1 = _5p1 } break; case "console": if (!_Yp._A5._6p1) { _9p1 = function() {}; _ap1 = function() {} } debug = _bp1; _Zp = _cp1; break; case "pause": _dp1(_5p1); break; case "mousescale": _ep1 = function(_fp1) { var _E3 = canvas.width / window.outerWidth; var _F3 = canvas.height / window.outerHeight; _eh = _fp1.pageX * _E3; _fh = _fp1.pageY * _F3; _hh[_fp1.button]._f3 = _eh; _hh[_fp1.button]._g3 = _fh }; break; case "ontouchmove": __o1(arguments[1], arguments[2], arguments[3]); break; case "ontouchdown": _1p1(arguments[1], arguments[2], arguments[3]); break; case "ontouchup": _2p1(arguments[1], arguments[2], arguments[3]); break; case "ontouchcancel": _3p1(arguments[1], arguments[2], arguments[3]); break; case "browser": _yz = _gp1; _hp1 = _ip1; _zJ = arguments[1]; _jp1 = _kp1; _lp1 = _mp1; break; case "cmd_line": _np1(arguments[1]); break; case "iap": _ro1(); break; case "async": _op1(arguments[1]); break; case "dpi": _Gu = _Hu = arguments[1]; break; case "language": _zt = arguments[1]; break; case "ads": _KJ = arguments[1]; _LJ = arguments[2]; _MJ = arguments[3]; return _pp1; case "analytics": _Nt = arguments[1]; _Ot = arguments[2]; return _qp1; } } function _pp1(_7z) { if (_Yp._rp1) { var _sp1 = { "appId": _Yp._rp1._tp1, "unitId": _Yp._rp1._up1[_7z]._vp1, "size": _Yp._rp1._up1[_7z]._x3 }; return _sp1 } return null } function _qp1() { if (_Yp._wp1) { return _Yp._wp1._tp1 } return null } function _np1(_xp1) { if (_xp1 == "" || _xp1 == null || _xp1 == undefined) { return } try { var __h = _xp1.split('&'); for (var _yp1 in __h) { var _BR = __h[_yp1].split('='); _zp1[_zp1.length] = _BR[0]; _Ap1[_Ap1.length] = _BR[1]; _Bp1++ } } catch(e) { alert(e._Cp1 + ". Malformed command line parameters: \"" + _xp1 + "\"") } } function _op1(_Dp1) { _Fq = function(_bq) { _fq = "win8AsyncMessageDialog"; _xq._Wh(_bq.id, null, _yq, _fq); _Dp1[0](_bq._kq[0], function() { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = 1 }, function() { _hq = !1; _tq(_bq.id) }) }; _Dq = function(_bq) { _fq = "win8AsyncQuestionDialog"; _xq._Wh(_bq.id, null, _yq, _fq); _Dp1[1](_bq._kq[0], function() { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = 1 }, function() { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = 0 }, function() { _hq = !1; _tq(_bq.id) }) }; _zq = function(_bq) { _fq = "win8AsyncInputDialog"; _xq._Wh(_bq.id, null, _yq, _fq); _Dp1[2](_bq._kq[0], function() { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = ""; _nq._mq = ""; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _nq._qq = 0 }, function() { _hq = !1; _tq(_bq.id) }) }; _aq = function(_bq) { _fq = "win8AsyncLoginDialog"; _xq._Wh(_bq.id, null, _yq, _fq); _Dp1[3](function(_lq, _mq) { var _nq = _oq(_fq); if (!_nq) return; _nq._lq = _lq; _nq._mq = _mq; _nq._qq = 1; _nq.value = 0; _nq._8j = ""; _nq._pq = !0; _hq = !1; _tq(_bq.id) }) } } function _ip1(_ce, _lz, _nz, _Bz) { try { var _uz = new XMLHttpRequest(); if (_Bz) { _xq._Wh(_Dz, _lz, _Ez, _uz) } _uz.open(_ce, _lz); _uz.ontimeout = function(_fr) { _jz(_fr, _uz) }; _uz.onerror = function(_fr) { _jz(_fr, _uz) }; _uz.onload = function(_fr) { _iz(_fr, _uz) }; _uz._qz = function() {}; _uz.send(_nz) } catch(e) { return - 1 } return _Dz++ } function _bp1() { if (_Tp) { for (var index = 0; index < arguments.length; ++index) {} } } function _cp1(__p) { if (_Tp) { if (!_Mp[__p]) { _Mp[__p] = !0; alert(__p); } } } function _kp1(_lz, _Ep1) { var _uz = { responseText: "", status: -1 }; _xq._Wh(_Dz, _lz, _Ez, _uz); window["downloadFile"](_lz, _Ep1, function(_Fp1) { _uz.responseText = _Fp1; _uz.status = 200; _iz(null, _uz) }, function(e) { _uz.responseText = e.message; _uz.status = e._Gp1; _jz(null, _uz) }); return _Dz++ } function _mp1(_Hp1, _Ip1) { return window["unzipContent"](_Hp1, _Ip1, function(_Jp1, _Kp1) { debug("zip_unzip() returned " + _Jp1 + " entries successfully") }, function(_Jp1, _Kp1) { debug("zip_unzip() returned " + _Jp1 + " entries with errors") }) } function _Lp1(_bb) { return (((_bb._T9 * 255) & 0xff) << 0) | (((_bb._jb * 255) & 0xff) << 8) | (((_bb._W9 * 255) & 0xff) << 16) } function _Mp1(_rb, _LO, _bb) { _Y6(_Lp1(_bb)); var scale = 1.0 / this._Np1._lD; for (var _C9 = 0; _C9 < _LO; ++_C9) { var _Op1 = _rb[_C9]; var _Pp1 = _rb[(_C9 + 1) % _LO]; _qb(_Op1._f3 * scale, _Op1._g3 * scale, _Pp1._f3 * scale, _Pp1._g3 * scale) } } function _Qp1(_rb, _LO, _bb) { _Y6(_Lp1(_bb)); var scale = 1.0 / this._Np1._lD; var _Op1 = _rb[0]; for (var _C9 = 2; _C9 < _LO; ++_C9) { var _Pp1 = _rb[_C9 - 1]; var _Rp1 = _rb[_C9]; _dw(_Op1._f3 * scale, _Op1._g3 * scale, _Pp1._f3 * scale, _Pp1._g3 * scale, _Rp1._f3 * scale, _Rp1._g3 * scale, !1) } } function _Sp1(_OO, _PO, _bb) { _Y6(_Lp1(_bb)); var scale = 1.0 / this._Np1._lD; _Dw((_OO._f3 - _PO) * scale, (_OO._g3 - _PO) * scale, (_OO._f3 + _PO) * scale, (_OO._g3 + _PO) * scale, !0) } function _Tp1(_OO, _PO, _RO, _bb) { _Y6(_Lp1(_bb)); var scale = 1.0 / this._Np1._lD; _Dw((_OO._f3 - _PO) * scale, (_OO._g3 - _PO) * scale, (_OO._f3 + _PO) * scale, (_OO._g3 + _PO) * scale, !1) } function _Up1(_TO, _UO, _bb) { _Y6(_Lp1(_bb)); var scale = 1.0 / this._Np1._lD; _qb(_TO._f3 * scale, _TO._g3 * scale, _UO._f3 * scale, _UO._g3 * scale) } function _Vp1(_ON) { var _Wp1 = 0.4; var scale = 1.0 / this._Np1._lD; var _TO = _ON._mv, _UO = new _Xp1._Yp1(); _UO._f3 = _TO._f3 + _Wp1 * _ON._fu._LN()._f3; _UO._g3 = _TO._g3 + _Wp1 * _ON._fu._LN()._g3; _Y6(_Zp1); _qb(_TO._f3 * scale, _TO._g3 * scale, _UO._f3 * scale, _UO._g3 * scale); _UO._f3 = _TO._f3 + _Wp1 * _ON._fu._MN()._f3; _UO._g3 = _TO._g3 + _Wp1 * _ON._fu._MN()._g3; _Y6(__p1); _qb(_TO._f3 * scale, _TO._g3 * scale, _UO._f3 * scale, _UO._g3 * scale) } function _0q1(_XO, _PO, _YO, _Ea) { for (var _C9 = 0; _C9 < _Ea; _C9++) { var scale = 1.0 / this._Np1._lD; _Y6(((_YO[_C9]._T9 & 0xff) << 0) | ((_YO[_C9]._jb & 0xff) << 8) | ((_YO[_C9]._W9 & 0xff) << 16)); _Dw((_XO[_C9]._f3 - _PO) * scale, (_XO[_C9]._g3 - _PO) * scale, (_XO[_C9]._f3 + _PO) * scale, (_XO[_C9]._g3 + _PO) * scale, !0) } } function _QC(_SC) { this._0Z = 0; this._1Z = 0; this._1q1 = _SC; this._2q1 = !1; this._3q1 = !0; this._4q1 = !1; this._5q1 = new _Xp1._6q1(); this._2Q = null }; _QC.prototype._jD = function(_7q1) { this._2Q = null; this._5q1._DP = new _Xp1._8q1(); this._5q1._DP._iP = _7q1 }; _QC.prototype._nD = function() { this._2Q = []; this._5q1._DP = new _Xp1._9q1() }; _QC.prototype._rD = function(_V8, _W8) { var _LO = this._2Q.length; this._2Q[_LO] = new _Xp1._Yp1(_V8, _W8) }; _QC.prototype._aq1 = function() { if (this._2Q === null || this._2Q === undefined) { return ! 0 } if (this._5q1._DP._hP === _Xp1._bq1._yP) { if (this._2Q.length > 2) { this._5q1._DP._gi(this._2Q, this._2Q.length); return ! 0 } } else if (this._5q1._DP._hP === _Xp1._bq1._zP) { if (this._4q1) { if (this._2Q.length >= 3) { this._5q1._DP._9Q(this._2Q, this._2Q.length); return ! 0 } } else { if (this._2Q.length >= 2) { this._5q1._DP._aQ(this._2Q, this._2Q.length); return ! 0 } } } return ! 1 }; _QC.prototype._5D = function(_4D) { this._5q1._K_._J_ = _4D }; _QC.prototype._2D = function(_1D) { this._5q1._L_ = _1D }; _QC.prototype.__C = function(_ZC) { this._5q1._M_ = _ZC }; _QC.prototype._XC = function(_WC) { this._5q1._sP = _WC }; _QC.prototype._8D = function(_cq1) { this._5q1._N_ = _cq1 }; _QC.prototype._bD = function(_aD) { this._0Z = _aD }; _QC.prototype._dD = function(_aD) { this._1Z = _aD }; _QC.prototype._dD = function(_aD) { this._1Z = _aD }; _QC.prototype._gD = function(_fD) { this._3q1 = _fD }; _QC.prototype._UC = function() { this._2q1 = !0 }; var _dq1 = 0, _eq1 = 1, _fq1 = 2, _gq1 = 3, _hq1 = 4, _iq1 = 5, _jq1 = 6, _kq1 = 7, _lq1 = 8, _mq1 = 9, _nq1 = 10, _oq1 = 11, _pq1 = 12, _qq1 = 13, _rq1 = 14, _sq1 = 15, _tq1 = 16, _uq1 = 17, _vq1 = 18, _wq1 = 19, _xq1 = 20, _yq1 = 21, _zq1 = 22, _Aq1 = 23, _Bq1 = 24; function _Cq1(_Dq1) { this._Eq1 = _Dq1 }; _Cq1.prototype._Zb1 = function(_Fq1) { if ((this._Eq1 instanceof _Xp1._Gq1) || (this._Eq1 instanceof _Xp1._Hq1) || (this._Eq1 instanceof _Xp1._Iq1)) { this._Eq1._H21()._gD(!0); this._Eq1._I21()._gD(!0); this._Eq1._Zb1(_Fq1) } }; function _Jq1(_Kq1, _Lq1, _tD, _uD) { this._Mq1 = _Kq1; this._Nq1 = _Lq1; this._Oq1 = new _Xp1._Yp1(_tD, _uD); this._Pq1 = [] }; _Jq1.prototype._QZ = function(_Qq1, _Rq1, _Sq1, _Tq1) { this._Mq1._QZ(new _Xp1._Yp1(_Sq1, _Tq1), new _Xp1._Yp1(_Qq1, _Rq1), !0) }; _Jq1.prototype._YZ = function(_Uq1) { this._Mq1._YZ(_Uq1, !0) }; _Jq1.prototype._UZ = function(_Vq1) { this._Mq1._UZ(_Vq1, !0) }; _Jq1.prototype._Wq1 = function(_Xq1) { var position = this._Mq1._JC(); this._Mq1._IZ(position, (_Xq1 * Math.PI) / 180.0); this._Mq1._gD(!0) }; _Jq1.prototype._Yq1 = function(_2i) { var _0b = this._Mq1._KN(); var _Zq1 = this._Mq1._JC()._g3; this._Mq1._IZ(new _Xp1._Yp1(_2i, _Zq1), _0b); this._Mq1._gD(!0) }; _Jq1.prototype.__q1 = function(_2i) { var _0b = this._Mq1._KN(); var _0r1 = this._Mq1._JC()._f3; this._Mq1._IZ(new _Xp1._Yp1(_0r1, _2i), _0b); this._Mq1._gD(!0) }; _Jq1.prototype._OZ = function(_1r1) { this._Mq1._OZ((_1r1 * Math.PI) / 180.0); this._Mq1._gD(!0) }; _Jq1.prototype._2r1 = function(_3r1) { var _4r1 = this._Mq1._NZ(); this._Mq1._MZ(new _Xp1._Yp1(_3r1, _4r1._g3)); this._Mq1._gD(!0) }; _Jq1.prototype._5r1 = function(_3r1) { var _4r1 = this._Mq1._NZ(); this._Mq1._MZ(new _Xp1._Yp1(_4r1._f3, _3r1)); this._Mq1._gD(!0) }; _Jq1.prototype._l_ = function(_6r1) { this._Mq1._l_(_6r1) }; _Jq1.prototype._t_ = function(_7r1) { this._Mq1._t_(_7r1) }; _Jq1.prototype._r_ = function(_8r1) { this._Mq1._r_(_8r1) }; _Jq1.prototype._9r1 = function(_ar1) { var _TC = this._Mq1._v_(); while ((_TC != null) && (_TC != undefined)) { var _DP = _TC._U_(); var _br1 = this._Mq1._JC(); if (_DP instanceof _Xp1._8q1) { _Dw((_br1._f3 - _DP._iP) * _ar1, (_br1._g3 - _DP._iP) * _ar1, (_br1._f3 + _DP._iP) * _ar1, (_br1._g3 + _DP._iP) * _ar1, !0) } else if (_DP instanceof _Xp1._9q1) { var _cr1 = Math.sin(this._Mq1._KN()); var _dr1 = Math.cos(this._Mq1._KN()); for (var _C9 = 0; _C9 < _DP._3Q; ++_C9) { var _Op1 = _DP._2Q[_C9]; var _Pp1 = _DP._2Q[(_C9 + 1) % _DP._3Q]; _qb((_br1._f3 + ((_Op1._f3 * _dr1) - (_Op1._g3 * _cr1))) * _ar1, (_br1._g3 + ((_Op1._f3 * _cr1) + (_Op1._g3 * _dr1))) * _ar1, (_br1._f3 + ((_Pp1._f3 * _dr1) - (_Pp1._g3 * _cr1))) * _ar1, (_br1._g3 + ((_Pp1._f3 * _cr1) + (_Pp1._g3 * _dr1))) * _ar1) } } _TC = _TC._YY } }; _Jq1.prototype._er1 = function(_ar1) { var _D_ = this._Mq1._VY; while ((_D_ != null) && (_D_ != undefined)) { var _E_ = _D_._E_; if (_E_ instanceof _Xp1._Gq1) { this._fr1(_E_, _ar1) } else if (_E_ instanceof _Xp1._Hq1) { this._gr1(_E_, _ar1) } else if (_E_ instanceof _Xp1._hr1) { this._ir1(_E_, _ar1) } else if (_E_ instanceof _Xp1._jr1) { this._kr1(_E_, _ar1) } else if (_E_ instanceof _Xp1._lr1) { if (_E_._mr1 != null) { this._fr1(_E_._mr1, _ar1) } if (_E_._nr1 != null) { this._fr1(_E_._nr1, _ar1) } if (_E_._or1 != null) { this._gr1(_E_._or1, _ar1) } if (_E_._pr1 != null) { this._gr1(_E_._pr1, _ar1) } } _D_ = _D_._YY } }; _Jq1.prototype._ir1 = function(_qr1, _ar1) { var _Dc1 = _qr1._J21(); var _Ec1 = _qr1._K21(); _qb(_Dc1._f3 * _ar1, _Dc1._g3 * _ar1, _Ec1._f3 * _ar1, _Ec1._g3 * _ar1) }; _Jq1.prototype._fr1 = function(_qr1, _ar1) { var anchor = _qr1._J21(); _qb((anchor._f3 * _ar1) - 2, (anchor._g3 * _ar1) - 2, (anchor._f3 * _ar1) + 2, (anchor._g3 * _ar1) + 2); _qb((anchor._f3 * _ar1) - 2, (anchor._g3 * _ar1) + 2, (anchor._f3 * _ar1) + 2, (anchor._g3 * _ar1) - 2) }; _Jq1.prototype._gr1 = function(_qr1, _ar1) { var _Dc1 = _qr1._J21(); var _Ec1 = this._Mq1._JC(); _qb(_Dc1._f3 * _ar1, _Dc1._g3 * _ar1, _Ec1._f3 * _ar1, _Ec1._g3 * _ar1) }; _Jq1.prototype._kr1 = function(_qr1, _ar1) { var anchor, _rr1; if (_qr1._sr1() == this._Mq1) { anchor = _qr1._J21(); _rr1 = _qr1._O21() } else { anchor = _qr1._K21(); _rr1 = _qr1._P21() } _qb(anchor._f3 * _ar1, anchor._g3 * _ar1, _rr1._f3 * _ar1, _rr1._g3 * _ar1); _qb(_qr1._O21()._f3 * _ar1, _qr1._O21()._g3 * _ar1, _qr1._P21()._f3 * _ar1, _qr1._P21()._g3 * _ar1) }; _Jq1.prototype._tr1 = function(_ur1) { for (var _H3 = 0; _H3 < this._Pq1.length; _H3++) { if (this._Pq1[_H3] == null || this._Pq1[_H3] == undefined) { this._Pq1[_H3] = _ur1; return _H3 } } return (this._Pq1.push(_ur1) - 1) }; _Jq1.prototype._vr1 = function(_wr1) { if (this._Pq1[_wr1]) { this._Mq1._zZ(this._Pq1[_wr1]); this._Pq1[_wr1] = undefined } }; _Jq1.prototype._201 = function(_wr1) { if (this._Pq1[_wr1]) { return this._Pq1[_wr1]._201() } return 0.0 }; _Jq1.prototype._101 = function(_wr1) { if (this._Pq1[_wr1]) { return this._Pq1[_wr1]._101(); } return 0.0 }; _Jq1.prototype._301 = function(_wr1) { if (this._Pq1[_wr1]) { return this._Pq1[_wr1]._301() } return 0.0 }; _Jq1.prototype._2D = function(_wr1, _Dh) { if (this._Pq1[_wr1]) { this._Pq1[_wr1]._2D(_Dh) } }; _Jq1.prototype._XC = function(_wr1, _Dh) { if (this._Pq1[_wr1]) { this._Pq1[_wr1]._XC(_Dh); this._Mq1._wZ() } }; _Jq1.prototype.__C = function(_wr1, _Dh) { if (this._Pq1[_wr1]) { this._Pq1[_wr1].__C(_Dh) } }; var _xr1 = 10, _yr1 = 32, _zr1 = (1 << 0), _Ar1 = (1 << 1), _Br1 = (1 << 2), _Cr1 = (1 << 3), _Dr1 = (1 << 4), _Er1 = (1 << 5), _Fr1 = (1 << 6); var _Xp1 = null; function _Gr1() { if (_Xp1 === null) { var _ht = window["b2"]; _Xp1 = {}; _Xp1.version = _ht["version"]; _Xp1._Yp1 = _ht["Vec2"]; _Xp1._Hr1 = _ht["Vec3"]; _Xp1._Ir1 = _ht["Mat22"]; _Xp1._Jr1 = _ht["Mat33"]; _Xp1._Kr1 = _ht["Rot"]; _Xp1._Lr1 = _ht["Transform"]; _Xp1._Mr1 = _ht["Sweep"]; _Xp1._Nr1 = _ht["Dot_v2_v2"]; _Xp1._Or1 = _ht["Cross_v2_v2"]; _Xp1._Pr1 = _ht["Cross_v2_f"]; _Xp1._Qr1 = _ht["Cross_f_v2"]; _Xp1._Rr1 = _ht["Mul_m22_v2"]; _Xp1._Sr1 = _ht["MulT_m22_v2"]; _Xp1._Tr1 = _ht["Distance"]; _Xp1._Ur1 = _ht["DistanceSquared"]; _Xp1._Vr1 = _ht["Dot_v3_v3"]; _Xp1._Wr1 = _ht["Cross_v3_v3"]; _Xp1._Xr1 = _ht["Mul_m22_m22"]; _Xp1._Yr1 = _ht["MulT_m22_m22"]; _Xp1._Zr1 = _ht["Mul_m33_v3"]; _Xp1.__r1 = _ht["Mul22_m33_v2"]; _Xp1._0s1 = _ht["Mul_r_r"]; _Xp1._1s1 = _ht["MulT_r_r"]; _Xp1._2s1 = _ht["Mul_r_v2"]; _Xp1._3s1 = _ht["MulT_r_v2"]; _Xp1._4s1 = _ht["Mul_t_v2"]; _Xp1._5s1 = _ht["Min_v2"]; _Xp1._6s1 = _ht["Max_v2"]; _Xp1._7s1 = _ht["Clamp"]; _Xp1._8s1 = _ht["MulT_t_v2"]; _Xp1._9s1 = _ht["Mul_t_t"]; _Xp1._as1 = _ht["MulT_t_t"]; _Xp1._bs1 = _ht["Clamp_v2"]; _Xp1._cs1 = _ht["NextPowerOfTwo"]; _Xp1._ds1 = _ht["Abs_v2"]; _Xp1._es1 = _ht["Abs_m22"]; _Xp1._fs1 = _ht["IsPowerOfTwo"]; _Xp1._gs1 = _ht["RandomFloat"]; _Xp1._hs1 = _ht["Timer"]; _Xp1._is1 = _ht["Color"]; _Xp1._6b = _ht["Draw"]; _Xp1._js1 = _ht["ContactID"]; _Xp1._ks1 = _ht["ManifoldPoint"]; _Xp1._ls1 = _ht["Manifold"]; _Xp1._ms1 = _ht["WorldManifold"]; _Xp1._ns1 = _ht["GetPointStates"]; _Xp1._os1 = _ht["ClipVertex"]; _Xp1._ps1 = _ht["RayCastInput"]; _Xp1._qs1 = _ht["RayCastOutput"]; _Xp1._rs1 = _ht["AABB"]; _Xp1._ss1 = _ht["CollideCircles"]; _Xp1._ts1 = _ht["CollidePolygonAndCircle"]; _Xp1._us1 = _ht["FindMaxSeparation"]; _Xp1._vs1 = _ht["FindIncidentEdge"]; _Xp1._ws1 = _ht["CollidePolygons"]; _Xp1._xs1 = _ht["CollideEdgeAndCircle"]; _Xp1._ys1 = _ht["EPAxis"]; _Xp1._zs1 = _ht["TempPolygon"]; _Xp1._As1 = _ht["ReferenceFace"]; _Xp1._Bs1 = _ht["EPCollider"]; _Xp1._Cs1 = _ht["CollideEdgeAndPolygon"]; _Xp1._Ds1 = _ht["ClipSegmentToLine"]; _Xp1._Es1 = _ht["TestShapeOverlap"]; _Xp1._nR = _ht["TestOverlap"]; _Xp1._bq1 = _ht["Shape"]; _Xp1._Fs1 = _ht["MassData"]; _Xp1._8q1 = _ht["CircleShape"]; _Xp1._Gs1 = _ht["EdgeShape"]; _Xp1._Hs1 = _ht["ChainShape"]; _Xp1._9q1 = _ht["PolygonShape"]; _Xp1._D51 = _ht["Pair"]; _Xp1._Is1 = _ht["PairLessThan"]; _Xp1._Js1 = _ht["BroadPhase"]; _Xp1._Ks1 = _ht["DistanceProxy"]; _Xp1._Ls1 = _ht["SimplexCache"]; _Xp1._Ms1 = _ht["DistanceInput"]; _Xp1._Ns1 = _ht["DistanceOutput"]; _Xp1._Os1 = _ht["SimplexVertex"]; _Xp1._Ps1 = _ht["Simplex"]; _Xp1._Qs1 = _ht["DistanceFunc"]; _Xp1._Rs1 = _ht["TreeNode"]; _Xp1._Ss1 = _ht["DynamicTree"]; _Xp1._Ts1 = _ht["TOIInput"]; _Xp1._Us1 = _ht["TOIOutput"]; _Xp1._Vs1 = _ht["SeparationFunction"]; _Xp1._Ws1 = _ht["TimeOfImpact"]; _Xp1._Xs1 = _ht["BodyDef"]; _Xp1._Ys1 = _ht["Body"]; _Xp1._Zs1 = _ht["Filter"]; _Xp1._6q1 = _ht["FixtureDef"]; _Xp1.__s1 = _ht["Fixture"]; _Xp1._0t1 = _ht["DestructionListener"]; _Xp1._1t1 = _ht["ContactFilter"]; _Xp1._2t1 = _ht["ContactImpulse"]; _Xp1._3t1 = _ht["ContactListener"]; _Xp1._KR = _ht["QueryCallback"]; _Xp1._XW = _ht["RayCastCallback"]; _Xp1._4t1 = _ht["TimeStep"]; _Xp1._5t1 = _ht["Position"]; _Xp1._6t1 = _ht["Velocity"]; _Xp1._7t1 = _ht["SolverData"]; _Xp1._8t1 = _ht["World"]; _Xp1._9t1 = _ht["MixFriction"]; _Xp1._at1 = _ht["MixRestitution"]; _Xp1._bt1 = _ht["ContactRegister"]; _Xp1._ct1 = _ht["ContactEdge"]; _Xp1._dt1 = _ht["Contact"]; _Xp1._et1 = _ht["CircleContact"]; _Xp1._ft1 = _ht["PolygonContact"]; _Xp1._gt1 = _ht["ChainAndCircleContact"]; _Xp1._ht1 = _ht["ChainAndPolygonContact"]; _Xp1._it1 = _ht["EdgeAndCircleContact"]; _Xp1._jt1 = _ht["EdgeAndPolygonContact"]; _Xp1._kt1 = _ht["PolygonAndCircleContact"]; _Xp1._lt1 = _ht["defaultFilter"]; _Xp1._mt1 = _ht["defaultListener"]; _Xp1._nt1 = _ht["ContactManager"]; _Xp1._ot1 = _ht["VelocityConstraintPoint"]; _Xp1._pt1 = _ht["ContactPositionConstraint"]; _Xp1._qt1 = _ht["ContactVelocityConstraint"]; _Xp1._rt1 = _ht["PositionSolverManifold"]; _Xp1._st1 = _ht["ContactSolverDef"]; _Xp1._tt1 = _ht["ContactSolver"]; _Xp1._ut1 = _ht["Island"]; _Xp1._vt1 = _ht["Jacobian"]; _Xp1._wt1 = _ht["JointEdge"]; _Xp1._xt1 = _ht["JointDef"]; _Xp1._yt1 = _ht["Joint"]; _Xp1._zt1 = _ht["RevoluteJointDef"]; _Xp1._Gq1 = _ht["RevoluteJoint"]; _Xp1._At1 = _ht["MouseJointDef"]; _Xp1._Bt1 = _ht["MouseJoint"]; _Xp1._Ct1 = _ht["DistanceJointDef"]; _Xp1._hr1 = _ht["DistanceJoint"]; _Xp1._Dt1 = _ht["PrismaticJointDef"]; _Xp1._Hq1 = _ht["PrismaticJoint"]; _Xp1._Et1 = _ht["FrictionJointDef"]; _Xp1._Ft1 = _ht["FrictionJoint"]; _Xp1._Gt1 = _ht["WeldJointDef"]; _Xp1._Ht1 = _ht["WeldJoint"]; _Xp1._It1 = _ht["WheelJointDef"]; _Xp1._Iq1 = _ht["WheelJoint"]; _Xp1._Jt1 = _ht["GearJointDef"]; _Xp1._lr1 = _ht["GearJoint"]; _Xp1._Kt1 = _ht["MotorJointDef"]; _Xp1._Lt1 = _ht["MotorJoint"]; _Xp1._Mt1 = _ht["PulleyJointDef"]; _Xp1._jr1 = _ht["PulleyJoint"]; _Xp1._Nt1 = _ht["RopeJointDef"]; _Xp1._Ot1 = _ht["RopeJoint"]; _Xp1._Pt1 = _ht["RopeDef"]; _Xp1._Qt1 = _ht["Rope"]; _Xp1._Rt1 = _ht["maxManifoldPoints"]; _Xp1._St1 = _ht["maxPolygonVertices"]; _Xp1._Tt1 = _ht["aabbExtension"]; _Xp1._Ut1 = _ht["aabbMultiplier"]; _Xp1._Vt1 = _ht["linearSlop"]; _Xp1._Wt1 = _ht["angularSlop"]; _Xp1._Xt1 = _ht["polygonRadius"]; _Xp1._Yt1 = _ht["maxSubSteps"]; _Xp1._Zt1 = _ht["maxTOIContacts"]; _Xp1.__t1 = _ht["velocityThreshold"]; _Xp1._0u1 = _ht["maxLinearCorrection"]; _Xp1._1u1 = _ht["maxAngularCorrection"]; _Xp1._2u1 = _ht["maxTranslation"]; _Xp1._3u1 = _ht["maxTranslationSquared"]; _Xp1._4u1 = _ht["maxRotation"]; _Xp1._5u1 = _ht["maxRotationSquared"]; _Xp1._6u1 = _ht["baumgarte"]; _Xp1._7u1 = _ht["toiBaugarte"]; _Xp1._8u1 = _ht["timeToSleep"]; _Xp1._9u1 = _ht["linearSleepTolerance"]; _Xp1._au1 = _ht["angularSleepTolerance"]; _Xp1._bu1 = _ht["epsilon"]; _Xp1._cu1 = _ht["JsonSerializer"]; _Xp1._du1 = _ht["RUBELoader"]; _Xp1._eu1 = _ht["Profiler"]; _Xp1._fu1 = _ht["ParticleDef"]; _Xp1._gu1 = _ht["ParticleColor"]; _Xp1._hu1 = _ht["ParticleGroupDef"]; _Xp1._iu1 = _ht["ParticleGroup"]; _Xp1._ju1 = _ht["ParticleSystem"] } } function _ku1(_lu1) { var _j81 = new _Xp1._ms1(); _lu1._i81(_j81); this._mu1 = _lu1._DZ(); this._nu1 = _lu1._FZ(); this._ou1 = []; this._pu1 = []; this._ou1[0] = _lu1._h81(); this._pu1[0] = _j81 }; function _qu1(_ru1, _su1, _tu1) { this._uu1 = _ru1; this._H_ = _su1; this._I_ = _tu1 }; function _vu1(_wu1, _xu1) { _Gr1(); if (_Xp1 === null) { _Xp1 = window["b2"] } this._lD = _wu1; this._yu1 = _xu1; this._zu1 = _xr1; this._WY = []; this._Au1 = []; this._Bu1 = new _Xp1._hu1(); this._j11 = null; this._Cu1 = !1; this._Du1 = []; for (var _H3 = 0; _H3 < _yr1; _H3++) { this._Du1[_H3] = new _qu1( - 1, 0, 0) } var _N01 = new _Xp1._Yp1(0, 10); this._SY = new _Xp1._8t1(_N01); this._Eu1(); this._Fu1(); this._WO = _sa ? this._Gu1: this._Hu1; this._Iu1 = _sa ? this._Ju1: this._Ku1; }; _vu1.prototype._Eu1 = function() { var _Jb = document.getElementById("canvas").getContext("2d"); if (_Jb) { this._j11 = new _Xp1._6b(); this._j11._EO(_Xp1._6b._ZO | _Xp1._6b.__O); this._j11._Np1 = this; this._j11._KO = _Mp1; this._j11._MO = _Qp1; this._j11._NO = _Sp1; this._j11._QO = _Tp1; this._j11._SO = _Up1; this._j11._VO = _Vp1; this._j11._WO = _0q1; this._SY._i11(this._j11) } }; _vu1.prototype._Fu1 = function() { var _Lu1 = new _Xp1._3t1(); _Lu1._Mu1 = this; _Lu1._n01 = function(_BZ) { if (_BZ._DZ()._W_() || _BZ._FZ()._W_()) { this._Mu1._Nu1(_BZ) } }; _Lu1._p01 = function(_BZ, _q01) {}; _Lu1._o01 = function(_BZ) {}; _Lu1._r01 = function(_BZ, _Ou1) { this._Mu1._Nu1(_BZ) }; this._SY._g11(_Lu1) }; _vu1.prototype._Nu1 = function(_lu1) { for (var _C9 = 0; _C9 < this._WY.length; _C9++) { var _Pu1 = this._WY[_C9]; if ((_Pu1._mu1 == _lu1._DZ() && _Pu1._nu1 == _lu1._FZ()) || (_Pu1._mu1 == _lu1._FZ() && _Pu1._nu1 == _lu1._DZ())) { var _j81 = new _Xp1._ms1(); _lu1._i81(_j81); _Pu1._ou1[_Pu1._ou1.length] = _lu1._h81(); _Pu1._pu1[_Pu1._pu1.length] = _j81; return } } this._WY[this._WY.length] = new _ku1(_lu1) }; _vu1.prototype._621 = function(_Qu1, _Ru1) { this._SY._Z01._f3 = _Qu1; this._SY._Z01._g3 = _Ru1; if ((_Qu1 != 0.0) || (_Ru1 != 0.0)) { var _Su1 = this._SY._U11(); while ((_Su1 != null) && (_Su1 != undefined)) { if (_Su1._jP() === _Xp1._Ys1._6Z) { _Su1._gD(!0) } _Su1 = _Su1._y_() } } }; _vu1.prototype._Tu1 = function() { var _3i = _H8._Fy._3i; for (var index = 0; index < _3i.length; index++) { var _Ay = _3i[index]; if (_Ay._Uu1 >= 0) { var _Vu1 = _Ay._Wu1; if (_Vu1 !== null && _Vu1 !== undefined) { var _Su1 = _Vu1._Mq1; if (_Su1._jP() !== _Xp1._Ys1._6Z) { if (_Ay._Xu1()) { _Ay._g9(_Yu1, 0, _Ay, _Ay) } _Su1._IZ(new _Xp1._Yp1(_Ay._f3 * this._lD, _Ay._g3 * this._lD), _Su1._KN()) } } else { if (_Ay._Xu1()) { _Ay._g9(_Yu1, 0, _Ay, _Ay) } } } } }; _vu1.prototype._Zu1 = function() { var __u1 = 1.0 / this._lD; var _Su1 = this._SY._U11(); while ((_Su1 != null) && (_Su1 != undefined)) { var _Ay = _Su1._mR(); if ((_Ay != null) && (_Ay != undefined)) { _Ay._0v1(_Su1); var _Hn = _Su1._JC(); _Ay._1v1 = _Hn._f3 * __u1; _Ay._2v1 = _Hn._g3 * __u1 } _Su1 = _Su1._y_() } }; _vu1.prototype._Ag = function(_3v1) { if (_3v1 <= 0) { return } this._Tu1(); if (this._Cu1 == !0) { return } this._Zu1(); var _4v1 = 1.0 / this._yu1; var _5v1 = this._yu1 / _3v1; var _6v1 = _5v1; while (_6v1 > 0.0) { var _7v1 = (_6v1 > 1.0) ? _4v1: (_4v1 * _6v1); this._SY._A11(_7v1, this._zu1, this._zu1); _6v1 -= 1.0 } this._SY._E11(); this._8v1(); this._9v1() }; _vu1.prototype._8v1 = function() { var __u1 = 1.0 / this._lD; var _Su1 = this._SY._U11(); while ((_Su1 != null) && (_Su1 != undefined)) { var _Ay = _Su1._mR(); if ((_Ay != null) && (_Ay != undefined)) { _Ay._0v1(_Su1) } _Su1 = _Su1._y_() } }; _vu1.prototype._9v1 = function() { var __u1 = 1.0 / this._lD; for (var _H3 = 0; _H3 < this._WY.length; _H3++) { if (this._WY[_H3]._mu1 && this._WY[_H3]._nu1 && this._WY[_H3]._mu1._001() && this._WY[_H3]._nu1._001()) { var _av1 = this._WY[_H3]._mu1._001()._mR(); var _bv1 = this._WY[_H3]._nu1._001()._mR(); _av1._cv1 = 0; _av1._dv1 = []; _av1._ev1 = []; _av1._fv1 = []; _av1._gv1 = []; _bv1._cv1 = 0; _bv1._dv1 = []; _bv1._ev1 = []; _bv1._fv1 = []; _bv1._gv1 = []; var _hv1 = 0; for (var _iv1 = 0; _iv1 < this._WY[_H3]._ou1.length; _iv1++) { var _j81 = this._WY[_H3]._pu1[_iv1]; for (var __9 in _j81._e3) { if (!_j81._e3.hasOwnProperty(__9)) continue; _av1._dv1[_hv1] = _j81._e3[__9]._f3 * __u1; _av1._ev1[_hv1] = _j81._e3[__9]._g3 * __u1; _av1._fv1[_hv1] = _j81._vP._f3; _av1._gv1[_hv1] = _j81._vP._g3; _bv1._dv1[_hv1] = _j81._e3[__9]._f3 * __u1; _bv1._ev1[_hv1] = _j81._e3[__9]._g3 * __u1; _bv1._fv1[_hv1] = _j81._vP._f3; _bv1._gv1[_hv1] = _j81._vP._g3; _av1._cv1++; _bv1._cv1++; _hv1++ } } _av1._g9(_jv1, _bv1._kv1, _av1, _bv1); _bv1._g9(_jv1, _av1._kv1, _bv1, _av1); _av1._cv1 = 0; _av1._dv1 = undefined; _av1._ev1 = undefined; _av1._fv1 = undefined; _av1._gv1 = undefined; _bv1._cv1 = 0; _bv1._dv1 = undefined; _bv1._ev1 = undefined; _bv1._fv1 = undefined; _bv1._gv1 = undefined } } this._WY = [] }; _vu1.prototype._yD = function(_ur1, _lv1, _tD, _uD) { var _vD = -1; if (!_ur1._aq1()) { return } var _mv1 = this._nv1(_lv1._kv1); if (_mv1 != -1) { _ur1._5q1._K_._H_ = this._Du1[_mv1]._H_; _ur1._5q1._K_._I_ = this._Du1[_mv1]._I_ } else { _ur1._5q1._K_._H_ = 0; _ur1._5q1._K_._I_ = 0 } var _ov1 = _lv1._Wu1; if (_lv1._Wu1) { var _Su1 = _ov1._Mq1; var _TC = _Su1._jZ(_ur1._5q1); _vD = _ov1._tr1(_TC) } else { var _pv1 = new _Xp1._Xs1(); _pv1.type = (_ur1._5q1._sP == 0) ? (_ur1._2q1 ? _Xp1._Ys1._eZ: _Xp1._Ys1._yY) : _Xp1._Ys1._6Z; _pv1._0b = -_lv1._qv1 * _Y9 / 180.0; _pv1._BY = _ur1._0Z; _pv1._CY = _ur1._1Z; _pv1._EY = _ur1._3q1; var _rv1 = _lv1._sv1(_pv1._0b, { _f3: _tD, _g3: _uD }); _pv1.position._f3 = (_lv1._f3 - _rv1._f3) * this._lD; _pv1.position._g3 = (_lv1._g3 - _rv1._g3) * this._lD; _pv1._dR = _lv1; var _Su1 = this._SY._yD(_pv1); var _TC = _Su1._jZ(_ur1._5q1); _ov1 = new _Jq1(_Su1, _mv1, _tD, _uD); _lv1._Wu1 = _ov1; _lv1._0v1(_Su1); _vD = _ov1._tr1(_TC); this._tv1() } return _vD }; _vu1.prototype._k11 = function(_uv1) { this._SY._k11(_uv1._Mq1) }; _vu1.prototype._n11 = function(_vv1) { this._SY._n11(_vv1._Eq1) }; _vu1.prototype._wv1 = function(_ru1) { for (var _C9 = 0; _C9 < _yr1; _C9++) { if (this._Du1[_C9]._uu1 == _ru1) { return _C9 } } return - 1 }; _vu1.prototype._xv1 = function(_ru1) { var _yv1 = this._wv1(_ru1); if (_yv1 != -1) { return _yv1 } for (var _C9 = 0; _C9 < _yr1; _C9++) { if (this._Du1[_C9]._uu1 == -1) { this._Du1[_C9]._uu1 = _ru1; this._Du1[_C9]._H_ = (1 << _C9); this._Du1[_C9]._I_ = 0; return _C9 } } return - 1 }; _vu1.prototype._zv1 = function(_ru1) { var _Av1 = []; for (var _Bv1 in _Cv1) { if (!_Cv1.hasOwnProperty(_Bv1)) continue; for (var _u81 in _Cv1[_Bv1]) { if (!_Cv1[_Bv1].hasOwnProperty(_u81)) continue; var _Dv1 = -1; if (_Bv1 == _ru1) { _Dv1 = _u81 } else if (_u81 == _ru1) { _Dv1 = _Bv1 } if (_Dv1 !== -1) { _Av1[_Av1.length] = _Dv1 } } } return _Av1 }; _vu1.prototype._Ev1 = function(_7i, _Fv1) { for (var _4s in _Ys._Gv1) { if (!_Ys._Gv1.hasOwnProperty(_4s)) continue; var _Hv1 = _Ys._Gv1[_4s]; if (_Hv1._Yy === _7i.__y) { if (this._zv1(_Hv1.__y).length !== 0) { _Fv1[_Fv1.length] = _Hv1.__y } this._Ev1(_Hv1, _Fv1) } } }; _vu1.prototype._Iv1 = function(_ru1) { var _Av1 = this._zv1(_ru1); var _Jv1 = _ru1; var _Kv1 = _Ys._Gh(_ru1); while ((_Kv1._Yy >= 0) && _Ys._Gh(_Kv1._Yy)) { _Kv1 = _Ys._Gh(_Kv1._Yy); _Av1 = _Av1.concat(this._zv1(_Kv1.__y)) } for (var _C9 = 0; _C9 < _Av1.length; _C9++) { var _Lv1 = _Av1[_C9]; var _4s = _Ys._Gh(_Lv1); this._Ev1(_4s, _Av1) } return _Av1; }; _vu1.prototype._Mv1 = function(_ru1, _Lq1) { var _Av1 = this._Iv1(_ru1); for (var _Nv1 = 0; _Nv1 < _Av1.length; ++_Nv1) { for (var _Ov1 = 0; _Ov1 < _yr1; ++_Ov1) { if (this._Du1[_Ov1]._uu1 == _Av1[_Nv1]) { this._Du1[_Lq1]._I_ |= this._Du1[_Ov1]._H_; this._Du1[_Ov1]._I_ |= this._Du1[_Lq1]._H_ } } } }; _vu1.prototype._nv1 = function(_ru1) { var _mv1 = this._wv1(_ru1); if (_mv1 !== -1) { return _mv1 } var _Av1 = this._zv1(_ru1); var _uu1 = _ru1; if (_Av1.length === 0) { var _Jv1 = _ru1; var _Kv1 = _Ys._Gh(_ru1); while ((_Kv1._Yy >= 0) && _Ys._Gh(_Kv1._Yy)) { _Kv1 = _Ys._Gh(_Kv1._Yy); _uu1 = _Kv1.__y; _Av1 = this._zv1(_uu1); if (_Av1.length !== 0) { _mv1 = this._wv1(_uu1); break } } if (_Av1.length === 0) { return - 1 } } if (_mv1 === -1) { _mv1 = this._xv1(_uu1); if (_mv1 === -1) { return - 1 } } this._Mv1(_ru1, _mv1); return _mv1 }; _vu1.prototype._tv1 = function() { var _Su1 = this._SY._U11(); while ((_Su1 != null) && (_Su1 != undefined)) { var _Ay = _Su1._mR(); if ((_Ay != null) && (_Ay != undefined)) { var _Pv1 = _Ay._Wu1._Nq1; if (_Pv1 != -1) { var _Qv1 = new _Xp1._Zs1(); _Qv1._H_ = this._Du1[_Pv1]._H_; _Qv1._I_ = this._Du1[_Pv1]._I_; var _TC = _Su1._v_(); while ((_TC != null) && (_TC != undefined)) { _Qv1._J_ = _TC._Z_()._J_; _TC._X_(_Qv1); _TC = _TC._YY } } } _Su1 = _Su1._y_() } }; _vu1.prototype._nR = function(_Ti, _xj, _V8, _W8, _Z8) { var _Rv1 = new _Xp1._Lr1(); _Rv1._gi(new _Xp1._Yp1(_V8, _W8), _Z8); if ((_Ti._Wu1 === null) || (_Ti._Wu1 === undefined) || (_xj._Wu1 === null) || (_xj._Wu1 === undefined)) { return } var _Sv1 = _Ti._Wu1._Mq1; var _Tv1 = _xj._Wu1._Mq1; var _Uv1; for (_Uv1 = _Sv1._v_(); _Uv1; _Uv1 = _Uv1._y_()) { var _Vv1; for (_Vv1 = _Tv1._v_(); _Vv1; _Vv1 = _Uv1._y_()) { if (_Xp1._Es1(_Uv1._U_(), 0, _Vv1._U_(), 0, _Rv1, _Tv1._VN())) { return ! 0 } } } return ! 1; }; _vu1.prototype._531 = function(_Wv1, _V8, _W8, _Xv1, _Yv1, _Sd, _Gd, _Zv1) { var _kZ = new _Xp1._fu1(); _kZ._ZJ = _Wv1; _kZ.position._gi(_V8 * this._lD, _W8 * this._lD); _kZ._n41._gi(_Xv1 * this._lD, _Yv1 * this._lD); _kZ._bb._gi((_Sd & 0xff), (_Sd & 0xff00) >> 8, (_Sd & 0xff0000) >> 16, (_Gd * 255.0)); _kZ._dR = _Zv1; return this._SY._531(_kZ) }; _vu1.prototype.__v1 = function() { for (var _C9 = 0; _C9 < this._Au1.length; _C9++) { var _d01 = this._Au1[_C9]; if (_d01 === null || _d01 === undefined) { return _C9 } } var _gb = this._Au1.length; return _gb }; _vu1.prototype._0w1 = function(_1w1) { if (_1w1 >= 0 && _1w1 < this._Au1.length) { return this._Au1[_1w1] } return null }; _vu1.prototype._a31 = function(_2w1, _3w1) { var _4w1 = this._0w1(_2w1); var _5w1 = this._0w1(_3w1); if ((_4w1 !== null) && (_5w1 !== null)) { this._SY._a31(_4w1, _5w1); this._Au1[_3w1] = null } }; _vu1.prototype._6w1 = function(_zH, _7w1, _8w1, _9w1) { var _Ea = this._SY._A31(); if (_8w1 < 0 || _8w1 >= _Ea) return; if (_9w1 < _8w1) return; if (_9w1 > _Ea) return; var _ZJ = this._SY._e31(); var _G01 = this._SY._f31(); var _H01 = this._SY._g31(); var _aw1 = this._SY._h31(); var _dR = this._SY._i31(); var _bw1 = _zH._cw1; var _dw1 = 1.0 / this._lD; for (var _C9 = _8w1; _C9 < _9w1; _C9++) { if (_7w1 & (1 << 0)) { _zH._ew1(_fw1, _ZJ[_C9]) } if (_7w1 & (1 << 1)) { _zH._ew1(_gw1, _G01[_C9]._f3 * _dw1); _zH._ew1(_gw1, _G01[_C9]._g3 * _dw1) } if (_7w1 & (1 << 2)) { _zH._ew1(_gw1, _H01[_C9]._f3 * _dw1); _zH._ew1(_gw1, _H01[_C9]._g3 * _dw1) } if (_7w1 & (1 << 3)) { _zH._ew1(_fw1, (_aw1[_C9]._kb << 24) | (_aw1[_C9]._T9 << 16) | (_aw1[_C9]._jb << 8) | _aw1[_C9]._W9) } if (_7w1 & (1 << 4)) { _zH._ew1(_hw1, _dR[_C9]); } } _zH._iw1(_jw1, _bw1) }; _vu1.prototype._R41 = function(_1w1, _Wv1) { var _d01 = this._0w1(_1w1); if (_d01 !== null && _d01 !== undefined) { _d01._R41(_Wv1) } }; _vu1.prototype._Q41 = function(_1w1) { var _d01 = this._0w1(_1w1); if (_d01 !== null && _d01 !== undefined) { return _d01._Q41() } return 0 }; _vu1.prototype._Hu1 = function(_kw1, _Zv1, _N9, _lw1) { var _Ea = this._SY._A31(); var _ZJ = this._SY._e31(); var _G01 = this._SY._f31(); var _aw1 = this._SY._h31(); var _dR = this._SY._i31(); var _dw1 = 1.0 / this._lD; for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { var _1b = (_aw1[_C9]._W9 & 0xff) | ((_aw1[_C9]._jb << 8) & 0xff00) | ((_aw1[_C9]._T9 << 16) & 0xff0000); _N9._6b(_C9, _G01[_C9]._f3 * _dw1, _G01[_C9]._g3 * _dw1, 1.0, 1.0, 0, _1b, _aw1[_C9]._kb / 255.0) } } }; _vu1.prototype._Ku1 = function(_kw1, _Zv1, _N9, _lw1, __l, _0m, _Z8, _Sd, _Gd) { var _Ea = this._SY._A31(); var _ZJ = this._SY._e31(); var _G01 = this._SY._f31(); var _dR = this._SY._i31(); var _dw1 = 1.0 / this._lD; for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { _N9._6b(_C9, _G01[_C9]._f3 * _dw1, _G01[_C9]._g3 * _dw1, __l, _0m, _Z8, _Sd, _Gd) } } }; _vu1.prototype._Gu1 = function(_kw1, _Zv1, _N9, _lw1) { var _Kj = _N9._VF[_lw1 % _N9._mw1()]; if (!_Kj) { return } if (!_Kj._Ga.complete) { return } if (!_Kj._Ga.__b) { _0c(_Kj) } var _Ea = this._SY._A31(); var _ZJ = this._SY._e31(); var _G01 = this._SY._f31(); var _aw1 = this._SY._h31(); var _dR = this._SY._i31(); var _dw1 = 1.0 / this._lD; var _nw1 = 0; for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { _nw1++ } } if (_nw1 === 0) { return } var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _nw1 * 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _nw1 * 6; var _ac = _2c._bc; var _cc = _2c._dc; var _ec = _2c._fc; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; var _G9 = -(_N9._23 - _Kj._s5); var _H9 = -(_N9._33 - _Kj._t5); var _I9 = _G9 + _Kj._u5; var _J9 = _H9 + _Kj._v5; var _ow1 = 0; for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { var _f3 = _G01[_C9]._f3 * _dw1; var _g3 = _G01[_C9]._g3 * _dw1; _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _f3 + _G9; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _g3 + _H9; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _I9; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _g3 + _J9; var _1b = (_aw1[_C9]._W9 & 0xff) | ((_aw1[_C9]._jb << 8) & 0xff00) | ((_aw1[_C9]._T9 << 16) & 0xff0000) | ((_aw1[_C9]._kb << 24) & 0xff000000); _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b; _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _Kj._f3 / _Kj._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _Kj._g3 / _Kj._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_Kj._f3 + _Kj._J3) / _Kj._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_Kj._g3 + _Kj._K3) / _Kj._Ga.height; var _pw1 = _7c * 6; _gc += _pw1; _hc += _pw1; _ic += _pw1; _jc += _pw1; _kc += _pw1; _lc += _pw1 } } }; _vu1.prototype._Ju1 = function(_kw1, _Zv1, _N9, _lw1, __l, _0m, _Z8, _Sd, _Gd) { _Z8 = (_Z8 * Math.PI) / 180.0; var _Kj = _N9._VF[_lw1 % _N9._mw1()]; if (!_Kj) { return } if (!_Kj._Ga.complete) { return } if (!_Kj._Ga.__b) { _0c(_Kj) } var _Ea = this._SY._A31(); var _ZJ = this._SY._e31(); var _G01 = this._SY._f31(); var _dR = this._SY._i31(); var _dw1 = 1.0 / this._lD; var _nw1 = 0; for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { _nw1++ } } if (_nw1 === 0) { return } var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _nw1 * 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _nw1 * 6; var _ac = _2c._bc; var _cc = _2c._dc; var _ec = _2c._fc; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; var _1b = _Sd | (((_Gd * 255) & 0xff) << 24); var _G9 = -__l * (_N9._23 - _Kj._s5); var _H9 = -_0m * (_N9._33 - _Kj._t5); var _I9 = _G9 + (__l * _Kj._u5); var _J9 = _H9 + (_0m * _Kj._v5); var _ow1 = 0; if (Math.abs(_Z8) < 0.0001) { for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { var _f3 = _G01[_C9]._f3 * _dw1; var _g3 = _G01[_C9]._g3 * _dw1; _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _f3 + _G9; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _g3 + _H9; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _I9; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _g3 + _J9; _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b; _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _Kj._f3 / _Kj._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _Kj._g3 / _Kj._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_Kj._f3 + _Kj._J3) / _Kj._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_Kj._g3 + _Kj._K3) / _Kj._Ga.height; var _pw1 = _7c * 6; _gc += _pw1; _hc += _pw1; _ic += _pw1; _jc += _pw1; _kc += _pw1; _lc += _pw1 } } } else { var _la = Math.sin(_Z8); var _ma = Math.cos(_Z8); var _qw1 = _G9 * _ma; var _rw1 = _I9 * _ma; var _sw1 = _H9 * _ma; var _tw1 = _J9 * _ma; var _uw1 = _G9 * _la; var _vw1 = _I9 * _la; var _ww1 = _H9 * _la; var _xw1 = _J9 * _la; for (var _C9 = 0; _C9 < _Ea; _C9++) { if (((_ZJ[_C9] === 0) || ((_ZJ[_C9] & _kw1) !== 0)) && ((_Zv1 === 0) || (_Zv1 === _dR[_C9]))) { var _f3 = _G01[_C9]._f3 * _dw1; var _g3 = _G01[_C9]._g3 * _dw1; _ac[_gc + 0] = _ac[_lc + 0] = _f3 + _qw1 + _ww1; _ac[_gc + 1] = _ac[_lc + 1] = _g3 - _uw1 + _sw1; _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _rw1 + _xw1; _ac[_ic + 1] = _ac[_jc + 1] = _g3 - _vw1 + _tw1; _ac[_hc + 1] = _g3 - _vw1 + _sw1; _ac[_hc + 0] = _f3 + _rw1 + _ww1; _ac[_kc + 0] = _f3 + _qw1 + _xw1; _ac[_kc + 1] = _g3 - _uw1 + _tw1; _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b; _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _Kj._f3 / _Kj._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _Kj._g3 / _Kj._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_Kj._f3 + _Kj._J3) / _Kj._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_Kj._g3 + _Kj._K3) / _Kj._Ga.height; var _pw1 = _7c * 6; _gc += _pw1; _hc += _pw1; _ic += _pw1; _jc += _pw1; _kc += _pw1; _lc += _pw1 } } } }; _vu1.prototype._A31 = function() { return this._SY._A31() }; _vu1.prototype._V21 = function() { return this._SY._V21(); }; _vu1.prototype._431 = function() { return this._SY._431() * (1.0 / this._lD) }; _vu1.prototype._Y21 = function() { return this._SY._Y21() }; _vu1.prototype._231 = function() { return this._SY._231() }; _vu1.prototype.__21 = function() { return this._SY.__21() }; _vu1.prototype._W21 = function(_yw1) { this._SY._W21(_yw1) }; _vu1.prototype._331 = function(_7q1) { this._SY._331(_7q1 * this._lD) }; _vu1.prototype._X21 = function(_WC) { this._SY._X21(_WC) }; _vu1.prototype._031 = function(_aD) { this._SY._031(_aD) }; _vu1.prototype._Z21 = function(_ar1) { this._SY._Z21(_ar1); }; var _x8 = {}; _x8._zw1 = function(name, parent) { this.name = name; this.parent = parent }; _x8._zw1.prototype = { length: 0, _f3: 0, _g3: 0, _i5: 0, _E3: 1, _F3: 1, _Aw1: !0, _Bw1: !0 }; _x8._Cw1 = function(name, _Dw1) { this.name = name; this._Dw1 = _Dw1 }; _x8._Cw1.prototype = { _T9: 1, _jb: 1, _W9: 1, _kb: 1, _Ew1: null, _Fw1: !1 }; _x8._2b = function(_Dw1, parent) { this.data = _Dw1; this.parent = parent; this._Gw1() }; _x8._2b._3b = !1; _x8._2b.prototype = { _f3: 0, _g3: 0, _i5: 0, _E3: 1, _F3: 1, _Hw1: 0, _Iw1: 0, _Jw1: 0, _Kw1: 0, _Ub: 0, _Lw1: 0, _Mw1: 0, _Nw1: 1, _Ow1: 1, _49: function(_e9, _f9) { var parent = this.parent; if (parent != null) { this._Jw1 = this._f3 * parent._Hw1 + this._g3 * parent._Iw1 + parent._Jw1; this._Lw1 = this._f3 * parent._Kw1 + this._g3 * parent._Ub + parent._Lw1; if (this.data._Aw1) { this._Nw1 = parent._Nw1 * this._E3; this._Ow1 = parent._Ow1 * this._F3 } else { this._Nw1 = this._E3; this._Ow1 = this._F3 } this._Mw1 = this.data._Bw1 ? parent._Mw1 + this._i5: this._i5 } else { this._Jw1 = _e9 ? -this._f3: this._f3; this._Lw1 = _f9 != _x8._2b._3b ? -this._g3: this._g3; this._Nw1 = this._E3; this._Ow1 = this._F3; this._Mw1 = this._i5; } var _Pw1 = this._Mw1 * Math.PI / 180; var cos = Math.cos(_Pw1); var sin = Math.sin(_Pw1); this._Hw1 = cos * this._Nw1; this._Kw1 = sin * this._Nw1; this._Iw1 = -sin * this._Ow1; this._Ub = cos * this._Ow1; if (_e9) { this._Hw1 = -this._Hw1; this._Iw1 = -this._Iw1 } if (_f9 != _x8._2b._3b) { this._Kw1 = -this._Kw1; this._Ub = -this._Ub } }, _Gw1: function() { var data = this.data; this._f3 = data._f3; this._g3 = data._g3; this._i5 = data._i5; this._E3 = data._E3; this._F3 = data._F3 } }; _x8._Qw1 = function(_Rw1, _09, _tb) { this.data = _Rw1; this._09 = _09; this._tb = _tb; this._Gw1(); }; _x8._Qw1.prototype = { _T9: 1, _jb: 1, _W9: 1, _kb: 1, _Sw1: 0, _ib: null, _Tw1: [], _Uw1: function(_ib) { this._ib = _ib; this._Sw1 = this._09._5j; this._Tw1.length = 0 }, _Vw1: function(_5j) { this._Sw1 = this._09._5j - _5j }, _Ww1: function() { return this._09._5j - this._Sw1 }, _Gw1: function() { var data = this.data; this._T9 = data._T9; this._jb = data._jb; this._W9 = data._W9; this._kb = data._kb; var _Xw1 = this._09.data._fb; for (var _H3 = 0, _C9 = _Xw1.length; _H3 < _C9; _H3++) { if (_Xw1[_H3] == data) { this._Uw1(!data._Ew1 ? null: this._09._Yw1(_H3, data._Ew1)); break } } } }; _x8._Zw1 = function(name) { this.name = name; this.__w1 = {} }; _x8._Zw1.prototype = { _0x1: function(_1x1, name, _ib) { this.__w1[_1x1 + ":" + name] = _ib }, _2x1: function(_1x1, name) { return this.__w1[_1x1 + ":" + name] }, _3x1: function(_09, _4x1) { for (var _pz in _4x1.__w1) { var _5x1 = _pz.indexOf(":"); var _1x1 = parseInt(_pz.substring(0, _5x1)); var name = _pz.substring(_5x1 + 1); var _gb = _09._fb[_1x1]; if (_gb._ib && _gb._ib.name == name) { var _ib = this._2x1(_1x1, name); if (_ib) _gb._Uw1(_ib) } } } }; _x8._6x1 = function(name, _99, duration) { this.name = name; this._99 = _99; this.duration = duration }; _x8._6x1.prototype = { apply: function(_09, _7x1, _5j, loop, _8x1) { if (loop && this.duration != 0) { _5j %= this.duration; _7x1 %= this.duration } var _99 = this._99; for (var _H3 = 0, _C9 = _99.length; _H3 < _C9; _H3++) _99[_H3].apply(_09, _7x1, _5j, _8x1, 1) }, _9x1: function(_09, _7x1, _5j, loop, _8x1, alpha) { if (loop && this.duration != 0) { _5j %= this.duration; _7x1 %= this.duration } var _99 = this._99; for (var _H3 = 0, _C9 = _99.length; _H3 < _C9; _H3++) _99[_H3].apply(_09, _7x1, _5j, _8x1, alpha) } }; _x8._ax1 = function(_bx1, target, _ML) { var _si = 0; var _ri = Math.floor(_bx1.length / _ML) - 2; if (_ri == 0) return _ML; var current = _ri >>> 1; while (!0) { if (_bx1[(current + 1) * _ML] <= target) _si = current + 1; else _ri = current; if (_si == _ri) return (_si + 1) * _ML; current = (_si + _ri) >>> 1 } }; _x8._cx1 = function(_bx1, target, _ML) { for (var _H3 = 0, _A3 = _bx1.length - _ML; _H3 <= _A3; _H3 += _ML) if (_bx1[_H3] > target) return _H3; return - 1 }; _x8._dx1 = function(_59) { this._ex1 = []; this._ex1.length = (_59 - 1) * 6 }; _x8._dx1.prototype = { _fx1: function(_gx1) { this._ex1[_gx1 * 6] = 0 }, _hx1: function(_gx1) { this._ex1[_gx1 * 6] = -1 }, _ix1: function(_gx1, _jx1, _kx1, _lx1, _mx1) { var _nx1 = 1 / 10; var _ox1 = _nx1 * _nx1; var _px1 = _ox1 * _nx1; var _qx1 = 3 * _nx1; var _rx1 = 3 * _ox1; var _sx1 = 6 * _ox1; var _tx1 = 6 * _px1; var _ux1 = -_jx1 * 2 + _lx1; var _vx1 = -_kx1 * 2 + _mx1; var _wx1 = (_jx1 - _lx1) * 3 + 1; var _xx1 = (_kx1 - _mx1) * 3 + 1; var _H3 = _gx1 * 6; var _ex1 = this._ex1; _ex1[_H3] = _jx1 * _qx1 + _ux1 * _rx1 + _wx1 * _px1; _ex1[_H3 + 1] = _kx1 * _qx1 + _vx1 * _rx1 + _xx1 * _px1; _ex1[_H3 + 2] = _ux1 * _sx1 + _wx1 * _tx1; _ex1[_H3 + 3] = _vx1 * _sx1 + _xx1 * _tx1; _ex1[_H3 + 4] = _wx1 * _tx1; _ex1[_H3 + 5] = _xx1 * _tx1 }, _yx1: function(_gx1, _zx1) { _zx1 = _zx1 < 0 ? 0 : (_zx1 > 1 ? 1 : _zx1); var _Ax1 = _gx1 * 6; var _ex1 = this._ex1; var _Bx1 = _ex1[_Ax1]; if (!_Bx1) return _zx1; if (_Bx1 == -1) return 0; var _Cx1 = _ex1[_Ax1 + 1]; var _Dx1 = _ex1[_Ax1 + 2]; var _Ex1 = _ex1[_Ax1 + 3]; var _Fx1 = _ex1[_Ax1 + 4]; var _Gx1 = _ex1[_Ax1 + 5]; var _f3 = _Bx1, _g3 = _Cx1; var _H3 = 10 - 2; while (!0) { if (_f3 >= _zx1) { var _Hx1 = _f3 - _Bx1; var _Ix1 = _g3 - _Cx1; return _Ix1 + (_g3 - _Ix1) * (_zx1 - _Hx1) / (_f3 - _Hx1) } if (_H3 == 0) break; _H3--; _Bx1 += _Dx1; _Cx1 += _Ex1; _Dx1 += _Fx1; _Ex1 += _Gx1; _f3 += _Bx1; _g3 += _Cx1 } return _g3 + (1 - _g3) * (_zx1 - _f3) / (1 - _f3) } }; _x8._Jx1 = function(_59) { this._ex1 = new _x8._dx1(_59); this.frames = []; this.frames.length = _59 * 2 }; _x8._Jx1.prototype = { _Kx1: 0, _Lx1: function() { return this.frames.length / 2; }, _Mx1: function(_gx1, _5j, _0b) { _gx1 *= 2; this.frames[_gx1] = _5j; this.frames[_gx1 + 1] = _0b }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var frames = this.frames; if (_5j < frames[0]) return; var _tb = _09._Ox1[this._Kx1]; if (_5j >= frames[frames.length - 2]) { var _Px1 = _tb.data._i5 + frames[frames.length - 1] - _tb._i5; while (_Px1 > 180) _Px1 -= 360; while (_Px1 < -180) _Px1 += 360; _tb._i5 += _Px1 * alpha; return } var _gx1 = _x8._ax1(frames, _5j, 2); var _Qx1 = frames[_gx1 - 1]; var _Rx1 = frames[_gx1]; var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 - 2] - _Rx1); _zx1 = this._ex1._yx1(_gx1 / 2 - 1, _zx1); var _Px1 = frames[_gx1 + 1] - _Qx1; while (_Px1 > 180) _Px1 -= 360; while (_Px1 < -180) _Px1 += 360; _Px1 = _tb.data._i5 + (_Qx1 + _Px1 * _zx1) - _tb._i5; while (_Px1 > 180) _Px1 -= 360; while (_Px1 < -180) _Px1 += 360; _tb._i5 += _Px1 * alpha } }; _x8._Sx1 = function(_59) { this._ex1 = new _x8._dx1(_59); this.frames = []; this.frames.length = _59 * 3 }; _x8._Sx1.prototype = { _Kx1: 0, _Lx1: function() { return this.frames.length / 3 }, _Mx1: function(_gx1, _5j, _f3, _g3) { _gx1 *= 3; this.frames[_gx1] = _5j; this.frames[_gx1 + 1] = _f3; this.frames[_gx1 + 2] = _g3 }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var frames = this.frames; if (_5j < frames[0]) return; var _tb = _09._Ox1[this._Kx1]; if (_5j >= frames[frames.length - 3]) { _tb._f3 += (_tb.data._f3 + frames[frames.length - 2] - _tb._f3) * alpha; _tb._g3 += (_tb.data._g3 + frames[frames.length - 1] - _tb._g3) * alpha; return } var _gx1 = _x8._ax1(frames, _5j, 3); var _Tx1 = frames[_gx1 - 2]; var _Ux1 = frames[_gx1 - 1]; var _Rx1 = frames[_gx1]; var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 + -3] - _Rx1); _zx1 = this._ex1._yx1(_gx1 / 3 - 1, _zx1); _tb._f3 += (_tb.data._f3 + _Tx1 + (frames[_gx1 + 1] - _Tx1) * _zx1 - _tb._f3) * alpha; _tb._g3 += (_tb.data._g3 + _Ux1 + (frames[_gx1 + 2] - _Ux1) * _zx1 - _tb._g3) * alpha; } }; _x8._Vx1 = function(_59) { this._ex1 = new _x8._dx1(_59); this.frames = []; this.frames.length = _59 * 3 }; _x8._Vx1.prototype = { _Kx1: 0, _Lx1: function() { return this.frames.length / 3 }, _Mx1: function(_gx1, _5j, _f3, _g3) { _gx1 *= 3; this.frames[_gx1] = _5j; this.frames[_gx1 + 1] = _f3; this.frames[_gx1 + 2] = _g3 }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var frames = this.frames; if (_5j < frames[0]) return; var _tb = _09._Ox1[this._Kx1]; if (_5j >= frames[frames.length - 3]) { _tb._E3 += (_tb.data._E3 - 1 + frames[frames.length - 2] - _tb._E3) * alpha; _tb._F3 += (_tb.data._F3 - 1 + frames[frames.length - 1] - _tb._F3) * alpha; return } var _gx1 = _x8._ax1(frames, _5j, 3); var _Tx1 = frames[_gx1 - 2]; var _Ux1 = frames[_gx1 - 1]; var _Rx1 = frames[_gx1]; var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 + -3] - _Rx1); _zx1 = this._ex1._yx1(_gx1 / 3 - 1, _zx1); _tb._E3 += (_tb.data._E3 - 1 + _Tx1 + (frames[_gx1 + 1] - _Tx1) * _zx1 - _tb._E3) * alpha; _tb._F3 += (_tb.data._F3 - 1 + _Ux1 + (frames[_gx1 + 2] - _Ux1) * _zx1 - _tb._F3) * alpha } }; _x8._Wx1 = function(_59) { this._ex1 = new _x8._dx1(_59); this.frames = []; this.frames.length = _59 * 5 }; _x8._Wx1.prototype = { _1x1: 0, _Lx1: function() { return this.frames.length / 5; }, _Mx1: function(_gx1, _5j, _T9, _jb, _W9, _kb) { _gx1 *= 5; this.frames[_gx1] = _5j; this.frames[_gx1 + 1] = _T9; this.frames[_gx1 + 2] = _jb; this.frames[_gx1 + 3] = _W9; this.frames[_gx1 + 4] = _kb }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var frames = this.frames; if (_5j < frames[0]) return; var _T9, _jb, _W9, _kb; if (_5j >= frames[frames.length - 5]) { var _H3 = frames.length - 1; _T9 = frames[_H3 - 3]; _jb = frames[_H3 - 2]; _W9 = frames[_H3 - 1]; _kb = frames[_H3] } else { var _gx1 = _x8._ax1(frames, _5j, 5); var _Xx1 = frames[_gx1 - 4]; var _Yx1 = frames[_gx1 - 3]; var _Zx1 = frames[_gx1 - 2]; var __x1 = frames[_gx1 - 1]; var _Rx1 = frames[_gx1]; var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 - 5] - _Rx1); _zx1 = this._ex1._yx1(_gx1 / 5 - 1, _zx1); _T9 = _Xx1 + (frames[_gx1 + 1] - _Xx1) * _zx1; _jb = _Yx1 + (frames[_gx1 + 2] - _Yx1) * _zx1; _W9 = _Zx1 + (frames[_gx1 + 3] - _Zx1) * _zx1; _kb = __x1 + (frames[_gx1 + 4] - __x1) * _zx1 } var _gb = _09._fb[this._1x1]; if (alpha < 1) { _gb._T9 += (_T9 - _gb._T9) * alpha; _gb._jb += (_jb - _gb._jb) * alpha; _gb._W9 += (_W9 - _gb._W9) * alpha; _gb._kb += (_kb - _gb._kb) * alpha } else { _gb._T9 = _T9; _gb._jb = _jb; _gb._W9 = _W9; _gb._kb = _kb } } }; _x8._0y1 = function(_59) { this._ex1 = new _x8._dx1(_59); this.frames = []; this.frames.length = _59; this._1y1 = []; this._1y1.length = _59 }; _x8._0y1.prototype = { _1x1: 0, _Lx1: function() { return this.frames.length }, _Mx1: function(_gx1, _5j, _Ew1) { this.frames[_gx1] = _5j; this._1y1[_gx1] = _Ew1 }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var frames = this.frames; if (_5j < frames[0]) return; var _gx1; if (_5j >= frames[frames.length - 1]) _gx1 = frames.length - 1; else _gx1 = _x8._ax1(frames, _5j, 1) - 1; var _Ew1 = this._1y1[_gx1]; _09._fb[this._1x1]._Uw1(!_Ew1 ? null: _09._Yw1(this._1x1, _Ew1)) } }; _x8._2y1 = function(_59) { this.frames = []; this.frames.length = _59; this._8x1 = []; this._8x1.length = _59 }; _x8._2y1.prototype = { _Lx1: function() { return this.frames.length }, _Mx1: function(_gx1, _5j, event) { this.frames[_gx1] = _5j; this._8x1[_gx1] = event }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { if (!_Nx1) return; var frames = this.frames; var _59 = frames.length; if (_7x1 > _5j) { this.apply(_09, _7x1, Number.MAX_VALUE, _Nx1, alpha); _7x1 = -1 } else if (_7x1 >= frames[_59 - 1]) return; if (_5j < frames[0]) return; var _gx1; if (_7x1 < frames[0]) _gx1 = 0; else { _gx1 = _x8._ax1(frames, _7x1, 1); var _k9 = frames[_gx1]; while (_gx1 > 0) { if (frames[_gx1 - 1] != _k9) break; _gx1-- } } var _8x1 = this._8x1; for (; _gx1 < _59 && _5j >= frames[_gx1]; _gx1++) _Nx1.push(_8x1[_gx1]) } }; _x8._3y1 = function(_59) { this.frames = []; this.frames.length = _59; this._4y1 = []; this._4y1.length = _59 }; _x8._3y1.prototype = { _Lx1: function() { return this.frames.length }, _Mx1: function(_gx1, _5j, _hb) { this.frames[_gx1] = _5j; this._4y1[_gx1] = _hb }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var frames = this.frames; if (_5j < frames[0]) return; var _gx1; if (_5j >= frames[frames.length - 1]) _gx1 = frames.length - 1; else _gx1 = _x8._ax1(frames, _5j, 1) - 1; var _hb = _09._hb; var _fb = _09._fb; var _5y1 = this._4y1[_gx1]; if (!_5y1) { for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) _hb[_H3] = _fb[_H3] } else { for (var _H3 = 0, _C9 = _5y1.length; _H3 < _C9; _H3++) _hb[_H3] = _09._fb[_5y1[_H3]] } } }; _x8._6y1 = function(_59) { this._ex1 = new _x8._dx1(_59); this.frames = []; this.frames.length = _59; this._7y1 = []; this._7y1.length = _59 }; _x8._6y1.prototype = { _1x1: 0, _ib: 0, _Lx1: function() { return this.frames.length }, _Mx1: function(_gx1, _5j, _rb) { this.frames[_gx1] = _5j; this._7y1[_gx1] = _rb }, apply: function(_09, _7x1, _5j, _Nx1, alpha) { var _gb = _09._fb[this._1x1]; if (_gb._ib != _gb._ib) return; var frames = this.frames; if (_5j < frames[0]) { _gb._Tw1.length = 0; return } var _7y1 = this._7y1; var _LO = _7y1[0].length; var _rb = _gb._Tw1; if (_rb.length < _LO) { _rb = []; _rb.length = _LO; _gb._Tw1 = _rb } _gb._Tw1.length = _LO; if (_5j >= frames[frames.length - 1]) { var _8y1 = _7y1[frames.length - 1]; if (alpha < 1) { for (var _H3 = 0; _H3 < _LO; _H3++) _rb[_H3] += (_8y1[_H3] - _rb[_H3]) * alpha } else { for (var _H3 = 0; _H3 < _LO; _H3++) _rb[_H3] = _8y1[_H3] } return } var _gx1 = _x8._ax1(frames, _5j, 1); var _Rx1 = frames[_gx1]; var _zx1 = 1 - (_5j - _Rx1) / (frames[_gx1 - 1] - _Rx1); _zx1 = this._ex1._yx1(_gx1 - 1, _zx1 < 0 ? 0 : (_zx1 > 1 ? 1 : _zx1)); var _9y1 = _7y1[_gx1 - 1]; var _ay1 = _7y1[_gx1]; if (alpha < 1) { for (var _H3 = 0; _H3 < _LO; _H3++) { var _u11 = _9y1[_H3]; _rb[_H3] += (_u11 + (_ay1[_H3] - _u11) * _zx1 - _rb[_H3]) * alpha } } else { for (var _H3 = 0; _H3 < _LO; _H3++) { var _u11 = _9y1[_H3]; _rb[_H3] = _u11 + (_ay1[_H3] - _u11) * _zx1 } } } }; _x8._by1 = function() { this._Ox1 = []; this._fb = []; this._cy1 = []; this._8x1 = []; this._B8 = [] }; _x8._by1.prototype = { _R8: null, _dy1: function(_ey1) { var _Ox1 = this._Ox1; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].name == _ey1) return _Ox1[_H3]; return null }, _fy1: function(_ey1) { var _Ox1 = this._Ox1; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].name == _ey1) return _H3; return - 1 }, _gy1: function(_hy1) { var _fb = this._fb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) { if (_fb[_H3].name == _hy1) return _gb[_H3] } return null }, _iy1: function(_hy1) { var _fb = this._fb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) if (_fb[_H3].name == _hy1) return _H3; return - 1 }, _jy1: function(_ky1) { var _cy1 = this._cy1; for (var _H3 = 0, _C9 = _cy1.length; _H3 < _C9; _H3++) if (_cy1[_H3].name == _ky1) return _cy1[_H3]; return null }, _ly1: function(_my1) { var _8x1 = this._8x1; for (var _H3 = 0, _C9 = _8x1.length; _H3 < _C9; _H3++) if (_8x1[_H3].name == _my1) return _8x1[_H3]; return null }, _N8: function(_ny1) { var _B8 = this._B8; for (var _H3 = 0, _C9 = _B8.length; _H3 < _C9; _H3++) if (_B8[_H3].name == _ny1) return _B8[_H3]; return null } }; _x8._y8 = function(_oy1) { this.data = _oy1; this._Ox1 = []; for (var _H3 = 0, _C9 = _oy1._Ox1.length; _H3 < _C9; _H3++) { var _Dw1 = _oy1._Ox1[_H3]; var parent = !_Dw1.parent ? null: this._Ox1[_oy1._Ox1.indexOf(_Dw1.parent)]; this._Ox1.push(new _x8._2b(_Dw1, parent)) } this._fb = []; this._hb = []; for (var _H3 = 0, _C9 = _oy1._fb.length; _H3 < _C9; _H3++) { var _Rw1 = _oy1._fb[_H3]; var _tb = this._Ox1[_oy1._Ox1.indexOf(_Rw1._Dw1)]; var _gb = new _x8._Qw1(_Rw1, this, _tb); this._fb.push(_gb); this._hb.push(_gb) } }; _x8._y8.prototype = { _f3: 0, _g3: 0, _py1: null, _T9: 1, _jb: 1, _W9: 1, _kb: 1, _5j: 0, _e9: !1, _f9: !1, _49: function() { var _e9 = this._e9; var _f9 = this._f9; var _Ox1 = this._Ox1; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) _Ox1[_H3]._49(_e9, _f9) }, _Gw1: function() { this._qy1(); this._S8() }, _qy1: function() { var _Ox1 = this._Ox1; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) _Ox1[_H3]._Gw1() }, _S8: function() { var _fb = this._fb; var _hb = this._hb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) { _hb[_H3] = _fb[_H3]; _fb[_H3]._Gw1(_H3) } }, _29: function() { return this._Ox1.length == 0 ? null: this._Ox1[0] }, _dy1: function(_ey1) { var _Ox1 = this._Ox1; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].data.name == _ey1) return _Ox1[_H3]; return null }, _fy1: function(_ey1) { var _Ox1 = this._Ox1; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) if (_Ox1[_H3].data.name == _ey1) return _H3; return - 1 }, _gy1: function(_hy1) { var _fb = this._fb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) if (_fb[_H3].data.name == _hy1) return _fb[_H3]; return null; }, _iy1: function(_hy1) { var _fb = this._fb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) if (_fb[_H3].data.name == _hy1) return _H3; return - 1 }, _Q8: function(_ky1) { var _py1 = this.data._jy1(_ky1); if (!_py1) throw "Skin not found: " + _ky1; this._ry1(_py1) }, _ry1: function(_sy1) { if (_sy1) { if (this._py1) _sy1._3x1(this, this._py1); else { var _fb = this._fb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) { var _gb = _fb[_H3]; var name = _gb.data._Ew1; if (name) { var _ib = _sy1._2x1(_H3, name); if (_ib) _gb._Uw1(_ib) } } } } this._py1 = _sy1 }, _ty1: function(_hy1, _Ew1) { return this._Yw1(this.data._iy1(_hy1), _Ew1) }, _Yw1: function(_1x1, _Ew1) { if (this._py1) { var _ib = this._py1._2x1(_1x1, _Ew1); if (_ib) return _ib } if (this.data._R8) return this.data._R8._2x1(_1x1, _Ew1); return null }, _Uw1: function(_hy1, _Ew1) { var _fb = this._fb; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) { var _gb = _fb[_H3]; if (_gb.data.name == _hy1) { var _ib = null; if (_Ew1) { _ib = this._Yw1(_H3, _Ew1); if (!_ib) throw "Attachment not found: " + _Ew1 + ", for slot: " + _hy1 } _gb._Uw1(_ib); return } } throw "Slot not found: " + _hy1 }, _b9: function(_uy1) { this._5j += _uy1 } }; _x8._vy1 = function(name) { this.name = name; }; _x8._vy1.prototype = { _wy1: 0, _xy1: 0, _yy1: null }; _x8._st = function(data) { this.data = data }; _x8._st.prototype = { _wy1: 0, _xy1: 0, _yy1: null }; _x8._lb = { _mb: 0, _zy1: 1, _nb: 2, _ob: 3 }; _x8._Ay1 = function(name) { this.name = name; this._L3 = []; this._L3.length = 8; this._wb = []; this._wb.length = 8 }; _x8._Ay1.prototype = { type: _x8._lb._mb, _f3: 0, _g3: 0, _i5: 0, _E3: 1, _F3: 1, width: 0, height: 0, _T9: 1, _jb: 1, _W9: 1, _kb: 1, _By1: null, _Sa: null, _Cy1: 0, _Dy1: 0, _Ey1: 0, _Fy1: 0, _Gy1: 0, _Hy1: 0, _Iy1: function(_vb, _xb, _sU, _ic, rotate) { var _wb = this._wb; if (rotate) { _wb[2] = _vb; _wb[3] = _ic; _wb[4] = _vb; _wb[5] = _xb; _wb[6] = _sU; _wb[7] = _xb; _wb[0] = _sU; _wb[1] = _ic } else { _wb[0] = _vb; _wb[1] = _ic; _wb[2] = _vb; _wb[3] = _xb; _wb[4] = _sU; _wb[5] = _xb; _wb[6] = _sU; _wb[7] = _ic } }, _Jy1: function() { var _Ky1 = this.width / this._Gy1 * this._E3; var _Ly1 = this.height / this._Hy1 * this._F3; var _My1 = -this.width / 2 * this._E3 + this._Cy1 * _Ky1; var _Ny1 = -this.height / 2 * this._F3 + this._Dy1 * _Ly1; var _Oy1 = _My1 + this._Ey1 * _Ky1; var _Py1 = _Ny1 + this._Fy1 * _Ly1; var _Pw1 = this._i5 * Math.PI / 180; var cos = Math.cos(_Pw1); var sin = Math.sin(_Pw1); var _Qy1 = _My1 * cos + this._f3; var _Ry1 = _My1 * sin; var _Sy1 = _Ny1 * cos + this._g3; var _Ty1 = _Ny1 * sin; var _Uy1 = _Oy1 * cos + this._f3; var _Vy1 = _Oy1 * sin; var _Wy1 = _Py1 * cos + this._g3; var _Xy1 = _Py1 * sin; var _L3 = this._L3; _L3[0] = _Qy1 - _Ty1; _L3[1] = _Sy1 + _Ry1; _L3[2] = _Qy1 - _Xy1; _L3[3] = _Wy1 + _Ry1; _L3[4] = _Uy1 - _Xy1; _L3[5] = _Wy1 + _Vy1; _L3[6] = _Uy1 - _Ty1; _L3[7] = _Sy1 + _Vy1 }, _sb: function(_f3, _g3, _tb, _rb) { _f3 += _tb._Jw1; _g3 += _tb._Lw1; var _Hw1 = _tb._Hw1, _Iw1 = _tb._Iw1, _Kw1 = _tb._Kw1, _Ub = _tb._Ub; var _L3 = this._L3; _rb[0] = _L3[0] * _Hw1 + _L3[1] * _Iw1 + _f3; _rb[1] = _L3[0] * _Kw1 + _L3[1] * _Ub + _g3; _rb[2] = _L3[2] * _Hw1 + _L3[3] * _Iw1 + _f3; _rb[3] = _L3[2] * _Kw1 + _L3[3] * _Ub + _g3; _rb[4] = _L3[4] * _Hw1 + _L3[5] * _Iw1 + _f3; _rb[5] = _L3[4] * _Kw1 + _L3[5] * _Ub + _g3; _rb[6] = _L3[6] * _Hw1 + _L3[7] * _Iw1 + _f3; _rb[7] = _L3[6] * _Kw1 + _L3[7] * _Ub + _g3 } }; _x8._Yy1 = function(name) { this.name = name }; _x8._Yy1.prototype = { type: _x8._lb._nb, _rb: null, _wb: null, _Zy1: null, _Fb: null, __y1: 0, _T9: 1, _jb: 1, _W9: 1, _kb: 1, _By1: null, _Sa: null, _0z1: 0, _1z1: 0, _2z1: 0, _3z1: 0, _4z1: !1, _Cy1: 0, _Dy1: 0, _Ey1: 0, _Fy1: 0, _Gy1: 0, _Hy1: 0, _5z1: null, width: 0, height: 0, _6z1: function() { var width = this._2z1 - this._0z1, height = this._3z1 - this._1z1; var _Zy1 = this._Zy1, _0z1 = this._0z1, _1z1 = this._1z1; var _C9 = this._Zy1.length; if (!this._wb || this._wb.length != _C9) { this._wb = []; this._wb.length = _C9 } if (this._4z1) { for (var _H3 = 0; _H3 < _C9; _H3 += 2) { this._wb[_H3] = _0z1 + _Zy1[_H3 + 1] * width; this._wb[_H3 + 1] = _1z1 + height - _Zy1[_H3] * height } } else { for (var _H3 = 0; _H3 < _C9; _H3 += 2) { this._wb[_H3] = _0z1 + _Zy1[_H3] * width; this._wb[_H3 + 1] = _1z1 + _Zy1[_H3 + 1] * height } } }, _Eb: function(_f3, _g3, _gb, _7z1) { var _tb = _gb._tb; _f3 += _tb._Jw1; _g3 += _tb._Lw1; var _Hw1 = _tb._Hw1, _Iw1 = _tb._Iw1, _Kw1 = _tb._Kw1, _Ub = _tb._Ub; var _rb = this._rb; var _8z1 = _rb.length; if (_gb._Tw1.length == _8z1) _rb = _gb._Tw1; for (var _H3 = 0; _H3 < _8z1; _H3 += 2) { var _AQ = _rb[_H3]; var _BQ = _rb[_H3 + 1]; _7z1[_H3] = _AQ * _Hw1 + _BQ * _Iw1 + _f3; _7z1[_H3 + 1] = _AQ * _Kw1 + _BQ * _Ub + _g3 } } }; _x8._9z1 = function(name) { this.name = name }; _x8._9z1.prototype = { type: _x8._lb._ob, _Ox1: null, _az1: null, _wb: null, _Zy1: null, _Fb: null, __y1: 0, _T9: 1, _jb: 1, _W9: 1, _kb: 1, _By1: null, _Sa: null, _0z1: 0, _1z1: 0, _2z1: 0, _3z1: 0, _4z1: !1, _Cy1: 0, _Dy1: 0, _Ey1: 0, _Fy1: 0, _Gy1: 0, _Hy1: 0, _5z1: null, width: 0, height: 0, _6z1: function(_vb, _xb, _sU, _ic, rotate) { var width = this._2z1 - this._0z1, height = this._3z1 - this._1z1; var _Zy1 = this._Zy1, _0z1 = this._0z1, _1z1 = this._1z1; var _C9 = _Zy1.length; if (!this._wb || this._wb.length != _C9) { this._wb = []; this._wb.length = _C9 } if (this._4z1) { for (var _H3 = 0; _H3 < _C9; _H3 += 2) { this._wb[_H3] = _0z1 + _Zy1[_H3 + 1] * width; this._wb[_H3 + 1] = _1z1 + height - _Zy1[_H3] * height } } else { for (var _H3 = 0; _H3 < _C9; _H3 += 2) { this._wb[_H3] = _0z1 + _Zy1[_H3] * width; this._wb[_H3 + 1] = _1z1 + _Zy1[_H3 + 1] * height } } }, _Eb: function(_f3, _g3, _gb, _7z1) { var _bz1 = _gb._09._Ox1; var _az1 = this._az1; var _Ox1 = this._Ox1; var _J3 = 0, _xb = 0, _W9 = 0, _Mq = 0, _C9 = _Ox1.length, _cz1; var _dz1, _ez1, _tb, _AQ, _BQ, _Z41; if (_gb._Tw1.length == 0) { for (; _xb < _C9; _J3 += 2) { _dz1 = 0; _ez1 = 0; _cz1 = _Ox1[_xb++] + _xb; for (; _xb < _cz1; _xb++, _W9 += 3) { _tb = _bz1[_Ox1[_xb]]; _AQ = _az1[_W9]; _BQ = _az1[_W9 + 1]; _Z41 = _az1[_W9 + 2]; _dz1 += (_AQ * _tb._Hw1 + _BQ * _tb._Iw1 + _tb._Jw1) * _Z41; _ez1 += (_AQ * _tb._Kw1 + _BQ * _tb._Ub + _tb._Lw1) * _Z41 } _7z1[_J3] = _dz1 + _f3; _7z1[_J3 + 1] = _ez1 + _g3 } } else { var _fz1 = _gb._Tw1; for (; _xb < _C9; _J3 += 2) { _dz1 = 0; _ez1 = 0; _cz1 = _Ox1[_xb++] + _xb; for (; _xb < _cz1; _xb++, _W9 += 3, _Mq += 2) { _tb = _bz1[_Ox1[_xb]]; _AQ = _az1[_W9] + _fz1[_Mq]; _BQ = _az1[_W9 + 1] + _fz1[_Mq + 1]; _Z41 = _az1[_W9 + 2]; _dz1 += (_AQ * _tb._Hw1 + _BQ * _tb._Iw1 + _tb._Jw1) * _Z41; _ez1 += (_AQ * _tb._Kw1 + _BQ * _tb._Ub + _tb._Lw1) * _Z41 } _7z1[_J3] = _dz1 + _f3; _7z1[_J3 + 1] = _ez1 + _g3 } } } }; _x8._gz1 = function(name) { this.name = name; this._rb = [] }; _x8._gz1.prototype = { type: _x8._lb._zy1, _Eb: function(_f3, _g3, _tb, _7z1) { _f3 += _tb._Jw1; _g3 += _tb._Lw1; var _Hw1 = _tb._Hw1, _Iw1 = _tb._Iw1, _Kw1 = _tb._Kw1, _Ub = _tb._Ub; var _rb = this._rb; for (var _H3 = 0, _C9 = _rb.length; _H3 < _C9; _H3 += 2) { var _0k = _rb[_H3]; var _1k = _rb[_H3 + 1]; _7z1[_H3] = _0k * _Hw1 + _1k * _Iw1 + _f3; _7z1[_H3 + 1] = _0k * _Kw1 + _1k * _Ub + _g3 } } }; _x8._z8 = function(_oy1) { this._oy1 = _oy1; this._hz1 = {} }; _x8._z8.prototype = { _iz1: 0, _jz1: function(_kz1, _lz1, duration) { var _mz1 = this._oy1._N8(_kz1); if (!_mz1) throw "Animation not found: " + _kz1; var _nz1 = this._oy1._N8(_lz1); if (!_nz1) throw "Animation not found: " + _lz1; this._oz1(_mz1, _nz1, duration) }, _oz1: function(_mz1, _nz1, duration) { this._hz1[_mz1.name + ":" + _nz1.name] = duration }, _pz1: function(_mz1, _nz1) { var _5j = this._hz1[_mz1.name + ":" + _nz1.name]; return _5j ? _5j: this._iz1 } }; _x8._qz1 = function() {}; _x8._qz1.prototype = { _ni: null, _rz1: null, _M8: null, loop: !1, _sz1: 0, _5j: 0, _7x1: -1, _tz1: 0, _uz1: 1, _vz1: 0, _wz1: 0, _9x1: 1, _xz1: null, _yz1: null, onComplete: null, _zz1: null }; _x8._A8 = function(_Zi1) { this.data = _Zi1; this._Az1 = []; this._8x1 = [] }; _x8._A8.prototype = { _xz1: null, _yz1: null, onComplete: null, _zz1: null, _uz1: 1, _b9: function(_uy1) { _uy1 *= this._uz1; for (var _H3 = 0; _H3 < this._Az1.length; _H3++) { var current = this._Az1[_H3]; if (!current) continue; current._5j += _uy1 * current._uz1; if (current._rz1) { var _Bz1 = _uy1 * current._rz1._uz1; current._rz1._5j += _Bz1; current._vz1 += _Bz1 } var _ni = current._ni; if (_ni) { _ni._5j = current._7x1 - _ni._sz1; if (_ni._5j >= 0) this._Cz1(_H3, _ni) } else { if (!current.loop && current._7x1 >= current._tz1) this._Dz1(_H3) } } }, apply: function(_09) { for (var _H3 = 0; _H3 < this._Az1.length; _H3++) { var current = this._Az1[_H3]; if (!current) continue; this._8x1.length = 0; var _5j = current._5j; var _7x1 = current._7x1; var _tz1 = current._tz1; var loop = current.loop; if (!loop && _5j > _tz1) _5j = _tz1; var _rz1 = current._rz1; if (!_rz1) { if (current._9x1 == 1) current._M8.apply(_09, current._7x1, _5j, loop, this._8x1); else current._M8._9x1(_09, current._7x1, _5j, loop, this._8x1, current._9x1) } else { var _Ez1 = _rz1._5j; if (!_rz1.loop && _Ez1 > _rz1._tz1) _Ez1 = _rz1._tz1; _rz1._M8.apply(_09, _Ez1, _Ez1, _rz1.loop, null); var alpha = current._vz1 / current._wz1 * current._9x1; if (alpha >= 1) { alpha = 1; current._rz1 = null } current._M8._9x1(_09, current._7x1, _5j, loop, this._8x1, alpha) } for (var _Fz1 = 0, _cz1 = this._8x1.length; _Fz1 < _cz1; _Fz1++) { var event = this._8x1[_Fz1]; if (current._zz1 != null) current._zz1(_H3, event); if (this._zz1 != null) this._zz1(_H3, event) } if (loop ? (_7x1 % _tz1 > _5j % _tz1) : (_7x1 < _tz1 && _5j >= _tz1)) { var _Ea = Math.floor(_5j / _tz1); if (current.onComplete) current.onComplete(_H3, _Ea); if (this.onComplete) this.onComplete(_H3, _Ea) } current._7x1 = current._5j } }, _Gz1: function() { for (var _H3 = 0, _C9 = this._Az1.length; _H3 < _C9; _H3++) this._Dz1(_H3); this._Az1.length = 0 }, _Dz1: function(_Hz1) { if (_Hz1 >= this._Az1.length) return; var current = this._Az1[_Hz1]; if (!current) return; if (current._yz1 != null) current._yz1(_Hz1); if (this._yz1 != null) this._yz1(_Hz1); this._Az1[_Hz1] = null }, _Iz1: function(index) { if (index < this._Az1.length) return this._Az1[index]; while (index >= this._Az1.length) this._Az1.push(null); return null }, _Cz1: function(index, _Jz1) { var current = this._Iz1(index); if (current) { var _rz1 = current._rz1; current._rz1 = null; if (current._yz1 != null) current._yz1(index); if (this._yz1 != null) this._yz1(index); _Jz1._wz1 = this.data._pz1(current._M8, _Jz1._M8); if (_Jz1._wz1 > 0) { _Jz1._vz1 = 0; if (_rz1 && current._vz1 / current._wz1 < 0.5) _Jz1._rz1 = _rz1; else _Jz1._rz1 = current } } this._Az1[index] = _Jz1; if (_Jz1._xz1 != null) _Jz1._xz1(index); if (this._xz1 != null) this._xz1(index) }, _Kz1: function(_Hz1, _ny1, loop) { var _M8 = this.data._oy1._N8(_ny1); if (!_M8) throw "Animation not found: " + _ny1; return this._O8(_Hz1, _M8, loop) }, _O8: function(_Hz1, _M8, loop) { var _Jz1 = new _x8._qz1(); _Jz1._M8 = _M8; _Jz1.loop = loop; _Jz1._tz1 = _M8.duration; this._Cz1(_Hz1, _Jz1); return _Jz1 }, _Lz1: function(_Hz1, _ny1, loop, _sz1) { var _M8 = this.data._oy1._N8(_ny1); if (!_M8) throw "Animation not found: " + _ny1; return this._Mz1(_Hz1, _M8, loop, _sz1) }, _Mz1: function(_Hz1, _M8, loop, _sz1) { var _Jz1 = new _x8._qz1(); _Jz1._M8 = _M8; _Jz1.loop = loop; _Jz1._tz1 = _M8.duration; var _A3 = this._Iz1(_Hz1); if (_A3) { while (_A3._ni) _A3 = _A3._ni; _A3._ni = _Jz1 } else this._Az1[_Hz1] = _Jz1; if (_sz1 <= 0) { if (_A3) _sz1 += _A3._tz1 - this.data._pz1(_A3._M8, _M8); else _sz1 = 0 } _Jz1._sz1 = _sz1; return _Jz1 }, _Nz1: function(_Hz1) { if (_Hz1 >= this._Az1.length) return null; return this._Az1[_Hz1] } }; _x8._Ua = function(_Oz1) { this._Oz1 = _Oz1 }; _x8._Ua.prototype = { scale: 1, _Wa: function(_19) { var _oy1 = new _x8._by1(); var _Ox1 = _19["bones"]; for (var _H3 = 0, _C9 = _Ox1.length; _H3 < _C9; _H3++) { var _Pz1 = _Ox1[_H3]; var parent = null; if (_Pz1["parent"]) { parent = _oy1._dy1(_Pz1["parent"]); if (!parent) throw "Parent bone not found: " + _Pz1["parent"] } var _Dw1 = new _x8._zw1(_Pz1["name"], parent); _Dw1.length = (_Pz1["length"] || 0) * this.scale; _Dw1._f3 = (_Pz1["x"] || 0) * this.scale; _Dw1._g3 = (_Pz1["y"] || 0) * this.scale; _Dw1._i5 = (_Pz1["rotation"] || 0); _Dw1._E3 = _Pz1.hasOwnProperty("scaleX") ? _Pz1["scaleX"] : 1; _Dw1._F3 = _Pz1.hasOwnProperty("scaleY") ? _Pz1["scaleY"] : 1; _Dw1._Aw1 = !_Pz1["inheritScale"] || _Pz1["inheritScale"] == "true"; _Dw1._Bw1 = !_Pz1["inheritRotation"] || _Pz1["inheritRotation"] == "true"; _oy1._Ox1.push(_Dw1) } var _fb = _19["slots"]; for (var _H3 = 0, _C9 = _fb.length; _H3 < _C9; _H3++) { var _Qz1 = _fb[_H3]; var _Dw1 = _oy1._dy1(_Qz1["bone"]); if (!_Dw1) throw "Slot bone not found: " + _Qz1["bone"]; var _Rw1 = new _x8._Cw1(_Qz1["name"], _Dw1); var _bb = _Qz1["color"]; if (_bb) { _Rw1._T9 = this._Rz1(_bb, 0); _Rw1._jb = this._Rz1(_bb, 1); _Rw1._W9 = this._Rz1(_bb, 2); _Rw1._kb = this._Rz1(_bb, 3) } _Rw1._Ew1 = _Qz1["attachment"]; _Rw1._Fw1 = _Qz1["additive"] && _Qz1["additive"] == "true"; _oy1._fb.push(_Rw1); } var _cy1 = _19["skins"]; for (var _ky1 in _cy1) { if (!_cy1.hasOwnProperty(_ky1)) continue; var _Sz1 = _cy1[_ky1]; var _py1 = new _x8._Zw1(_ky1); for (var _hy1 in _Sz1) { if (!_Sz1.hasOwnProperty(_hy1)) continue; var _1x1 = _oy1._iy1(_hy1); var _Tz1 = _Sz1[_hy1]; for (var _Ew1 in _Tz1) { if (!_Tz1.hasOwnProperty(_Ew1)) continue; var _ib = this._Uz1(_py1, _Ew1, _Tz1[_Ew1]); if (_ib != null) _py1._0x1(_1x1, _Ew1, _ib) } } _oy1._cy1.push(_py1); if (_py1.name == "default") _oy1._R8 = _py1 } var _8x1 = _19["events"]; for (var _my1 in _8x1) { if (!_8x1.hasOwnProperty(_my1)) continue; var _Vz1 = _8x1[_my1]; var _qt = new _x8._vy1(_my1); _qt._wy1 = _Vz1["int"] || 0; _qt._xy1 = _Vz1["float"] || 0; _qt._yy1 = _Vz1["string"] || null; _oy1._8x1.push(_qt) } var _B8 = _19["animations"]; for (var _ny1 in _B8) { if (!_B8.hasOwnProperty(_ny1)) continue; this._Wz1(_ny1, _B8[_ny1], _oy1) } return _oy1 }, _Xz1: function(map) { if (map["type"] && map["type"].toLowerCase() === "boundingbox") { return _x8._lb._zy1 } else if (map["type"] && map["type"].toLowerCase() === "mesh") { return _x8._lb._nb } else if (map["type"] && map["type"].toLowerCase() === "skinnedmesh") { return _x8._lb._ob; } return _x8._lb._mb }, _Uz1: function(_py1, name, map) { name = map["name"] || name; var type = this._Xz1(map); var _By1 = map["path"] || name; var scale = this.scale; if (type == _x8._lb._mb) { var _mb = this._Oz1._Yz1(_py1, name, _By1); if (!_mb) return null; _mb._By1 = _By1; _mb._f3 = (map["x"] || 0) * this.scale; _mb._g3 = (map["y"] || 0) * this.scale; _mb._E3 = map.hasOwnProperty("scaleX") ? map["scaleX"] : 1; _mb._F3 = map.hasOwnProperty("scaleY") ? map["scaleY"] : 1; _mb._i5 = map["rotation"] || 0; _mb.width = (map["width"] || 0) * scale; _mb.height = (map["height"] || 0) * scale; var _bb = map["color"]; if (_bb) { _mb._T9 = this._Rz1(_bb, 0); _mb._jb = this._Rz1(_bb, 1); _mb._W9 = this._Rz1(_bb, 2); _mb._kb = this._Rz1(_bb, 3) } _mb._Jy1(); return _mb } else if (type == _x8._lb._nb) { var _nb = this._Oz1._Zz1(_py1, name, _By1); if (!_nb) return null; _nb._By1 = _By1; _nb._rb = this.__z1(map, "vertices", scale); _nb._Fb = this._0A1(map, "triangles"); _nb._Zy1 = this.__z1(map, "uvs", 1); _nb._6z1(); _bb = map["color"]; if (_bb) { _nb._T9 = this._Rz1(_bb, 0); _nb._jb = this._Rz1(_bb, 1); _nb._W9 = this._Rz1(_bb, 2); _nb._kb = this._Rz1(_bb, 3) } _nb.__y1 = (map["hull"] || 0) * 2; if (map["edges"]) _nb._5z1 = this._0A1(map, "edges"); _nb.width = (map["width"] || 0) * scale; _nb.height = (map["height"] || 0) * scale; return _nb } else if (type == _x8._lb._ob) { var _nb = this._Oz1._1A1(_py1, name, _By1); if (!_nb) return null; _nb._By1 = _By1; var _wb = this.__z1(map, "uvs", 1); _rb = this.__z1(map, "vertices", 1); var _az1 = []; var _Ox1 = []; for (var _H3 = 0, _C9 = _rb.length; _H3 < _C9;) { var _2A1 = _rb[_H3++] | 0; _Ox1[_Ox1.length] = _2A1; for (var _cz1 = _H3 + _2A1 * 4; _H3 < _cz1;) { _Ox1[_Ox1.length] = _rb[_H3]; _az1[_az1.length] = _rb[_H3 + 1] * scale; _az1[_az1.length] = _rb[_H3 + 2] * scale; _az1[_az1.length] = _rb[_H3 + 3]; _H3 += 4 } } _nb._Ox1 = _Ox1; _nb._az1 = _az1; _nb._Fb = this._0A1(map, "triangles"); _nb._Zy1 = _wb; _nb._6z1(); _bb = map["color"]; if (_bb) { _nb._T9 = this._Rz1(_bb, 0); _nb._jb = this._Rz1(_bb, 1); _nb._W9 = this._Rz1(_bb, 2); _nb._kb = this._Rz1(_bb, 3) } _nb.__y1 = (map["hull"] || 0) * 2; if (map["edges"]) _nb._5z1 = this._0A1(map, "edges"); _nb.width = (map["width"] || 0) * scale; _nb.height = (map["height"] || 0) * scale; return _nb } else if (type == _x8._lb._zy1) { var _ib = this._Oz1._3A1(_py1, name); var _rb = map["vertices"]; for (var _H3 = 0, _C9 = _rb.length; _H3 < _C9; _H3++) _ib._rb.push(_rb[_H3] * this.scale); return _ib } throw "Unknown attachment type: " + type }, _Wz1: function(name, map, _oy1) { var _99 = []; var duration = 0; var _fb = map["slots"]; for (var _hy1 in _fb) { if (!_fb.hasOwnProperty(_hy1)) continue; var _Qz1 = _fb[_hy1]; var _1x1 = _oy1._iy1(_hy1); for (var _4A1 in _Qz1) { if (!_Qz1.hasOwnProperty(_4A1)) continue; var _bx1 = _Qz1[_4A1]; if (_4A1 == "color") { var _ot = new _x8._Wx1(_bx1.length); _ot._1x1 = _1x1; var _gx1 = 0; for (var _H3 = 0, _C9 = _bx1.length; _H3 < _C9; _H3++) { var _5A1 = _bx1[_H3]; var _bb = _5A1["color"]; var _T9 = this._Rz1(_bb, 0); var _jb = this._Rz1(_bb, 1); var _W9 = this._Rz1(_bb, 2); var _kb = this._Rz1(_bb, 3); _ot._Mx1(_gx1, _5A1["time"], _T9, _jb, _W9, _kb); this._6A1(_ot, _gx1, _5A1); _gx1++ } _99.push(_ot); duration = Math.max(duration, _ot.frames[_ot._Lx1() * 5 - 5]) } else if (_4A1 == "attachment") { var _ot = new _x8._0y1(_bx1.length); _ot._1x1 = _1x1; var _gx1 = 0; for (var _H3 = 0, _C9 = _bx1.length; _H3 < _C9; _H3++) { var _5A1 = _bx1[_H3]; _ot._Mx1(_gx1++, _5A1["time"], _5A1["name"]) } _99.push(_ot); duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1]) } else throw "Invalid timeline type for a slot: " + _4A1 + " (" + _hy1 + ")"; } } var _Ox1 = map["bones"]; for (var _ey1 in _Ox1) { if (!_Ox1.hasOwnProperty(_ey1)) continue; var _Kx1 = _oy1._fy1(_ey1); if (_Kx1 == -1) throw "Bone not found: " + _ey1; var _Pz1 = _Ox1[_ey1]; for (var _4A1 in _Pz1) { if (!_Pz1.hasOwnProperty(_4A1)) continue; var _bx1 = _Pz1[_4A1]; if (_4A1 == "rotate") { var _ot = new _x8._Jx1(_bx1.length); _ot._Kx1 = _Kx1; var _gx1 = 0; for (var _H3 = 0, _C9 = _bx1.length; _H3 < _C9; _H3++) { var _5A1 = _bx1[_H3]; _ot._Mx1(_gx1, _5A1["time"], _5A1["angle"]); this._6A1(_ot, _gx1, _5A1); _gx1++ } _99.push(_ot); duration = Math.max(duration, _ot.frames[_ot._Lx1() * 2 - 2]); } else if (_4A1 == "translate" || _4A1 == "scale") { var _ot; var _7A1 = 1; if (_4A1 == "scale") _ot = new _x8._Vx1(_bx1.length); else { _ot = new _x8._Sx1(_bx1.length); _7A1 = this.scale } _ot._Kx1 = _Kx1; var _gx1 = 0; for (var _H3 = 0, _C9 = _bx1.length; _H3 < _C9; _H3++) { var _5A1 = _bx1[_H3]; var _f3 = (_5A1["x"] || 0) * _7A1; var _g3 = (_5A1["y"] || 0) * _7A1; _ot._Mx1(_gx1, _5A1["time"], _f3, _g3); this._6A1(_ot, _gx1, _5A1); _gx1++ } _99.push(_ot); duration = Math.max(duration, _ot.frames[_ot._Lx1() * 3 - 3]) } else throw "Invalid timeline type for a bone: " + _4A1 + " (" + _ey1 + ")" } } var _fz1 = map["ffd"]; for (var _ky1 in _fz1) { var _py1 = _oy1._jy1(_ky1); var _Qz1 = _fz1[_ky1]; for (_hy1 in _Qz1) { var _1x1 = _oy1._iy1(_hy1); var _8A1 = _Qz1[_hy1]; for (var _9A1 in _8A1) { var _bx1 = _8A1[_9A1]; var _ot = new _x8._6y1(_bx1.length); var _ib = _py1._2x1(_1x1, _9A1); if (!_ib) throw "FFD attachment not found: " + _9A1; _ot._1x1 = _1x1; _ot._ib = _ib; var _aA1 = _ib.type == _x8._lb._nb; var _LO; if (_aA1) _LO = _ib._rb.length; else _LO = _ib._az1.length / 3 * 2; var _gx1 = 0; for (var _H3 = 0, _C9 = _bx1.length; _H3 < _C9; _H3++) { var _5A1 = _bx1[_H3]; var _rb; if (!_5A1["vertices"]) { if (_aA1) _rb = _ib._rb; else { _rb = []; _rb.length = _LO } } else { var _bA1 = _5A1["vertices"]; var _rb = []; _rb.length = _LO; var start = _5A1["offset"] || 0; var _cz1 = _bA1.length; if (this.scale == 1) { for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1++) _rb[_Fz1 + start] = _bA1[_Fz1] } else { for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1++) _rb[_Fz1 + start] = _bA1[_Fz1] * scale } if (_aA1) { var _cA1 = _ib._rb; for (var _Fz1 = 0, _cz1 = _rb.length; _Fz1 < _cz1; _Fz1++) { if (_rb[_Fz1]) { _rb[_Fz1] += _cA1[_Fz1] } else { _rb[_Fz1] = _cA1[_Fz1] } } } } _ot._Mx1(_gx1, _5A1["time"], _rb); this._6A1(_ot, _gx1, _5A1); _gx1++ } _99[_99.length] = _ot; duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1]) } } } var _dA1 = map["draworder"]; if (_dA1) { var _ot = new _x8._3y1(_dA1.length); var _eA1 = _oy1._fb.length; var _gx1 = 0; for (var _H3 = 0, _C9 = _dA1.length; _H3 < _C9; _H3++) { var _fA1 = _dA1[_H3]; var _hb = null; if (_fA1["offsets"]) { _hb = []; _hb.length = _eA1; for (var _Fz1 = _eA1 - 1; _Fz1 >= 0; _Fz1--) _hb[_Fz1] = -1; var _gA1 = _fA1["offsets"]; var _hA1 = []; _hA1.length = _eA1 - _gA1.length; var _iA1 = 0, _jA1 = 0; for (var _Fz1 = 0, _cz1 = _gA1.length; _Fz1 < _cz1; _Fz1++) { var _kA1 = _gA1[_Fz1]; var _1x1 = _oy1._iy1(_kA1["slot"]); if (_1x1 == -1) throw "Slot not found: " + _kA1["slot"]; while (_iA1 != _1x1) _hA1[_jA1++] = _iA1++; _hb[_iA1 + _kA1["offset"]] = _iA1++ } while (_iA1 < _eA1) _hA1[_jA1++] = _iA1++; for (var _Fz1 = _eA1 - 1; _Fz1 >= 0; _Fz1--) if (_hb[_Fz1] == -1) _hb[_Fz1] = _hA1[--_jA1] } _ot._Mx1(_gx1++, _fA1["time"], _hb) } _99.push(_ot); duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1]) } var _8x1 = map["events"]; if (_8x1) { var _ot = new _x8._2y1(_8x1.length); var _gx1 = 0; for (var _H3 = 0, _C9 = _8x1.length; _H3 < _C9; _H3++) { var _Vz1 = _8x1[_H3]; var _qt = _oy1._ly1(_Vz1["name"]); if (!_qt) throw "Event not found: " + _Vz1["name"]; var event = new _x8._st(_qt); event._wy1 = _Vz1.hasOwnProperty("int") ? _Vz1["int"] : _qt._wy1; event._xy1 = _Vz1.hasOwnProperty("float") ? _Vz1["float"] : _qt._xy1; event._yy1 = _Vz1.hasOwnProperty("string") ? _Vz1["string"] : _qt._yy1; _ot._Mx1(_gx1++, _Vz1["time"], event) } _99.push(_ot); duration = Math.max(duration, _ot.frames[_ot._Lx1() - 1]) } _oy1._B8.push(new _x8._6x1(name, _99, duration)) }, _6A1: function(_ot, _gx1, _5A1) { var _lA1 = _5A1["curve"]; if (!_lA1) return; if (_lA1 == "stepped") _ot._ex1._hx1(_gx1); else if (_lA1 instanceof Array) _ot._ex1._ix1(_gx1, _lA1[0], _lA1[1], _lA1[2], _lA1[3]) }, _Rz1: function(_mA1, _nA1) { if (_mA1.length != 8) throw "Color hexidecimal length must be 8, recieved: " + _mA1; return parseInt(_mA1.substring(_nA1 * 2, (_nA1 * 2) + 2), 16) / 255 }, __z1: function(map, name, scale) { var _Yh = map[name]; var _bx1 = []; _bx1.length = _Yh.length; var _H3 = 0, _C9 = _Yh.length; if (scale == 1) { for (; _H3 < _C9; _H3++) _bx1[_H3] = _Yh[_H3] } else { for (; _H3 < _C9; _H3++) _bx1[_H3] = _Yh[_H3] * scale } return _bx1 }, _0A1: function(map, name) { var _Yh = map[name]; var _bx1 = []; _bx1.length = _Yh.length; for (var _H3 = 0, _C9 = _Yh.length; _H3 < _C9; _H3++) _bx1[_H3] = _Yh[_H3] | 0; return _bx1 } }; _x8._Ta = function(_oA1, _pA1) { this._pA1 = _pA1; this._qA1 = []; this._rA1 = []; var _sA1 = new _x8._tA1(_oA1); var _uA1 = []; _uA1.length = 4; var _zb = null; while (!0) { var _vA1 = _sA1._wA1(); if (_vA1 == null) break; _vA1 = _sA1.trim(_vA1); if (_vA1.length == 0) _zb = null; else if (!_zb) { _zb = new _x8._xA1(); _zb.name = _vA1; if (_sA1._yA1(_uA1) == 2) { _zb.width = parseInt(_uA1[0]); _zb.height = parseInt(_uA1[1]); _sA1._yA1(_uA1) } _zb._zA1 = _x8._Ta._fe[_uA1[0]]; _sA1._yA1(_uA1); _zb._AA1 = _x8._Ta._BA1[_uA1[0]]; _zb._CA1 = _x8._Ta._BA1[_uA1[1]]; var _sA = _sA1._DA1(); _zb._EA1 = _x8._Ta._FA1._GA1; _zb._HA1 = _x8._Ta._FA1._GA1; if (_sA == "x") _zb._EA1 = _x8._Ta._FA1.repeat; else if (_sA == "y") _zb._HA1 = _x8._Ta._FA1.repeat; else if (_sA == "xy") _zb._EA1 = _zb._HA1 = _x8._Ta._FA1.repeat; _pA1.load(_zb, _vA1, this); this._qA1.push(_zb) } else { var _mb = new _x8._IA1(); _mb.name = _vA1; _mb._zb = _zb; _mb.rotate = _sA1._DA1() == "true"; _sA1._yA1(_uA1); var _f3 = parseInt(_uA1[0]); var _g3 = parseInt(_uA1[1]); _sA1._yA1(_uA1); var width = parseInt(_uA1[0]); var height = parseInt(_uA1[1]); _mb._vb = _f3 / _zb.width; _mb._xb = _g3 / _zb.height; if (_mb.rotate) { _mb._sU = (_f3 + height) / _zb.width; _mb._ic = (_g3 + width) / _zb.height } else { _mb._sU = (_f3 + width) / _zb.width; _mb._ic = (_g3 + height) / _zb.height } _mb._f3 = _f3; _mb._g3 = _g3; _mb.width = Math.abs(width); _mb.height = Math.abs(height); if (_sA1._yA1(_uA1) == 4) { _mb._JA1 = [parseInt(_uA1[0]), parseInt(_uA1[1]), parseInt(_uA1[2]), parseInt(_uA1[3])]; if (_sA1._yA1(_uA1) == 4) { _mb._KA1 = [parseInt(_uA1[0]), parseInt(_uA1[1]), parseInt(_uA1[2]), parseInt(_uA1[3])]; _sA1._yA1(_uA1) } } _mb._LA1 = parseInt(_uA1[0]); _mb._MA1 = parseInt(_uA1[1]); _sA1._yA1(_uA1); _mb._NA1 = parseInt(_uA1[0]); _mb._OA1 = parseInt(_uA1[1]); _mb.index = parseInt(_sA1._DA1()); this._rA1.push(_mb) } } }; _x8._Ta.prototype = { _PA1: function(name) { var _rA1 = this._rA1; for (var _H3 = 0, _C9 = _rA1.length; _H3 < _C9; _H3++) if (_rA1[_H3].name == name) return _rA1[_H3]; return null }, _QA1: function() { var _qA1 = this._qA1; for (var _H3 = 0, _C9 = _qA1.length; _H3 < _C9; _H3++) this._pA1._RA1(_qA1[_H3]._Sa) }, _6z1: function(_zb) { var _rA1 = this._rA1; for (var _H3 = 0, _C9 = _rA1.length; _H3 < _C9; _H3++) { var _mb = _rA1[_H3]; if (_mb._zb != _zb) continue; _mb._vb = _mb._f3 / _zb.width; _mb._xb = _mb._g3 / _zb.height; if (_mb.rotate) { _mb._sU = (_mb._f3 + _mb.height) / _zb.width; _mb._ic = (_mb._g3 + _mb.width) / _zb.height } else { _mb._sU = (_mb._f3 + _mb.width) / _zb.width; _mb._ic = (_mb._g3 + _mb.height) / _zb.height } } } }; _x8._Ta._fe = { alpha: 0, _SA1: 1, _TA1: 2, _UA1: 3, _VA1: 4, _WA1: 5, _XA1: 6 }; _x8._Ta._BA1 = { _YA1: 0, _Oa1: 1, _ZA1: 2, __A1: 3, _0B1: 4, _1B1: 5, _2B1: 6 }; _x8._Ta._FA1 = { _3B1: 0, _GA1: 1, repeat: 2 }; _x8._xA1 = function() {}; _x8._xA1.prototype = { name: null, _zA1: null, _AA1: null, _CA1: null, _EA1: null, _HA1: null, _Sa: null, width: 0, height: 0 }; _x8._IA1 = function() {}; _x8._IA1.prototype = { _zb: null, name: null, _f3: 0, _g3: 0, width: 0, height: 0, _vb: 0, _xb: 0, _sU: 0, _ic: 0, _NA1: 0, _OA1: 0, _LA1: 0, _MA1: 0, index: 0, rotate: !1, _JA1: null, _KA1: null }; _x8._tA1 = function(text) { var _1q = text.replace("\r\n", "\n"); _1q = _1q.replace("\r", "\n"); this._4B1 = text.split("\n") }; _x8._tA1.prototype = { index: 0, trim: function(value) { return value.trim() }, _wA1: function() { if (this.index >= this._4B1.length) return null; return this._4B1[this.index++] }, _DA1: function() { var _vA1 = this._wA1(); var _5x1 = _vA1.indexOf(":"); if (_5x1 == -1) throw "Invalid line: " + _vA1; return this.trim(_vA1.substring(_5x1 + 1)) }, _yA1: function(_uA1) { var _vA1 = this._wA1(); var _5x1 = _vA1.indexOf(":"); if (_5x1 == -1) throw "Invalid line: " + _vA1; var _H3 = 0, _5B1 = _5x1 + 1; for (; _H3 < 3; _H3++) { var _6B1 = _vA1.indexOf(",", _5B1); if (_6B1 == -1) break; _uA1[_H3] = this.trim(_vA1.substr(_5B1, _6B1 - _5B1)); _5B1 = _6B1 + 1 } _uA1[_H3] = this.trim(_vA1.substring(_5B1)); return _H3 + 1 } }; _x8._Va = function(_7B1) { this._7B1 = _7B1 }; _x8._Va.prototype = { _Yz1: function(_py1, name, _By1) { var _mb = this._7B1._PA1(name); if (!_mb) throw "Region not found in atlas: " + _By1 + " (region attachment: " + name + ")"; var _ib = new _x8._Ay1(name); _ib._Sa = _mb; _ib._Iy1(_mb._vb, _mb._xb, _mb._sU, _mb._ic, _mb.rotate); _ib._Cy1 = _mb._NA1; _ib._Dy1 = _mb._OA1; _ib._Ey1 = _mb.width; _ib._Fy1 = _mb.height; _ib._Gy1 = _mb._LA1; _ib._Hy1 = _mb._MA1; return _ib }, _Zz1: function(_py1, name, _By1) { var _mb = this._7B1._PA1(name); if (!_mb) throw "Region not found in atlas: " + _By1 + " (mesh attachment: " + name + ")"; var _ib = new _x8._Yy1(name); _ib._Sa = _mb; _ib._0z1 = _mb._vb; _ib._1z1 = _mb._xb; _ib._2z1 = _mb._sU; _ib._3z1 = _mb._ic; _ib._4z1 = _mb.rotate; _ib._Cy1 = _mb._NA1; _ib._Dy1 = _mb._OA1; _ib._Ey1 = _mb.width; _ib._Fy1 = _mb.height; _ib._Gy1 = _mb._LA1; _ib._Hy1 = _mb._MA1; return _ib }, _1A1: function(_py1, name, _By1) { var _mb = this._7B1._PA1(name); if (!_mb) throw "Region not found in atlas: " + _By1 + " (skinned mesh attachment: " + name + ")"; var _ib = new _x8._9z1(name); _ib._Sa = _mb; _ib._0z1 = _mb._vb; _ib._1z1 = _mb._xb; _ib._2z1 = _mb._sU; _ib._3z1 = _mb._ic; _ib._4z1 = _mb.rotate; _ib._Cy1 = _mb._NA1; _ib._Dy1 = _mb._OA1; _ib._Ey1 = _mb.width; _ib._Fy1 = _mb.height; _ib._Gy1 = _mb._LA1; _ib._Hy1 = _mb._MA1; return _ib }, _3A1: function(_py1, name) { return new _x8._gz1(name); } }; _x8._E8 = function() { this._8B1 = []; this._D9 = []; this._o9 = [] }; _x8._E8.prototype = { _p9: 0, _s9: 0, _r9: 0, _t9: 0, _b9: function(_09, _9B1) { var _fb = _09._fb; var _eA1 = _fb.length; var _f3 = _09._f3, _g3 = _09._g3; var _o9 = this._o9; var _8B1 = this._8B1; var _D9 = this._D9; _o9.length = 0; for (var _H3 = 0, _C9 = _D9.length; _H3 < _C9; _H3++) _8B1.push(_D9[_H3]); _D9.length = 0; for (var _H3 = 0; _H3 < _eA1; _H3++) { var _gb = _fb[_H3]; var _aB1 = _gb._ib; if (!_aB1 || _aB1.type != _x8._lb._zy1) continue; _o9.push(_aB1); var _bB1 = _8B1.length, _NR; if (_bB1 > 0) { _NR = _8B1[_bB1 - 1]; _8B1.splice(_bB1 - 1, 1) } else _NR = []; _D9.push(_NR); _NR.length = _aB1._rb.length; _aB1._Eb(_f3, _g3, _gb._tb, _NR) } if (_9B1) this._cB1() }, _cB1: function() { var _D9 = this._D9; var _p9 = Number.MAX_VALUE, _s9 = Number.MAX_VALUE, _r9 = Number.MIN_VALUE, _t9 = Number.MIN_VALUE; for (var _H3 = 0, _C9 = _D9.length; _H3 < _C9; _H3++) { var _rb = _D9[_H3]; for (var _Fz1 = 0, _cz1 = _rb.length; _Fz1 < _cz1; _Fz1 += 2) { var _f3 = _rb[_Fz1]; var _g3 = _rb[_Fz1 + 1]; _p9 = Math.min(_p9, _f3); _s9 = Math.min(_s9, _g3); _r9 = Math.max(_r9, _f3); _t9 = Math.max(_t9, _g3) } } this._p9 = _p9; this._s9 = _s9; this._r9 = _r9; this._t9 = _t9 }, _dB1: function(_f3, _g3) { return _f3 >= this._p9 && _f3 <= this._r9 && _g3 >= this._s9 && _g3 <= this._t9; }, _eB1: function(_G9, _H9, _I9, _J9) { var _p9 = this._p9, _s9 = this._s9, _r9 = this._r9, _t9 = this._t9; if ((_G9 <= _p9 && _I9 <= _p9) || (_H9 <= _s9 && _J9 <= _s9) || (_G9 >= _r9 && _I9 >= _r9) || (_H9 >= _t9 && _J9 >= _t9)) return ! 1; var _F9 = (_J9 - _H9) / (_I9 - _G9); var _g3 = _F9 * (_p9 - _G9) + _H9; if (_g3 > _s9 && _g3 < _t9) return ! 0; _g3 = _F9 * (_r9 - _G9) + _H9; if (_g3 > _s9 && _g3 < _t9) return ! 0; var _f3 = (_s9 - _H9) / _F9 + _G9; if (_f3 > _p9 && _f3 < _r9) return ! 0; _f3 = (_t9 - _H9) / _F9 + _G9; if (_f3 > _p9 && _f3 < _r9) return ! 0; return ! 1 }, _fB1: function(_gB1) { return this._p9 < _gB1._r9 && this._r9 > _gB1._p9 && this._s9 < _gB1._t9 && this._t9 > _gB1._s9; }, _8a: function(_f3, _g3) { var _D9 = this._D9; for (var _H3 = 0, _C9 = _D9.length; _H3 < _C9; _H3++) if (this._hB1(_D9[_H3], _f3, _g3)) return this._o9[_H3]; return null }, _L9: function(_G9, _H9, _I9, _J9) { var _D9 = this._D9; for (var _H3 = 0, _C9 = _D9.length; _H3 < _C9; _H3++) if (this._iB1(_D9[_H3], _G9, _H9, _I9, _J9)) return this._o9[_H3]; return null }, _hB1: function(_NR, _f3, _g3) { var _cz1 = _NR.length; var _jB1 = _cz1 - 2; var _kB1 = !1; for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1 += 2) { var _lB1 = _NR[_Fz1 + 1]; var _mB1 = _NR[_jB1 + 1]; if ((_lB1 < _g3 && _mB1 >= _g3) || (_mB1 < _g3 && _lB1 >= _g3)) { var _nB1 = _NR[_Fz1]; if (_nB1 + (_g3 - _lB1) / (_mB1 - _lB1) * (_NR[_jB1] - _nB1) < _f3) _kB1 = !_kB1; } _jB1 = _Fz1 } return _kB1 }, _iB1: function(_NR, _G9, _H9, _I9, _J9) { var _cz1 = _NR.length; var _oB1 = _G9 - _I9, _pB1 = _H9 - _J9; var _qB1 = _G9 * _J9 - _H9 * _I9; var _2k = _NR[_cz1 - 2], _3k = _NR[_cz1 - 1]; for (var _Fz1 = 0; _Fz1 < _cz1; _Fz1 += 2) { var _rB1 = _NR[_Fz1], _sB1 = _NR[_Fz1 + 1]; var _tB1 = _2k * _sB1 - _3k * _rB1; var _uB1 = _2k - _rB1, _vB1 = _3k - _sB1; var _wB1 = _oB1 * _vB1 - _pB1 * _uB1; var _f3 = (_qB1 * _uB1 - _oB1 * _tB1) / _wB1; if (((_f3 >= _2k && _f3 <= _rB1) || (_f3 >= _rB1 && _f3 <= _2k)) && ((_f3 >= _G9 && _f3 <= _I9) || (_f3 >= _I9 && _f3 <= _G9))) { var _g3 = (_qB1 * _vB1 - _pB1 * _tB1) / _wB1; if (((_g3 >= _3k && _g3 <= _sB1) || (_g3 >= _sB1 && _g3 <= _3k)) && ((_g3 >= _H9 && _g3 <= _J9) || (_g3 >= _J9 && _g3 <= _H9))) return ! 0; } _2k = _rB1; _3k = _sB1 } return ! 1 }, _xB1: function(_ib) { var index = this._o9.indexOf(_ib); return index == -1 ? null: this._D9[index] }, _yB1: function() { return this._r9 - this._p9 }, _zB1: function() { return this._t9 - this._s9 } }; var _AB1 = 0, _BB1 = 1, _CB1 = 2, _DB1 = 3, _EB1 = 4, _FB1 = 5, _GB1 = 6, _HB1 = 7, _IB1 = 8, _JB1 = 9; var _KB1 = 0, _LB1 = 1, _MB1 = 2, _NB1 = 3; function _OB1(_ce, _Ch) { this.type = _ce; this.id = _Ch; this._ho1 = null }; _OB1.prototype._PB1 = function(_Zn1, _QB1, _RB1, _SB1, _TB1) { var _UB1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var width = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var height = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _VB1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _WB1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _XB1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _YB1 = _RB1; var _ZB1 = new Uint8Array(_Zn1); var __B1 = (_VB1 > 0) ? new Uint8Array(_Zn1, _RB1, _VB1) : null; _RB1 += _VB1; var _0C1 = (_WB1 > 0) ? new Uint8Array(_Zn1, _RB1, _WB1) : null; _RB1 += _WB1; var _1C1 = (_XB1 > 0) ? new Uint8Array(_Zn1, _RB1, _XB1) : null; _RB1 += _XB1; this._2C1(_UB1, width, height, __B1, _0C1, _1C1, _TB1); _RB1 = _YB1 + (((_VB1 + _WB1 + _XB1) + 3) & ~3); return _RB1; }; _OB1.prototype._3C1 = function(_Hz, _Kz) { var _W9 = new ArrayBuffer(4); var _kb = new Uint32Array(_W9); var _I3 = new Uint8Array(_W9); _kb[0] = 0xdeadbeef; if (_I3[0] == 0xef) { return (((_Hz & 0xff) << 8) | (_Kz & 0xff)) } if (_I3[0] == 0xde) { return (((_Kz & 0xff) << 8) | (_Hz & 0xff)) } }; _OB1.prototype._4C1 = function(_5C1) { try { do { if (_5C1[1] == 0xd9) { _5C1 = _5C1.subarray(2) } else if (_5C1[1] == 0xd8) { if ((_5C1[6] === 0x4a) && (_5C1[7] === 0x46) && (_5C1[8] === 0x49) && (_5C1[9] === 0x46)) { var _J3 = this._3C1(_5C1[14], _5C1[15]); var _K3 = this._3C1(_5C1[16], _5C1[17]); var _6C1 = { width: _J3, height: _K3, body: _5C1 }; return _6C1 } _5C1 = _5C1.subarray(4 + this._3C1(_5C1[4], _5C1[5])) } else { _5C1 = _5C1.subarray(2 + this._3C1(_5C1[2], _5C1[3])) } } while (( _5C1 . byteLength >= 0 ) && (_5C1[0] == 0xff)) } catch(e) { debug(e.message) } var _6C1 = { width: _J3, height: _K3, body: _5C1 }; return _6C1 }; _OB1.prototype._2C1 = function(_ce, _Aa, _Ba, _5C1, _7C1, _8C1, _9C1) { switch (_ce) { case _EB1: { this._ho1 = this._aC1(_Aa, _Ba, _5C1, "gif") } break; case _DB1: { this._ho1 = this._aC1(_Aa, _Ba, _5C1, "png") } break; case _BB1: case _AB1: { this._ho1 = this._aC1(_Aa, _Ba, _5C1, "jpeg"); } break; case _CB1: { var _6C1 = this._4C1(_5C1); this._ho1 = this._aC1(_6C1.width, _6C1.height, _6C1.body, "jpeg", function(_lG) { var _bC1 = String.fromCharCode.apply(null, new Uint16Array(_7C1)); var _bC1 = _bC1.split('').map(function(e) { return e.charCodeAt(0) }); var _cC1 = window["Zlib"]; var _dC1 = new _cC1["Inflate"](_bC1); var _eC1 = _dC1["decompress"](); this._ho1 = _ek1(_lG, _eC1) }) } break; case _FB1: case _IB1: { this._ho1 = null } break; case _GB1: case _HB1: case _JB1: { var _ho1 = new Image(); var _Kd = _sa._ak1(_ho1, _5C1, _Aa, _Ba); _ho1.__b = _Kd; _ho1._Od = _Aa; _ho1._Pd = _Ba; this._ho1 = _ho1 } break; default: break } }; _OB1.prototype._aC1 = function(_Aa, _Ba, _5C1, _fC1, _cz, _gC1) { var _hC1 = new Uint16Array(_5C1); var _iC1 = ""; for (var _H3 = 0, _R9 = _hC1.length; _H3 < _R9; _H3++) { _iC1 += String.fromCharCode(_hC1[_H3]) } var _jC1 = window._kC1(_iC1); var _lC1 = "data:image/" + _fC1 + ";base64," + _jC1; var img = new Image(); img.onload = function() { var _Kj = { _Ga: img }; _0c(_Kj); if (_cz) { _cz(_Kj) } }; img.onerror = function(e) { debug(e); if (_gC1) { _gC1(e) } }; img.src = _lC1; return img }; function _ek1(_lG, _Gd) { var _Kd = _sa._ek1(_lG._Ga.__b, _Gd); _lG._Ga.__b = _Kd; _lG._Ga._Od = _Kd._gk1; _lG._Ga._Pd = _Kd._hk1; return _lG._Ga } var _mC1 = 0, _nC1 = 1, _oC1 = 2; var _pC1 = 0, _qC1 = 1, _rC1 = 2, _sC1 = 3; var _tC1 = 0, _uC1 = 1; var _vC1 = { _LM: 0, _MM: 0, version: 1 }; function _wC1(_ce, _Ch) { this.type = _ce; this.id = _Ch }; _wC1.prototype._xC1 = function(_QB1, _RB1, _SB1, _yC1) { this._p9 = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4; this._r9 = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4; this._s9 = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4; this._t9 = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4; var _zC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; this._AC1 = []; for (var _H3 = 0; _H3 < _zC1; _H3++) { var _BC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _CC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _DC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _EC1 = { _BC1: _BC1, _CC1: _CC1, _DC1: _DC1 }; _EC1._FC1 = (_BC1 > 0) ? [] : null; _EC1._GC1 = (_CC1 > 0) ? [] : null; _EC1._HC1 = (_DC1 > 0) ? [] : null; _RB1 = this._IC1(_EC1, _QB1, _RB1, _SB1, _yC1); _RB1 = this._JC1(_EC1, _QB1, _RB1, _SB1); _RB1 = this._KC1(_EC1, _QB1, _RB1, _SB1); this._AC1.push(_EC1) } return _RB1 }; _wC1.prototype._IC1 = function(_LC1, _QB1, _RB1, _SB1, _yC1) { _LC1._FC1 = []; for (var _H3 = 0; _H3 < _LC1._BC1; _H3++) { var _MC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _NC1 = null; switch (_MC1) { case _qC1: { _NC1 = { type: _qC1 }; var _xk = _QB1.getUint8(_RB1, _SB1); _RB1++; var _yk = _QB1.getUint8(_RB1, _SB1); _RB1++; var _zk = _QB1.getUint8(_RB1, _SB1); _RB1++; var alpha = _QB1.getUint8(_RB1, _SB1); _RB1++; _NC1._1b = (_xk | (_yk << 8) | (_zk << 16) | (alpha << 24)) } break; case _rC1: { _NC1 = { type: _rC1 }; _NC1._OC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _PC1 = []; for (var _F9 = 0; _F9 < 9; _F9++) { _PC1[_F9] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } _NC1._PC1 = new _Gn(); _NC1._PC1._F9[_Yo] = _PC1[0]; _NC1._PC1._F9[_Zo] = _PC1[1]; _NC1._PC1._F9[_0p] = _PC1[2]; _NC1._PC1._F9[_1p] = _PC1[3]; _NC1._PC1._F9[_Rn] = _PC1[4]; _NC1._PC1._F9[_3p] = _PC1[5]; _NC1._QC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _NC1._RC1 = []; for (var _F9 = 0; _F9 < _NC1._QC1; _F9++) { var _Ca1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _xk = _QB1.getUint8(_RB1, _SB1); _RB1++; var _yk = _QB1.getUint8(_RB1, _SB1); _RB1++; var _zk = _QB1.getUint8(_RB1, _SB1); _RB1++; var alpha = _QB1.getUint8(_RB1, _SB1); _RB1++; _NC1._RC1.push({ _Ca1: _Ca1, _1b: (_xk | (_yk << 8) | (_zk << 16) | (alpha << 24)) }) } _NC1._Ld = null; this._SC1(_NC1) } break; case _sC1: { _NC1 = { type: _sC1 }; _NC1._TC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _NC1._UC1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _NC1._VC1 = -1; for (var index = 0; index < _yC1.length; index++) { if (_yC1[index].id === _NC1._UC1) { _NC1._VC1 = index; break } } var _PC1 = []; for (var _F9 = 0; _F9 < 9; _F9++) { _PC1[_F9] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } _NC1._PC1 = new _Gn(); _NC1._PC1._F9[_Yo] = _PC1[0]; _NC1._PC1._F9[_Zo] = _PC1[1]; _NC1._PC1._F9[_0p] = _PC1[2]; _NC1._PC1._F9[_1p] = _PC1[3]; _NC1._PC1._F9[_Rn] = _PC1[4]; _NC1._PC1._F9[_3p] = _PC1[5]; } break } _LC1._FC1.push(_NC1) } return _RB1 }; _wC1.prototype._SC1 = function(_WC1) { if ((_WC1 === null) || (_WC1 === undefined)) { return } var _XC1 = 256, _YC1 = 1, _ZC1 = 64, __C1 = 64; var _0D1 = []; var width, height; switch (_WC1._OC1) { default: return; case _tC1: { width = _XC1; height = _YC1; for (var _H3 = 0; _H3 < _XC1; _H3++) { _0D1[_H3] = this._1D1(_WC1, _H3) } } break; case _uC1: { width = _ZC1; height = __C1; var _2D1 = (_ZC1 - 1) / 2; var _3D1 = (__C1 - 1) / 2; var _PO = _U9(_2D1, _3D1); for (var __9 = 0; __9 < __C1; __9++) { for (var _H3 = 0; _H3 < _ZC1; _H3++) { var _0r1 = _H3 - _2D1; var _Zq1 = __9 - _3D1; var _kA = Math.sqrt(_0r1 * _0r1 + _Zq1 * _Zq1); _kA /= _PO; var _Ca1 = 255 * _kA; _0D1[(__9 * _ZC1) + _H3] = this._1D1(_WC1, _Ca1) } } } break } _WC1._Ld = _4D1(width, height, _0D1) }; function _4D1(_vh, _wh, _bk1) { var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); var _Kd = _sa._ck1(_QF, _bk1, _vh, _wh); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _Kd._gk1; _Kj._K3 = _Kd._hk1; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _vh; _Kj._x5 = _wh; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; _Kj._Ga.__b = _Kd; _Kj._Ga._Od = _QF.width; _Kj._Ga._Pd = _QF.height; return _Kj; } _wC1.prototype._1D1 = function(_WC1, _5D1) { if (_WC1._QC1 <= 0) { return 0 } _5D1 = (_5D1 < 0) ? 0 : (_5D1 > 255) ? 255 : _5D1; if (_5D1 < _WC1._RC1[0]._Ca1) { return _WC1._RC1[0]._1b } for (var _H3 = 1; _H3 < _WC1._QC1; _H3++) { var _6D1 = _WC1._RC1[_H3]; if (_6D1._Ca1 >= _5D1) { var _7D1 = _WC1._RC1[_H3 - 1]; var _8D1 = 0; if (_6D1._Ca1 != _7D1._Ca1) { _8D1 = ((_5D1 - _7D1._Ca1) << 8) / (_6D1._Ca1 - _7D1._Ca1) } var _9D1 = 256 - _8D1; var _1b = _6D1._1b; var _aD1 = _7D1._1b; var _bD1 = []; _bD1[0] = ((_1b & 0xff) * _8D1) >> 8; _bD1[1] = (((_1b >> 8) & 0xff) * _8D1) >> 8; _bD1[2] = (((_1b >> 16) & 0xff) * _8D1) >> 8; _bD1[3] = (((_1b >> 24) & 0xff) * _8D1) >> 8; _bD1[0] += ((_aD1 & 0xff) * _9D1) >> 8; _bD1[1] += (((_aD1 >> 8) & 0xff) * _9D1) >> 8; _bD1[2] += (((_aD1 >> 16) & 0xff) * _9D1) >> 8; _bD1[3] += (((_aD1 >> 24) & 0xff) * _9D1) >> 8; var _cD1 = _bD1[0] | (_bD1[1] << 8) | (_bD1[2] << 16) | (_bD1[3] << 24); return _cD1 } } return _WC1._RC1[_WC1._QC1 - 1]._1b }; _wC1.prototype._JC1 = function(_LC1, _QB1, _RB1, _SB1) { _LC1._GC1 = []; for (var _H3 = 0; _H3 < _LC1._CC1; _H3++) { var _xk = _QB1.getUint8(_RB1, _SB1); _RB1++; var _yk = _QB1.getUint8(_RB1, _SB1); _RB1++; var _zk = _QB1.getUint8(_RB1, _SB1); _RB1++; var alpha = _QB1.getUint8(_RB1, _SB1); _RB1++; _LC1._GC1.push({ _1b: (_xk | (_yk << 8) | (_zk << 16) | (alpha << 24)) }) } return _RB1 }; _wC1.prototype._KC1 = function(_LC1, _QB1, _RB1, _SB1) { var _H3, _F9; _LC1._HC1 = []; for (_H3 = 0; _H3 < _LC1._DC1; _H3++) { var _dD1 = {}; _LC1._HC1.push(_dD1); _dD1._eD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._fD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._gD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._hD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._iD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._jD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._kD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._lD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; if (_vC1.version >= 2) { _dD1._mD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._nD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } if (_vC1.version >= 3) { _dD1._oD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _dD1._pD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } _dD1._qD1 = (_dD1._hD1 > 0) ? [] : null; _dD1._rD1 = (_dD1._iD1 > 0) ? [] : null; _dD1._sD1 = (_dD1._jD1 > 0) ? [] : null; _dD1._tD1 = (_dD1._kD1 > 0) ? [] : null; _dD1._uD1 = (_dD1._lD1 > 0) ? [] : null; _dD1._vD1 = (_dD1._mD1) ? [] : null; _dD1._wD1 = (_dD1._nD1) ? [] : null; _dD1._xD1 = (_dD1._oD1) ? [] : null; _dD1._yD1 = (_dD1._pD1) ? [] : null; for (_F9 = 0; _F9 < _dD1._hD1 * 2; _F9++) { _dD1._qD1[_F9] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } for (_F9 = 0; _F9 < _dD1._iD1 * 2; _F9++) { _dD1._zD1[_F9] = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } for (_F9 = 0; _F9 < _dD1._jD1 * 3; _F9++) { _dD1._sD1[_F9] = _QB1.getUint32(_RB1, _SB1); _RB1 += 4 } for (_F9 = 0; _F9 < _dD1._kD1 * 2; _F9++) { _dD1._tD1[_F9] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } for (_F9 = 0; _F9 < _dD1._lD1 * 3; _F9++) { _dD1._uD1[_F9] = _QB1.getUint32(_RB1, _SB1); _RB1 += 4 } if (_vC1.version >= 2) { for (_F9 = 0; _F9 < _dD1._mD1 * 2; _F9++) { _dD1._vD1[_F9] = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } for (_F9 = 0; _F9 < _dD1._nD1 * 2; _F9++) { _dD1._wD1[_F9] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } } if (_vC1.version >= 3) { for (_F9 = 0; _F9 < _dD1._oD1 * 2; _F9++) { _dD1._xD1[_F9] = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } for (_F9 = 0; _F9 < _dD1._pD1 * 2; _F9++) { _dD1._yD1[_F9] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } } } return _RB1 }; var _AD1 = 1.0 / 20.0; function _BD1() { this._CD1 = 0; this._DD1 = 0; this._p9 = 0; this._r9 = 0; this._s9 = 0; this._t9 = 0; this._ED1 = null }; _BD1.prototype._FD1 = function(_QB1, _RB1, _SB1) { this._CD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; this._DD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; this._p9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; this._r9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; this._s9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; this._t9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; var _GD1, _HD1, _ID1; _GD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _HD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _ID1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; this._ED1 = { _GD1: _GD1, _HD1: _HD1, _ID1: _ID1 }; this._JD1 = []; for (var _H3 = 0; _H3 < this._DD1; _H3++) { var _KD1 = {}; this._JD1.push(_KD1); _KD1._LD1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _KD1._p9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _KD1._r9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _KD1._s9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _KD1._t9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _KD1._MD1 = []; for (var __9 = 0; __9 < _KD1._LD1; __9++) { var _Oy = {}; _KD1._MD1.push(_Oy); _Oy.__y = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _Oy.index = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _Oy._R3 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; _Oy._ND1 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _OD1 = []; for (var _eT = 0; _eT < 4; _eT++) { _OD1[_eT] = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } var _PD1 = []; for (var _eT = 0; _eT < 4; _eT++) { _PD1[_eT] = _QB1.getInt32(_RB1, _SB1); _RB1 += 4 } _Oy._QD1 = []; _Oy._RD1 = []; _Oy._SD1 = []; _Oy._QD1[0] = _OD1[2]; _Oy._RD1[0] = _PD1[2]; _Oy._SD1[0] = 0; _Oy._QD1[1] = _OD1[1]; _Oy._RD1[1] = _PD1[1]; _Oy._SD1[1] = _PD1[1]; _Oy._QD1[2] = _OD1[0]; _Oy._RD1[2] = _PD1[0]; _Oy._SD1[2] = _PD1[0]; _Oy._QD1[3] = _OD1[3]; _Oy._RD1[3] = _PD1[3]; _Oy._SD1[3] = _PD1[3]; _Oy._p9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _Oy._r9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _Oy._s9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; _Oy._t9 = _QB1.getFloat32(_RB1, _SB1) * _AD1; _RB1 += 4; var _PC1 = []; for (var _eT = 0; _eT < 9; _eT++) { _PC1[_eT] = _QB1.getFloat32(_RB1, _SB1); _RB1 += 4 } _Oy._PC1 = new _Gn(); _Oy._PC1._F9[_Yo] = _PC1[0]; _Oy._PC1._F9[_Zo] = _PC1[1]; _Oy._PC1._F9[_0p] = _PC1[2]; _Oy._PC1._F9[_1p] = _PC1[3]; _Oy._PC1._F9[_Rn] = _PC1[4]; _Oy._PC1._F9[_3p] = _PC1[5] } } return _RB1 }; var _TD1 = -1; var _bh = null; var _UD1 = 0; var _VD1 = 0; var _WD1 = { _f3: 0, _g3: 0, _Cc: 0 }; var _XD1 = "en"; function _YD1(canvas) { debug = _ZD1; _PD = __D1; _zt = _0E1; tizen.systeminfo.getPropertyValue("LOCALE", _1E1, null); _dK = _2E1; _fK = _3E1; _hK = _4E1; debug('------- Tizen_Init -------------'); debug('href=' + window.location._5E1); debug('canvas size:' + canvas.width + ',' + canvas.height); debug('window size:' + window.innerWidth + ',' + window.innerHeight); debug('clientWidth:' + document.documentElement.clientWidth); debug('clientHeight:' + document.documentElement.clientHeight); debug('displayName:' + _Yp._A5._Y5); _BL = canvas.width; _CL = canvas.height; var _6E1 = document.documentElement.clientWidth; var _7E1 = document.documentElement.clientHeight; _7E1 -= _VD1; if (0) { var _8E1 = _7E1 / _6E1; var _9E1 = canvas.height / canvas.width; if (_8E1 > _9E1) { canvas.width = _6E1; canvas.height = _6E1 * _9E1; _T6(0, (_7E1 - canvas.height) * 0.5) } else { canvas.height = _7E1; canvas.width = _7E1 / _9E1; _T6((_6E1 - canvas.width) * 0.5, 0) } } else { _T6(0, 0); canvas.width = _6E1; canvas.height = _7E1; debug("set window rect " + _6E1 + "," + _7E1) } _Iu = _aE1; _vJ = _bE1; _cE1(); debug("PushEnable=" + _Yp._A5._dE1); if (_Yp._A5._dE1) { _eE1() } { _bh = _fE1 } document.addEventListener("webkitvisibilitychange", _gE1, !1); if (window["DeviceMotionEvent"]) { debug("DeviceMotionEvent is supported"); window.addEventListener('devicemotion', _hE1, !1) } else debug("DeviceMotionEvent NOT supported"); window.addEventListener('tizenhwkey', _iE1, !1); window._jE1 = _kE1 } function _0E1() { return _XD1 } function _1E1(_lE1) { var _mE1 = _lE1["language"]; var _nE1 = _mE1.slice(0, 2); _XD1 = _nE1 } function __D1() { debug("game_end"); tizen.application.getCurrentApplication().exit() } function _iE1(_fr) { var _oE1 = 0; if (_fr['keyName'] == 'back') { _oE1 = 8 } else if (_fr['keyName'] == 'menu') { _oE1 = 77 } if (_oE1 != 0) { _0z(_oE1); _4z(_oE1) } } function _kE1() { console.log("tizenUnload"); _lF() } function _pE1() { var _6E1 = document.documentElement.clientWidth; var _7E1 = document.documentElement.clientHeight; debug('Tizen_ResizeCanvas: ' + _6E1 + ',' + _7E1); _nI(0, 0, _6E1, _7E1) } function _hE1(_fr) { var _qE1 = _fr["accelerationIncludingGravity"]; var _rE1 = 1.0 / 9.81; _WD1._f3 = _qE1["x"] * _rE1; _WD1._g3 = _qE1["y"] * _rE1; _WD1._Cc = _qE1["z"] * _rE1 } function _gE1() { if (_Yp._A5.FlurryId) { if (document.webkitHidden == !0) { debug('pause flurry session'); FlurryAgent._sE1() } else if (document.webkitHidden == !1) { debug('resume flurry session: ' + _Yp._A5.FlurryId); FlurryAgent.startSession(_Yp._A5.FlurryId) } } } function _tE1() { tizen.systeminfo.getPropertyValue("DEVICE_ORIENTATION", _uE1, null) } function _uE1(_vE1) { var _vE1 = _vE1['status']; if (_TD1 != _vE1) { var _wE1 = Math.abs(_WD1._Cc); if (_wE1 < 0.75 || _TD1 == -1) { _xE1(_vE1) } } } function _bE1(_lz, _xJ, _yJ) { debug("tizenUrlOpen:" + _lz); var appControl = new tizen["ApplicationControl"]("http://tizen.org/appcontrol/operation/view", _lz); tizen["application"]["launchAppControl"](appControl, null, function() { console.log("launch application control succeed") }, function(e) { console.log("launch application control failed. reason: " + e.message) }, null) } function _xE1(_yE1) { debug("orientation changed: " + _yE1); var _vE1 = _Yp._A5.RotateCanvas; if (_TD1 != -1) { if (_vE1 == 0 && (_yE1 == "LANDSCAPE_PRIMARY" || _yE1 == "LANDSCAPE_SECONDARY")) return 0; if (_vE1 == 1 && (_yE1 == "PORTRAIT_PRIMARY" || _yE1 == "PORTRAIT_SECONDARY")) return 0 } var _zE1 = document.getElementById("gm4html5_div_id"); var _6E1 = document.documentElement.clientWidth; var _7E1 = document.documentElement.clientHeight; var _AE1 = !1; var _Mb = _VD1; var _Lb = 0; switch (_yE1) { case "PORTRAIT_PRIMARY": { _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)"; break } case "PORTRAIT_SECONDARY": { if (_vE1 == 0 || _vE1 == 2) { _Mb = 0; _zE1.style.webkitTransform = "rotate(180deg) translateY(-" + _7E1 + "px)" } else { _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)"; } break } case "LANDSCAPE_SECONDARY": { if (_vE1 == 2) { _zE1.style.webkitTransform = "rotate(-90deg) translateY(-" + _6E1 / 2 + "px) translateX(-" + (_7E1 - _6E1 / 2) + "px)"; _AE1 = !0 } else if (_vE1 == 1) { _zE1.style.webkitTransform = "rotate(180deg) translateX(0px) translateY(-" + _7E1 + "px)"; _Mb = 0 } else { _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)" } break } case "LANDSCAPE_PRIMARY": { if (_vE1 == 2) { _zE1.style.webkitTransform = "rotate(90deg) translateX(" + _6E1 / 2 + "px) translateY(-" + _6E1 / 2 + "px)"; _AE1 = !0; _Lb = _VD1 } else { _zE1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)" } break } default: debug("****** Unknown ori: " + _TD1); break } if (_AE1) { _7E1 -= _VD1; debug("window_set_rectangle: " + _7E1 + "," + _6E1); _nI(0, 0, _7E1, _6E1) } else { _7E1 -= _VD1; debug("window_set_rectangle: " + _6E1 + "," + _7E1); _nI(0, 0, _6E1, _7E1) } _TD1 = _yE1 } function _fE1(_8h, _ch) { var _BE1 = _8h.pageX; var _CE1 = _8h.pageY; var _vE1 = _Yp._A5.RotateCanvas; var _6E1 = document.documentElement.clientWidth; var _7E1 = document.documentElement.clientHeight; _ch._f3 = _BE1; _ch._g3 = _CE1; switch (_TD1) { case "PORTRAIT_PRIMARY": break; case "PORTRAIT_SECONDARY": { if (_vE1 == 0 || _vE1 == 2) { _ch._f3 = _6E1 - _BE1; _ch._g3 = _7E1 - _CE1 } break } case "LANDSCAPE_SECONDARY": { if (_vE1 == 2) { _ch._f3 = _7E1 - _CE1; _ch._g3 = _BE1 } else if (_vE1 == 1) { _ch._f3 = _6E1 - _BE1; _ch._g3 = _7E1 - _CE1 } break } case "LANDSCAPE_PRIMARY": { if (_vE1 == 2) { _ch._f3 = _CE1; _ch._g3 = _6E1 - _BE1 } break } default: debug("****** Unknown ori: " + _TD1); break } } function _aE1() { if (_TD1 == "PORTRAIT_PRIMARY" || _TD1 == "PORTRAIT_SECONDARY") { return 1 } return 0 } function _ZD1() { var index; for (index = 0; index < arguments.length; ++index) { console.log(arguments[index]) } } function _2E1() { return _WD1._f3 } function _3E1() { return _WD1._g3 } function _4E1() { return _WD1._Cc } var _DE1 = "Not Enabled"; var _EE1 = "Not Available"; var _FE1 = "Loading"; var _GE1 = "Available"; var _HE1 = "Processing Order"; function _IE1() { this._JE1 = _DE1; this._KE1 = !1; this._LE1 = ""; this._ME1 = 0; this._NE1 = !0; this._OE1 = null; this._Vx = -1 } var _PE1 = new _IE1(); var _QE1 = 128; function _cE1() { _Bx = _RE1; _Dx = _SE1; _Ex = _TE1; _Fx = _UE1; _Gx = _VE1; _Bi = _WE1 } function _WE1() { var _XE1 = tizen.systeminfo.getCapabilities(); var _YE1 = _XE1["duid"]; return _YE1.toString() } function _ZE1() { _Cx({ type: _px, status: _ux }) } function __E1() { _Cx({ type: _px, status: _vx }) } _IE1.prototype._0F1 = function(_1F1, _2F1) { this._JE1 = _1F1; if (_2F1 != undefined) { debug("Tizen IAP State-> " + _1F1 + " : " + _2F1) } else { debug("Tizen IAP State-> " + _1F1) } }; _IE1.prototype._3F1 = function() { return this._JE1 }; _IE1.prototype._4F1 = function(_5F1) { this._NE1 = _Yp._A5.IAPSandbox; if (this._NE1) { debug("Activating Tizen IAP in SANDBOX mode with groupID:" + _5F1); } else { debug("Activating Tizen IAP in COMMERCIAL mode with groupID:" + _5F1) } this._LE1 = _5F1; this._0F1(_FE1); this._6F1() }; var _7F1 = { onfailure: function() { console.log("AppControlReplyCB onfailure!"); _PE1._0F1(_EE1); _ZE1() }, onsuccess: function(_8F1) { if (_8F1 != null) { var data = {}; var _H3; var length = _8F1.length; for (_H3 = 0; _H3 < length; _H3++) { data[_8F1[_H3]._pz] = _8F1[_H3].value + '' } var _9F1 = data["_result"]; var _aF1 = _bF1(_9F1); var method = data["_method"]; debug("IAP callback: method:" + method + " result:" + _9F1 + " " + _aF1); if (method == 'OnPurchaseItemInitialized') { _PE1._cF1(data, _9F1) } else if (method == 'OnPurchaseItemFinished') { _PE1._dF1(data, _9F1) } else if (method == 'OnItemInformationListReceived') { _PE1._eF1(data, _9F1) } else if (method == 'OnPurchasedItemInformationListReceived') { _PE1._fF1(data, _9F1) } } } }; function _bF1(_gF1) { var _hF1 = parseInt(_gF1, 10); switch (_hF1) { case 0: return ('Success'); case 100: return ('Request cancelled'); case 200: return ('Network error occured'); case 9000: return ('Process error occured'); case 9200: return ('Service Unavailable'); case 9201: return ('Item GroupId NotFound'); case 9203: return ('PaymentId Not Found'); case 9207: return ('ItemId Not Found') } return ('Unknown status code ' + _9F1) } _IE1.prototype._iF1 = function(_bk1, _jF1) { var _oi = new Object(); _oi.id = _bk1[_jF1 + '_itemId']; _oi.name = _bk1[_jF1 + '_itemName']; _oi._kF1 = _bk1[_jF1 + '_itemDownloadUrl']; _oi.description = _bk1[_jF1 + '_itemDescription']; _oi._Kx = ""; var _lF1 = _bk1[_jF1 + '_itemPrice']; var _mF1 = _bk1[_jF1 + '_currencyUnit']; var _nF1 = _bk1[_jF1 + '_unitPrecedes']; var _oF1 = _bk1[_jF1 + '_hasPenny']; var _pF1 = _lF1.split('.'); _pF1 = _pF1[0] + '.' + _pF1[1].substr(0, 2); _oi._Jx = _pF1; return _oi }; _IE1.prototype._qF1 = function(_rF1) { var _Bo1 = "{ \"productId\":\"" + _rF1.id + "\"" + ", \"title\":\"" + _rF1.name + "\"" + ", \"price\":\"" + _rF1._Jx + "\"" + ", \"description\":\"" + _rF1.description + "\"}"; _Cx({ type: _qx, _0y: _Bo1 }) }; _IE1.prototype._sF1 = function(_tF1, _Do1, _uF1, _vF1) { var _wF1 = 0; var _xF1 = -3; var _Kx = (_vF1) ? _wF1: _xF1; var _Bo1 = "{ \"productId\":\"" + _tF1 + "\"" + ", \"purchaseIndex\":" + _Do1 + ", \"purchaseState\":" + _Kx + ", \"response\":" + _uF1 + " }"; _Cx({ type: _rx, _0y: _Bo1 }) }; var _yF1 = _IE1._eF1; _IE1.prototype._eF1 = function(_bk1, _Co1) { if (_Co1 == 0) { var _zF1 = parseInt(_bk1["_startNumber"]); var _AF1 = parseInt(_bk1["_endNumber"]); for (var _H3 = _zF1; _H3 <= _AF1; _H3++) { var _oi = this._iF1(_bk1, _H3); _oi._Kx = "Available"; this._qF1(_oi) } this._0F1(_FE1, "retrieving purchased items..."); this._BF1() } else { this._0F1(_EE1, "failed to get buy item list"); _ZE1() } }; var _CF1 = _IE1._fF1; _IE1.prototype._fF1 = function(_bk1, _Co1) { if (_Co1 == 0) { var _zF1 = parseInt(_bk1["_startNumber"]); var _AF1 = parseInt(_bk1["_endNumber"]); for (var _H3 = _zF1; _H3 <= _AF1; _H3++) { var _oi = this._iF1(_bk1, _H3); this._qF1(_oi); this._sF1(_oi.id, -1, 0, !0) } this._0F1(_GE1, "got purchased item list"); __E1(); this._KE1 = !0 } else { this._0F1(_GE1, "failed to get purchased item list - user not signed in?"); __E1(); this._KE1 = !0 } }; var _DF1 = _IE1._cF1; _IE1.prototype._cF1 = function(_bk1, _Co1) { var _EF1 = _bk1['_transactionId']; if (_Co1 == 0) { var _FF1 = _bk1['_itemId']; var _GF1 = [new tizen.ApplicationControlData('_transactionId', [_EF1]), new tizen.ApplicationControlData('_itemId', [_FF1]), new tizen.ApplicationControlData('_purchaseResume', ['1'])]; this._HF1('http://tizen.org/appcontrol/operation/iap/purchase', 'tizeninapp.IapClient', _GF1, _7F1) } else { debug("IAP purchase was not successful"); this._sF1(this._OE1, _EF1, _Co1, !1); this._OE1 = null; this._0F1(_GE1) } }; var _IF1 = _IE1._dF1; _IE1.prototype._dF1 = function(_bk1, _Co1) { var _JF1 = (_Co1 == 0); var _EF1 = _bk1['_transactionId']; if (_JF1) { debug("IAP purchase was successful") } else { debug("IAP purchase failed with status:" + _bF1(_Co1)) } this._sF1(this._OE1, _EF1, _Co1, _JF1); this._0F1(_GE1, "purchase operation finished"); }; _IE1.prototype._HF1 = function(_KF1, _tp1, _LF1) { if (this._NE1) { _LF1.push(new tizen.ApplicationControlData('_mcc', ['250'])); _LF1.push(new tizen.ApplicationControlData('_mnc', ['01'])); _LF1.push(new tizen.ApplicationControlData('_mode', ['1'])) } else { _LF1.push(new tizen.ApplicationControlData('_mode', ['0'])) } var _MF1 = new tizen.ApplicationControl(_KF1, null, null, null, _LF1); tizen.application.launchAppControl(_MF1, _tp1, function() {}, function(e) { console.log("launch app control fail - Reason: " + e); if (_tp1 == "tizeninapp.IapClient") { this._0F1(_GE1); this._sF1(this._OE1, this._Vx, 9000, !1) } else { this._0F1(_EE1); _ZE1() } }, _7F1) }; _IE1.prototype._6F1 = function() { var _NF1 = 1; var _OF1 = _QE1; var _LE1 = this._LE1; this._ME1 += 1; var _PF1 = this._ME1; var _GF1 = [new tizen.ApplicationControlData('_transactionId', [_PF1]), new tizen.ApplicationControlData('_startNumber', [_NF1]), new tizen.ApplicationControlData('_endNumber', [_OF1]), new tizen.ApplicationControlData('_itemGroupId', [_LE1])]; this._HF1('http://tizen.org/appcontrol/operation/iap/get_item_list', 'tizeninapp.IapService', _GF1, _7F1) }; _IE1.prototype._BF1 = function() { var _NF1 = 1; var _OF1 = _QE1; var _LE1 = this._LE1; this._ME1 += 1; var _PF1 = this._ME1; var _GF1 = [new tizen.ApplicationControlData('_transactionId', [_PF1]), new tizen.ApplicationControlData('_startNumber', [_NF1]), new tizen.ApplicationControlData('_endNumber', [_OF1]), new tizen.ApplicationControlData('_itemGroupId', [_LE1])]; this._HF1('http://tizen.org/appcontrol/operation/iap/get_purchased_item_list', 'tizeninapp.IapService', _GF1, _7F1) }; _IE1.prototype._QF1 = function(_RF1, _Do1) { this._OE1 = _RF1; this._Vx = _Do1; var _SF1 = _RF1; var _LE1 = this._LE1; var _GF1 = [new tizen.ApplicationControlData('_itemId', [_SF1]), new tizen.ApplicationControlData('_itemGroupId', [_LE1]), new tizen.ApplicationControlData('_transactionId', [_Do1]), ]; this._0F1(_HE1); this._HF1('http://tizen.org/appcontrol/operation/iap/purchase', 'tizeninapp.IapClient', _GF1, _7F1) }; function _RE1(_zo1) { var _LE1 = _Yp._A5._TF1; if (typeof(_LE1) != "string" || _LE1.length <= 0) { debug("Tizen Item Group ID not set") } else { _PE1._4F1(_LE1) } } function _TE1(_RF1, _Do1) { _PE1._QF1(_RF1, _Do1) } function _UE1(_Ch) { debug("Tizen IAP does not support consumables"); var _UF1 = 0; var _Bo1 = "{ \"productId\":\"" + _Ch + "\"" + ", \"consumed\":\"false\"" + ", \"response\":" + _UF1 + " }"; _Cx({ type: _sx, _0y: _Bo1 }) } function _SE1() { var _Co1 = 0; _Cx({ type: _tx, _8j: _Co1 }) } function _VE1(_Ch) { var response = "{ \"response\":6 }"; _Cx({ type: _qx, _0y: response }) } var _VF1 = 0; var _WF1 = 1; var _XF1 = 2; var _YF1 = []; function _ZF1(__F1, _ce, _0G1) { this._JF1 = __F1; this.type = _ce; this.data = _0G1 } function _eE1() { _PI = _1G1; _2G1 = _3G1; _4G1(); _5G1(); var _6G1 = tizen.application.getCurrentApplication().getRequestedAppControl(); if (_6G1) { console.log("Requester AppID : " + _6G1.callerAppId); var appControl = _6G1.appControl; var _7G1 = _8G1(appControl); if (_7G1 != null) { _9G1(!0, _WF1, _7G1) } } } function _4G1() { debug("Register push service..."); var _aG1 = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_notify"); tizen.push.registerService(_aG1, _bG1, _cG1) } var _dG1 = _cG1; function _cG1(response) { debug('Push registration error: ' + response['name']); debug('response.code= ' + response['code']); debug('response.message= ' + response['message']); _9G1(!1, _VF1, response['name']) } var _eG1 = _bG1; function _bG1(id) { debug("Push Registration succeeded with id: " + id); _9G1(!0, _VF1, id); debug("Connect to push service..."); tizen.push.connectService(_fG1, _gG1) } var _hG1 = _gG1; function _gG1(response) { console.log('# # # # #Push error callback: ' + response['name']); _9G1(!1, _WF1, response['name']) } var _iG1 = _fG1; function _fG1(_jG1) { console.log("# # # # Push notification received"); var message = _jG1['alertMessage']; var _7G1 = _jG1['appData']; if (_tL == !1) { _kG1(message, _7G1) } else { _9G1(!0, _WF1, _7G1) } } function _kG1(_lG1, _bk1) { console.log("PostNotification: " + _lG1); try { var _mG1 = tizen.application.getAppInfo(); var _nG1 = _mG1['id'].split("."); var _oG1 = "/opt/apps/" + _nG1[0] + "/res/wgt/icon.png"; var _pG1 = {}; _pG1['content'] = _lG1; _pG1['iconPath'] = _oG1; _pG1['vibration'] = !0; _pG1['appId'] = _mG1['id']; var _LF1 = new tizen.ApplicationControlData("http://tizen.org/appcontrol/data/push/appdata", [_bk1]); var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_notify", null, null, null, [_LF1]); _pG1['appControl'] = appControl; var _qG1 = _nG1[1]; var notification = new tizen.StatusNotification("SIMPLE", _qG1, _pG1); tizen.notification.post(notification) } catch(err) { console.log(err.name + ": " + err.message) } } function _1G1() { if (_YF1.length <= 0) return; console.log("tizenPushEventsDispatch: " + _YF1.length + " events"); var map = _9i(); _w6._rG1 = map; for (var _H3 = 0; _H3 < _YF1.length; ++_H3) { var _sG1 = _YF1[_H3]; var _tG1 = ""; switch (_sG1.type) { case 0: _tG1 = "register"; break; case 1: _tG1 = "remote"; break; case 2: _tG1 = "local"; break } _ei(map); if (!_sG1._JF1) { _ji(map, "status", 0); _ji(map, "type", _tG1); _ji(map, "error", _sG1.data) } else if (_sG1.type == _VF1) { _ji(map, "type", _tG1); _ji(map, "status", 1); _ji(map, "reg_id", _sG1.data) } else { _ji(map, "type", _tG1); _ji(map, "status", 1); _ji(map, "data", _sG1.data) } _Ys._uG1(_vG1, 0) } _ci(map); _w6._rG1 = -1; _YF1.length = 0 } function _9G1(__F1, _ce, _0G1) { _YF1.push(new _ZF1(__F1, _ce, _0G1)) } function _8G1(appControl) { if (appControl['operation'] == "http://tizen.org/appcontrol/operation/push_notify") { var data = appControl['data']; for (var _H3 = 0; _H3 < data.length; _H3++) { if (data[_H3]['key'] == "http://tizen.org/appcontrol/data/push/appdata") { var _7G1 = data[_H3].value[0]; console.log("Got Notification payload:"); return _7G1 } } } return null } function _5G1() { var _wG1 = tizen.notification.getAll(); var index = 0; debug("***** Found " + _wG1.length + " notifications"); for (index = 0; index < _wG1.length; index++) { console.log(_wG1[index]['id'] + ": title=" + _wG1[index]['title'] + " content=" + _wG1[index]['content']); var appControl = _wG1[index].appControl; var _7G1 = _8G1(appControl); if (_7G1 != null) { _9G1(!0, _WF1, _7G1); try { tizen.notification.remove(_wG1[index].id) } catch(err) { console.log(err.name + ": " + err.message) } } } } function _3G1() { if (!_tL) { _tL = !0; _5G1() } } (function() { 'use strict'; function _F9(_W9) { throw _W9 } var _C9 = void 0, _T9 = this; function _9q(_W9, _mk) { var _kb = _W9.split("."), _I3 = _T9; ! (_kb[0] in _I3) && _I3._xG1 && _I3._xG1("var " + _kb[0]); for (var _Mq; _kb.length && (_Mq = _kb.shift());) ! _kb.length && _mk !== _C9 ? _I3[_Mq] = _mk: _I3 = _I3[_Mq] ? _I3[_Mq] : _I3[_Mq] = {} }; var _vb = "undefined" !== typeof Uint8Array && "undefined" !== typeof Uint16Array && "undefined" !== typeof Uint32Array; function _xb(_W9) { var _mk = _W9.length, _kb = 0, _I3 = Number.POSITIVE_INFINITY, _Mq, e, _jb, _K3, _eT, _R9, _fu, _mv, _V9; for (_mv = 0; _mv < _mk; ++_mv) _W9[_mv] > _kb && (_kb = _W9[_mv]), _W9[_mv] < _I3 && (_I3 = _W9[_mv]); _Mq = 1 << _kb; e = new(_vb ? Uint32Array: Array)(_Mq); _jb = 1; _K3 = 0; for (_eT = 2; _jb <= _kb;) { for (_mv = 0; _mv < _mk; ++_mv) if (_W9[_mv] === _jb) { _R9 = 0; _fu = _K3; for (_V9 = 0; _V9 < _jb; ++_V9) _R9 = _R9 << 1 | _fu & 1, _fu >>= 1; for (_V9 = _R9; _V9 < _Mq; _V9 += _eT) e[_V9] = _jb << 16 | _mv; ++_K3 }++_jb; _K3 <<= 1; _eT <<= 1 } return [e, _kb, _I3] }; function _J3(_W9, _mk) { this._jb = []; this._K3 = 32768; this._mk = this._Mq = this._kb = this._R9 = 0; this._2u = _vb ? new Uint8Array(_W9) : _W9; this._F9 = !1; this._H3 = _f3; this._T9 = !1; if (_mk || !(_mk = {})) _mk.index && (this._kb = _mk.index), _mk._yG1 && (this._K3 = _mk._yG1), _mk._zG1 && (this._H3 = _mk._zG1), _mk._AG1 && (this._T9 = _mk._AG1); switch (this._H3) { case _g3: this._W9 = 32768; this._I3 = new(_vb ? Uint8Array: Array)(32768 + this._K3 + 258); break; case _f3: this._W9 = 0; this._I3 = new(_vb ? Uint8Array: Array)(this._K3); this.e = this._Cc; this._C9 = this._xb; this.__9 = this._J3; break; default: _F9(_Xg("invalid inflate mode")) } } var _g3 = 0, _f3 = 1, _Cc = { _V9: _g3, _9q: _f3 }; _J3.prototype._eT = function() { for (; ! this._F9;) { var _W9 = _aM(this, 3); _W9 & 1 && (this._F9 = !0); _W9 >>>= 1; switch (_W9) { case 0: var _mk = this._2u, _kb = this._kb, _I3 = this._I3, _Mq = this._W9, e = _C9, _jb = _C9, _K3 = _C9, _eT = _I3.length, _R9 = _C9; this._mk = this._Mq = 0; e = _mk[_kb++]; e === _C9 && _F9(_Xg("invalid uncompressed block header: LEN (first byte)")); _jb = e; e = _mk[_kb++]; e === _C9 && _F9(_Xg("invalid uncompressed block header: LEN (second byte)")); _jb |= e << 8; e = _mk[_kb++]; e === _C9 && _F9(_Xg("invalid uncompressed block header: NLEN (first byte)")); _K3 = e; e = _mk[_kb++]; e === _C9 && _F9(_Xg("invalid uncompressed block header: NLEN (second byte)")); _K3 |= e << 8; _jb === ~_K3 && _F9(_Xg("invalid uncompressed block header: length verify")); _kb + _jb > _mk.length && _F9(_Xg("input buffer is broken")); switch (this._H3) { case _g3: for (; _Mq + _jb > _I3.length;) { _R9 = _eT - _Mq; _jb -= _R9; if (_vb) _I3.set(_mk.subarray(_kb, _kb + _R9), _Mq), _Mq += _R9, _kb += _R9; else for (; _R9--;) _I3[_Mq++] = _mk[_kb++]; this._W9 = _Mq; _I3 = this.e(); _Mq = this._W9 } break; case _f3: for (; _Mq + _jb > _I3.length;) _I3 = this.e({ _mv: 2 }); break; default: _F9(_Xg("invalid inflate mode")) } if (_vb) _I3.set(_mk.subarray(_kb, _kb + _jb), _Mq), _Mq += _jb, _kb += _jb; else for (; _jb--;) _I3[_Mq++] = _mk[_kb++]; this._kb = _kb; this._W9 = _Mq; this._I3 = _I3; break; case 1: this.__9(_pN, _jO); break; case 2: _BG1(this); break; default: _F9(_Xg("unknown BTYPE: " + _W9)) } } return this._C9() }; var _GQ = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], _FX = _vb ? new Uint16Array(_GQ) : _GQ, _BX = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], _CX = _vb ? new Uint16Array(_BX) : _BX, _CG1 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], _fP = _vb ? new Uint8Array(_CG1) : _CG1, _DG1 = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577], _891 = _vb ? new Uint16Array(_DG1) : _DG1, _ze1 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], _EN = _vb ? new Uint8Array(_ze1) : _ze1, _EG1 = new(_vb ? Uint8Array: Array)(288), _FG1, _qV; _FG1 = 0; for (_qV = _EG1.length; _FG1 < _qV; ++_FG1) _EG1[_FG1] = 143 >= _FG1 ? 8 : 255 >= _FG1 ? 9 : 279 >= _FG1 ? 7 : 8; var _pN = _xb(_EG1), _pV = new(_vb ? Uint8Array: Array)(30), _GG1, _HG1; _GG1 = 0; for (_HG1 = _pV.length; _GG1 < _HG1; ++_GG1) _pV[_GG1] = 5; var _jO = _xb(_pV); function _aM(_W9, _mk) { for (var _kb = _W9._Mq, _I3 = _W9._mk, _Mq = _W9._2u, e = _W9._kb, _jb; _I3 < _mk;) _jb = _Mq[e++], _jb === _C9 && _F9(_Xg("input buffer is broken")), _kb |= _jb << _I3, _I3 += 8; _jb = _kb & (1 << _mk) - 1; _W9._Mq = _kb >>> _mk; _W9._mk = _I3 - _mk; _W9._kb = e; return _jb } function _gO(_W9, _mk) { for (var _kb = _W9._Mq, _I3 = _W9._mk, _Mq = _W9._2u, e = _W9._kb, _jb = _mk[0], _K3 = _mk[1], _eT, _R9, _fu; _I3 < _K3;) { _eT = _Mq[e++]; if (_eT === _C9) break; _kb |= _eT << _I3; _I3 += 8 } _R9 = _jb[_kb & (1 << _K3) - 1]; _fu = _R9 >>> 16; _W9._Mq = _kb >> _fu; _W9._mk = _I3 - _fu; _W9._kb = e; return _R9 & 65535 } function _BG1(_W9) { function _mk(_kb, _W9, _I3) { var _mk, e, _Mq, _jb; for (_jb = 0; _jb < _kb;) switch (_mk = _gO(this, _W9), _mk) { case 16: for (_Mq = 3 + _aM(this, 2); _Mq--;) _I3[_jb++] = e; break; case 17: for (_Mq = 3 + _aM(this, 3); _Mq--;) _I3[_jb++] = 0; e = 0; break; case 18: for (_Mq = 11 + _aM(this, 7); _Mq--;) _I3[_jb++] = 0; e = 0; break; default: e = _I3[_jb++] = _mk } return _I3 } var _kb = _aM(_W9, 5) + 257, _I3 = _aM(_W9, 5) + 1, _Mq = _aM(_W9, 4) + 4, e = new(_vb ? Uint8Array: Array)(_FX.length), _jb, _K3, _eT, _R9; for (_R9 = 0; _R9 < _Mq; ++_R9) e[_FX[_R9]] = _aM(_W9, 3); _jb = _xb(e); _K3 = new(_vb ? Uint8Array: Array)(_kb); _eT = new(_vb ? Uint8Array: Array)(_I3); _W9.__9(_xb(_mk.call(_W9, _kb, _jb, _K3)), _xb(_mk.call(_W9, _I3, _jb, _eT))) } _J3.prototype.__9 = function(_W9, _mk) { var _kb = this._I3, _I3 = this._W9; this._4s = _W9; for (var _Mq = _kb.length - 258, e, _jb, _K3, _eT; 256 !== (e = _gO(this, _W9));) if (256 > e) _I3 >= _Mq && (this._W9 = _I3, _kb = this.e(), _I3 = this._W9), _kb[_I3++] = e; else { _jb = e - 257; _eT = _CX[_jb]; 0 < _fP[_jb] && (_eT += _aM(this, _fP[_jb])); e = _gO(this, _mk); _K3 = _891[e]; 0 < _EN[e] && (_K3 += _aM(this, _EN[e])); _I3 >= _Mq && (this._W9 = _I3, _kb = this.e(), _I3 = this._W9); for (; _eT--;) _kb[_I3] = _kb[_I3++-_K3] } for (; 8 <= this._mk;) this._mk -= 8, this._kb--; this._W9 = _I3 }; _J3.prototype._J3 = function(_W9, _mk) { var _kb = this._I3, _I3 = this._W9; this._4s = _W9; for (var _Mq = _kb.length, e, _jb, _K3, _eT; 256 !== (e = _gO(this, _W9));) if (256 > e) _I3 >= _Mq && (_kb = this.e(), _Mq = _kb.length), _kb[_I3++] = e; else { _jb = e - 257; _eT = _CX[_jb]; 0 < _fP[_jb] && (_eT += _aM(this, _fP[_jb])); e = _gO(this, _mk); _K3 = _891[e]; 0 < _EN[e] && (_K3 += _aM(this, _EN[e])); _I3 + _eT > _Mq && (_kb = this.e(), _Mq = _kb.length); for (; _eT--;) _kb[_I3] = _kb[_I3++-_K3] } for (; 8 <= this._mk;) this._mk -= 8, this._kb--; this._W9 = _I3 }; _J3.prototype.e = function() { var _W9 = new(_vb ? Uint8Array: Array)(this._W9 - 32768), _mk = this._W9 - 32768, _kb, _I3, _Mq = this._I3; if (_vb) _W9.set(_Mq.subarray(32768, _W9.length)); else { _kb = 0; for (_I3 = _W9.length; _kb < _I3; ++_kb) _W9[_kb] = _Mq[_kb + 32768] } this._jb.push(_W9); this._R9 += _W9.length; if (_vb) _Mq.set(_Mq.subarray(_mk, _mk + 32768)); else for (_kb = 0; 32768 > _kb; ++_kb) _Mq[_kb] = _Mq[_mk + _kb]; this._W9 = 32768; return _Mq }; _J3.prototype._Cc = function(_W9) { var _mk, _kb = this._2u.length / this._kb + 1 | 0, _I3, _Mq, e, _jb = this._2u, _K3 = this._I3; _W9 && ("number" === typeof _W9._mv && (_kb = _W9._mv), "number" === typeof _W9._vb && (_kb += _W9._vb)); 2 > _kb ? (_I3 = (_jb.length - this._kb) / this._4s[2], e = 258 * (_I3 / 2) | 0, _Mq = e < _K3.length ? _K3.length + e: _K3.length << 1) : _Mq = _K3.length * _kb; _vb ? (_mk = new Uint8Array(_Mq), _mk.set(_K3)) : _mk = _K3; return this._I3 = _mk }; _J3.prototype._C9 = function() { var _W9 = 0, _mk = this._I3, _kb = this._jb, _I3, _Mq = new(_vb ? Uint8Array: Array)(this._R9 + (this._W9 - 32768)), e, _jb, _K3, _eT; if (0 === _kb.length) return _vb ? this._I3.subarray(32768, this._W9) : this._I3.slice(32768, this._W9); e = 0; for (_jb = _kb.length; e < _jb; ++e) { _I3 = _kb[e]; _K3 = 0; for (_eT = _I3.length; _K3 < _eT; ++_K3) _Mq[_W9++] = _I3[_K3] } e = 32768; for (_jb = this._W9; e < _jb; ++e) _Mq[_W9++] = _mk[e]; this._jb = []; return this.buffer = _Mq }; _J3.prototype._xb = function() { var _W9, _mk = this._W9; _vb ? this._T9 ? (_W9 = new Uint8Array(_mk), _W9.set(this._I3.subarray(0, _mk))) : _W9 = this._I3.subarray(0, _mk) : (this._I3.length > _mk && (this._I3.length = _mk), _W9 = this._I3); return this.buffer = _W9 }; function _IG1(_W9, _mk) { var _kb, _I3; this._2u = _W9; this._kb = 0; if (_mk || !(_mk = {})) _mk.index && (this._kb = _mk.index), _mk._JG1 && (this._aM = _mk._JG1); _kb = _W9[this._kb++]; _I3 = _W9[this._kb++]; switch (_kb & 15) { case _KG1: this.method = _KG1; break; default: _F9(_Xg("unsupported compression method")) } 0 !== ((_kb << 8) + _I3) % 31 && _F9(_Xg("invalid fcheck flag:" + ((_kb << 8) + _I3) % 31)); _I3 & 32 && _F9(_Xg("fdict flag is not supported")); this._fu = new _J3(_W9, { index: this._kb, _yG1: _mk._yG1, _zG1: _mk._zG1, _AG1: _mk._AG1 }) } _IG1.prototype._eT = function() { var _W9 = this._2u, _mk, _kb; _mk = this._fu._eT(); this._kb = this._fu._kb; if (this._aM) { _kb = (_W9[this._kb++] << 24 | _W9[this._kb++] << 16 | _W9[this._kb++] << 8 | _W9[this._kb++]) >>> 0; var _I3 = _mk; if ("string" === typeof _I3) { var _Mq = _I3.split(""), e, _jb; e = 0; for (_jb = _Mq.length; e < _jb; e++) _Mq[e] = (_Mq[e].charCodeAt(0) & 255) >>> 0; _I3 = _Mq } for (var _K3 = 1, _eT = 0, _R9 = _I3.length, _fu, _mv = 0; 0 < _R9;) { _fu = 1024 < _R9 ? 1024 : _R9; _R9 -= _fu; do _K3 += _I3[_mv++], _eT += _K3; while (--_fu); _K3 %= 65521; _eT %= 65521 } _kb !== (_eT << 16 | _K3) >>> 0 && _F9(_Xg("invalid adler-32 checksum")) } return _mk }; var _KG1 = 8; _9q("Zlib.Inflate", _IG1); _9q("Zlib.Inflate.prototype.decompress", _IG1.prototype._eT); var _LG1 = { _MG1: _Cc._9q, _NG1: _Cc._V9 }, _io, _jo, _ko, $; if (Object._OG1) _io = Object._OG1(_LG1); else for (_jo in _io = [], _ko = 0, _LG1) _io[_ko++] = _jo; _ko = 0; for ($ = _io.length; _ko < $; ++_ko) _jo = _io[_ko], _9q("Zlib.Inflate.BufferType." + _jo, _LG1[_jo]) }).call(this); var _PG1 = !1, _QG1 = -1, _RG1 = -1, _SG1 = 0, _TG1 = 1, _UG1 = 2, _VG1 = 3, _WG1 = 4, _XG1 = 5, _YG1 = 6, _ZG1 = 7, __G1 = 8, _0H1 = 9, _1H1 = 10, _2H1 = 11, _3H1 = [0, 0, 0], _4H1 = [0, 0, 0], _5H1 = [0, 0, 0, 0, 0, 0], _6H1 = [0, 0, 0], _7H1 = [0, 0, 0], _8H1 = [0, 0, 0], _9H1 = [0, 0, 0], _aH1 = [0, 0, 0], _bH1 = [0, 0, 0], _cH1 = [0, 0, 0], _dH1 = 0, _eH1 = 0; function _fH1() { if ((_H8._I8() <= 30) || (_gH1 <= 30)) { return 1.0 } if ((_H8._I8() / _gH1) < 1.2) { return 30.0 / _H8._I8() } else { return 30.0 / _gH1 } } function _hH1() { if (!_1B(_QG1)) { _QG1 = _mj(); _7B(_QG1, 100000) } if (!_1B(_RG1)) { _RG1 = _mj(); _7B(_RG1, -100000) } if (!_PG1) { _iH1() } } function _iH1() { var _H3; _PG1 = !0; for (_H3 = 0; _H3 <= 5; _H3++) { _5H1[_H3] = _nj() } for (_H3 = 0; _H3 <= 2; _H3++) { _6H1[_H3] = _nj(); _3H1[_H3] = _nj(); _7H1[_H3] = _nj(); _4H1[_H3] = _nj(); _8H1[_H3] = _nj(); _9H1[_H3] = _nj(); _aH1[_H3] = _nj(); _bH1[_H3] = _nj(); _cH1[_H3] = _nj() } _dH1 = _nj(); _eH1 = _nj() } function _jH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_5H1[0], _lH1); _DB(_5H1[0], 0.1, 0.1, 0.05 * _Mq, 0); _bC(_5H1[0], 0, 360, 0, 0, !1); _fC(_5H1[0], 0, 360, 0, 0); _dC(_5H1[0], 2 * _Mq, 2 * _Mq, -0.1 * _Mq, 0); _rj(_5H1[0], 0.6, 0); _5C(_5H1[0], _Xi(10.0 / _Mq), _Xi(15.0 / _Mq)); _lB(_kH1, _V8, _W8, _5H1[0], _Sd, 20); _zB(_5H1[1], _lH1); _DB(_5H1[1], 0.1, 0.1, 0.1 * _Mq, 0); _bC(_5H1[1], 0, 360, 0, 0, !1); _rj(_5H1[1], 0.8, 0); _5C(_5H1[1], _Xi(15 / _Mq), _Xi(15 / _Mq)); _lB(_kH1, _V8, _W8, _5H1[1], _mH1, 1) } else if (__d == 2) { _zB(_5H1[4], _lH1); _DB(_5H1[4], 0.4, 0.4, 0.2 * _Mq, 0); _bC(_5H1[4], 0, 360, 0, 0, !1); _fC(_5H1[4], 0, 360, 0, 0); _dC(_5H1[4], 7 * _Mq, 7 * _Mq, -0.2 * _Mq, 0); _rj(_5H1[4], 0.6, 0); _5C(_5H1[4], _Xi(15 / _Mq), _Xi(20 / _Mq)); _lB(_kH1, _V8, _W8, _5H1[4], _Sd, 20); _zB(_5H1[5], _lH1); _DB(_5H1[5], 0.4, 0.4, 0.4 * _Mq, 0); _bC(_5H1[5], 0, 360, 0, 0, !1); _rj(_5H1[5], 0.8, 0); _5C(_5H1[5], _Xi(20 / _Mq), _Xi(20 / _Mq)); _lB(_kH1, _V8, _W8, _5H1[5], _mH1, 1) } else { _zB(_5H1[2], _lH1); _DB(_5H1[2], 0.3, 0.3, 0.1 * _Mq, 0); _bC(_5H1[2], 0, 360, 0, 0, !1); _fC(_5H1[2], 0, 360, 0, 0); _dC(_5H1[2], 4 * _Mq, 4 * _Mq, -0.18 * _Mq, 0); _rj(_5H1[2], 0.6, 0); _5C(_5H1[2], _Xi(12 / _Mq), _Xi(17 / _Mq)); _lB(_kH1, _V8, _W8, _5H1[2], _Sd, 20); _zB(_5H1[3], _lH1); _DB(_5H1[3], 0.3, 0.3, 0.2 * _Mq, 0); _bC(_5H1[3], 0, 360, 0, 0, !1); _rj(_5H1[3], 0.8, 0); _5C(_5H1[3], _Xi(17 / _Mq), _Xi(17 / _Mq)); _lB(_kH1, _V8, _W8, _5H1[3], _mH1, 1) } } function _nH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_6H1[0], _oH1); _rj(_6H1[0], 1, 0); _DB(_6H1[0], 0.0, 0.0, 0.15 * _Mq, 0.0); _5C(_6H1[0], _Xi(10.0 / _Mq), _Xi(12.0 / _Mq)); _lB(_kH1, _V8, _W8, _6H1[0], _Sd, 1) } else if (__d == 2) { _zB(_6H1[2], _oH1); _rj(_6H1[2], 1, 0); _DB(_6H1[2], 0, 0, 0.4 * _Mq, 0); _5C(_6H1[2], _Xi(18.0 / _Mq), _Xi(20.0 / _Mq)); _lB(_kH1, _V8, _W8, _6H1[2], _Sd, 1) } else { _zB(_6H1[1], _oH1); _rj(_6H1[1], 1, 0); _DB(_6H1[1], 0, 0, 0.25 * _Mq, 0); _5C(_6H1[1], _Xi(13.0 / _Mq), _Xi(15.0 / _Mq)); _lB(_kH1, _V8, _W8, _6H1[1], _Sd, 1) } } function _pH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_3H1[0], _oH1); _rj(_3H1[0], 1, 0); _DB(_3H1[0], 0, 0, 0.2 * _Mq, 0); _FB(_3H1[0], 1, 0.5); _5C(_3H1[0], _Xi(10.0 / _Mq), _Xi(12.0 / _Mq)); _lB(_kH1, _V8, _W8, _3H1[0], _Sd, 1) } else if (__d == 2) { _zB(_3H1[2], _oH1); _rj(_3H1[2], 1, 0); _DB(_3H1[2], 0, 0, 0.6 * _Mq, 0); _FB(_3H1[2], 1, 0.5); _5C(_3H1[2], _Xi(18.0 / _Mq), _Xi(20.0 / _Mq)); _lB(_kH1, _V8, _W8, _3H1[2], _Sd, 1) } else { _zB(_3H1[1], _oH1); _rj(_3H1[1], 1, 0); _DB(_3H1[1], 0, 0, 0.35 * _Mq, 0); _FB(_3H1[1], 1, 0.5); _5C(_3H1[1], _Xi(13.0 / _Mq), _Xi(15.0 / _Mq)); _lB(_kH1, _V8, _W8, _3H1[1], _Sd, 1) } } function _qH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_7H1[1], _rH1); _DB(_7H1[1], 0.1, 0.2, 0, 0); _dC(_7H1[1], 0.5 * _Mq, 3.0 * _Mq, 0.0, 0.0); _fC(_7H1[1], 0, 360, 0, 0); _rj(_7H1[1], 1, 0.4); _5C(_7H1[1], _Xi(15.0 / _Mq), _Xi(25.0 / _Mq)); _hC(_7H1[1], 0.10 * _Mq, 270); _lB(_kH1, _V8, _W8, _7H1[1], _Sd, 75) } else if (__d == 2) { _zB(_7H1[1], _rH1); _DB(_7H1[1], 0.1, 0.2, 0, 0); _dC(_7H1[1], 0.5 * _Mq, 8.0 * _Mq, 0.0, 0.0); _fC(_7H1[1], 0, 360, 0, 0); _rj(_7H1[1], 1, 0.4); _5C(_7H1[1], _Xi(30.0 / _Mq), _Xi(40.0 / _Mq)); _hC(_7H1[1], 0.17 * _Mq, 270); _lB(_kH1, _V8, _W8, _7H1[1], _Sd, 250) } else { _zB(_7H1[1], _rH1); _DB(_7H1[1], 0.1, 0.2, 0, 0); _dC(_7H1[1], 0.5 * _Mq, 6.0 * _Mq, 0.0, 0.0); _fC(_7H1[1], 0, 360, 0, 0); _rj(_7H1[1], 1, 0.4); _5C(_7H1[1], _Xi(20.0 / _Mq), _Xi(30.0 / _Mq)); _hC(_7H1[1], 0.15 * _Mq, 270); _lB(_kH1, _V8, _W8, _7H1[1], _Sd, 150) } } function _sH1(_kH1, _V8, _W8, __d, _Sd) { var _H3; var _Mq = _fH1(); if (__d === 0) { _zB(_4H1[0], _lH1); _DB(_4H1[0], 0.2, 0.4, -0.01 * _Mq, 0); _rj(_4H1[0], 0.4, 0); _5C(_4H1[0], _Xi(25.0 / _Mq), _Xi(25.0 / _Mq)); for (_H3 = 0; _H3 <= 5; _H3++) { _lB(_kH1, _V8 - 5 + _tH1(10), _W8 - 5 + _tH1(10), _4H1[0], _Sd, 1) } } else if (__d === 2) { _zB(_4H1[2], _lH1); _DB(_4H1[2], 0.4, 1, -0.01 * _Mq, 0); _rj(_4H1[2], 0.4, 0); _5C(_4H1[2], _Xi(50.0 / _Mq), _Xi(50.0 / _Mq)); for (_H3 = 0; _H3 <= 15; _H3++) { _lB(_kH1, _V8 - 30 + _tH1(60), _W8 - 30 + _tH1(60), _4H1[2], _Sd, 1) } } else { _zB(_4H1[1], _lH1); _DB(_4H1[1], 0.4, 0.7, -0.01 * _Mq, 0); _rj(_4H1[1], 0.4, 0); _5C(_4H1[1], _Xi(30.0 / _Mq), _Xi(30.0 / _Mq)); for (_H3 = 0; _H3 <= 10; _H3++) { _lB(_kH1, _V8 - 15 + _tH1(30), _W8 - 15 + _tH1(30), _4H1[1], _Sd, 1) } } } function _uH1(_kH1, _V8, _W8, __d, _Sd) { var _H3; var _Mq = _fH1(); if (__d === 0) { _zB(_8H1[0], _lH1); _DB(_8H1[0], 0.2, 0.4, -0.01 * _Mq, 0); _rj(_8H1[0], 0.4, 0); _dC(_8H1[0], 3.0 * _Mq, 4.0 * _Mq, 0, 0); _fC(_8H1[0], 90, 90, 0, 0); _5C(_8H1[0], _Xi(25.0 / _Mq), _Xi(25.0 / _Mq)); for (_H3 = 0; _H3 <= 5; _H3++) { _lB(_kH1, _V8 - 5 + _tH1(10), _W8 - 5 + _tH1(10), _8H1[0], _Sd, 1) } } else if (__d === 2) { _zB(_8H1[2], _lH1); _DB(_8H1[2], 0.4, 1, -0.01 * _Mq, 0); _rj(_8H1[2], 0.4, 0); _dC(_8H1[2], 6.0 * _Mq, 7.0 * _Mq, 0, 0); _fC(_8H1[2], 90, 90, 0, 0); _5C(_8H1[2], _Xi(50.0 / _Mq), _Xi(50.0 / _Mq)); for (_H3 = 0; _H3 <= 15; _H3++) { _lB(_kH1, _V8 - 30 + _tH1(60), _W8 - 30 + _tH1(60), _8H1[2], _Sd, 1) } } else { _zB(_8H1[1], _lH1); _DB(_8H1[1], 0.4, 0.7, -0.01 * _Mq, 0); _rj(_8H1[1], 0.4, 0); _dC(_8H1[1], 5.0 * _Mq, 6.0 * _Mq, 0, 0); _fC(_8H1[1], 90, 90, 0, 0); _5C(_8H1[1], _Xi(30.0 / _Mq), _Xi(30.0 / _Mq)); for (_H3 = 0; _H3 <= 10; _H3++) { _lB(_kH1, _V8 - 15 + _tH1(30), _W8 - 15 + _tH1(30), _8H1[1], _Sd, 1) } } } function _vH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_9H1[0], _wH1); _DB(_9H1[0], 0.4, 0.3, -0.02 * _Mq, 0); _bC(_9H1[0], 0, 360, 0, 0, !1); _5C(_9H1[0], _Xi(20 / _Mq), _Xi(20 / _Mq)); _lB(_kH1, _V8, _W8, _9H1[0], _Sd, 1) } else if (__d === 2) { _zB(_9H1[2], _wH1); _DB(_9H1[2], 1.2, 1.2, -0.04 * _Mq, 0); _bC(_9H1[2], 0, 360, 0, 0, !1); _5C(_9H1[2], _Xi(30 / _Mq), _Xi(30 / _Mq)); _lB(_kH1, _V8, _W8, _9H1[2], _Sd, 1) } else { _zB(_9H1[1], _wH1); _DB(_9H1[1], 0.75, 0.75, -0.03 * _Mq, 0); _bC(_9H1[1], 0, 360, 0, 0, !1); _5C(_9H1[1], _Xi(25 / _Mq), _Xi(25 / _Mq)); _lB(_kH1, _V8, _W8, _9H1[1], _Sd, 1) } } function _xH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_aH1[0], _yH1); _DB(_aH1[0], 0.4, 0.4, -0.02 * _Mq, 0); _bC(_aH1[0], 0, 360, 0, 0, !1); _5C(_aH1[0], _Xi(20 / _Mq), _Xi(20 / _Mq)); _lB(_kH1, _V8, _W8, _aH1[0], _Sd, 1) } else if (__d === 2) { _zB(_aH1[2], _yH1); _DB(_aH1[2], 1.2, 1.2, -0.04 * _Mq, 0); _bC(_aH1[2], 0, 360, 0, 0, !1); _5C(_aH1[2], _Xi(30 / _Mq), _Xi(30 / _Mq)); _lB(_kH1, _V8, _W8, _aH1[2], _Sd, 1) } else { _zB(_aH1[1], _yH1); _DB(_aH1[1], 0.75, 0.75, -0.03 * _Mq, 0); _bC(_aH1[1], 0, 360, 0, 0, !1); _5C(_aH1[1], _Xi(25 / _Mq), _Xi(25 / _Mq)); _lB(_kH1, _V8, _W8, _aH1[1], _Sd, 1) } } function _zH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_bH1[0], _rH1); _DB(_bH1[0], 0.4, 0.4, -0.02 * _Mq, 0); _bC(_bH1[0], 0, 360, 0, 0, !1); _5C(_bH1[0], _Xi(20 / _Mq), _Xi(20 / _Mq)); _lB(_kH1, _V8, _W8, _bH1[0], _Sd, 1) } else if (__d === 2) { _zB(_bH1[2], _rH1); _DB(_bH1[2], 1.2, 1.2, -0.04 * _Mq, 0); _bC(_bH1[2], 0, 360, 0, 0, !1); _5C(_bH1[2], _Xi(30 / _Mq), _Xi(30 / _Mq)); _lB(_kH1, _V8, _W8, _bH1[2], _Sd, 1) } else { _zB(_bH1[1], _rH1); _DB(_bH1[1], 0.75, 0.75, -0.03 * _Mq, 0); _bC(_bH1[1], 0, 360, 0, 0, !1); _5C(_bH1[1], _Xi(25 / _Mq), _Xi(25 / _Mq)); _lB(_kH1, _V8, _W8, _bH1[1], _Sd, 1) } } function _AH1(_kH1, _V8, _W8, __d, _Sd) { var _Mq = _fH1(); if (__d === 0) { _zB(_cH1[0], _lH1); _DB(_cH1[0], 2, 2, 0, 0); _FB(_cH1[0], 1, 0.5); _3C(_cH1[0], 0, 0.3, 0); _5C(_cH1[0], _Xi(100.0 / _Mq), _Xi(100.0 / _Mq)); _lB(_kH1, _V8, _W8, _cH1[0], _Sd, 1) } else if (__d === 2) { _zB(_cH1[2], _lH1); _DB(_cH1[2], 8, 8, 0, 0); _FB(_cH1[2], 1, 0.5); _3C(_cH1[2], 0, 0.3, 0); _5C(_cH1[2], _Xi(100.0 / _Mq), _Xi(100.0 / _Mq)); _lB(_kH1, _V8, _W8, _cH1[02], _Sd, 1) } else { _zB(_cH1[1], _lH1); _DB(_cH1[1], 4, 4, 0, 0); _FB(_cH1[1], 1, 0.5); _3C(_cH1[1], 0, 0.3, 0); _5C(_cH1[1], _Xi(100.0 / _Mq), _Xi(100.0 / _Mq)); _lB(_kH1, _V8, _W8, _cH1[1], _Sd, 1) } } function _BH1(_kH1, _V8, _W8, __d, _Sd) { var _H3; var _Mq = _fH1(); _zB(_dH1, _CH1); _DB(_dH1, 0.2, 0.3, 0.0, 0.0); _bC(_dH1, 0, 0, 0, 0, !0); _dC(_dH1, 7 * _Mq, 7 * _Mq, 0, 0); _fC(_dH1, 260, 260, 0, 0); _0C(_dH1, 0.4); _5C(_dH1, _Xi(0.2 * _H8._DR() / _Mq), _Xi(0.2 * _H8._DR() / _Mq)); if (__d === 0) { for (_H3 = 0; _H3 <= 1; _H3++) { _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1(), -30.0 + _tH1(20), _dH1, _Sd, 1) } } else if (__d == 2) { for (_H3 = 0; _H3 <= 8; _H3++) { _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1(), -30.0 + _tH1(20), _dH1, _Sd, 1) } } else { for (_H3 = 0; _H3 <= 4; _H3++) { _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1(), -30.0 + _tH1(20), _dH1, _Sd, 1) } } } function _EH1(_kH1, _V8, _W8, __d, _Sd) { var _H3; var _Mq = _fH1(); _zB(_eH1, _FH1); _DB(_eH1, 0.1, 0.25, 0.0, 0.0); _0C(_eH1, 0.6); _bC(_eH1, 0, 360, 0, 0, !1); _dC(_eH1, 2.5 * _Mq, 3.0 * _Mq, 0.0, 0.0); _fC(_eH1, 240, 300, 0, 20); _5C(_eH1, _Xi(0.5 * _H8._DR() / _Mq), _Xi(0.5 * _H8._DR() / _Mq)); if (__d === 0) { for (_H3 = 0; _H3 <= 0; _H3++) { _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1() - 60, -30.0 + _tH1(20), _eH1, _Sd, 1) } } else if (__d === 2) { for (_H3 = 0; _H3 <= 6; _H3++) { _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1() - 60, -30.0 + _tH1(20), _eH1, _Sd, 1) } } else { for (_H3 = 0; _H3 <= 2; _H3++) { _lB(_kH1, _tH1(1) * 1.2 * _H8._DH1() - 60, -30.0 + _tH1(20), _eH1, _Sd, 1) } } } function _GH1(_HH1, _ud, _V8, _W8, __d, _Sd) { var _nQ; _hH1(); if (_HH1) { _nQ = _QG1 } else { _nQ = _RG1 } switch (_ud) { case _SG1: _jH1(_nQ, _V8, _W8, __d, _Sd); break; case _TG1: _nH1(_nQ, _V8, _W8, __d, _Sd); break; case _UG1: _pH1(_nQ, _V8, _W8, __d, _Sd); break; case _VG1: _qH1(_nQ, _V8, _W8, __d, _Sd); break; case _WG1: _sH1(_nQ, _V8, _W8, __d, _Sd); break; case _XG1: _uH1(_nQ, _V8, _W8, __d, _Sd); break; case _YG1: _vH1(_nQ, _V8, _W8, __d, _Sd); break; case _ZG1: _xH1(_nQ, _V8, _W8, __d, _Sd); break; case __G1: _zH1(_nQ, _V8, _W8, __d, _Sd); break; case _0H1: _AH1(_nQ, _V8, _W8, __d, _Sd); break; case _1H1: _BH1(_nQ, _V8, _W8, __d, _Sd); break; case _2H1: _EH1(_nQ, _V8, _W8, __d, _Sd); break } } var _IH1 = !1, _qL = !1, _JH1 = !0; function _dp1(_KH1) { if (_KH1) { _IH1 = !0 } else { _qL = !1; _IH1 = !1; if (_JH1) { _Ro1 = !1 } } } function _LH1() { if (window["page"] === undefined) { _JH1 = !1; window.addEventListener("focus", function() { _dp1(!1) }); window.addEventListener("blur", function() { _dp1(!0) }); window.addEventListener("click", function() { _dp1(!1) }) } } function _MH1() { if (_IH1) { _qL = !0; _IH1 = !1 } else if (_qL) { _qL = !1; if (_JH1) { _Ro1 = !0 } } } function _NH1() { var _Iy, _H3; var _Jg = null; if (_H8._Kg) { _Jg = _H8._Mg } var _3i = _H8._Fy._3i; for (var _OH1 = 0; _OH1 < _3i.length; _OH1++) { var _Zi = _3i[_OH1]; var _Oy = _Zi._Oy; if (!_Zi._uy) { if (_Oy._PH1[_QH1]) { if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) { _Iy = _Zi._SH1(); if ((_Iy._q9 < 0) || (_Iy.left > _H8._DH1()) || (_Iy.bottom < 0) || (_Iy.top > _H8._DR())) { _Zi._g9(_QH1, _TH1, _Zi, _Zi) } } else { if ((_Zi._f3 < 0) || (_Zi._f3 > _H8._DH1()) || (_Zi._g3 < 0) || (_Zi._g3 > _H8._DR())) { _Zi._g9(_QH1, _TH1, _Zi, _Zi) } } } if (_Oy._PH1[_UH1]) { if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) { _Iy = _Zi._SH1(); if ((_Iy.left < 0) || (_Iy._q9 > _H8._DH1()) || (_Iy.top < 0) || (_Iy.bottom > _H8._DR())) { _Zi._g9(_UH1, _TH1, _Zi, _Zi) } } else { if ((_Zi._f3 < 0) || (_Zi._f3 > _H8._DH1()) || (_Zi._g3 < 0) || (_Zi._g3 > _H8._DR())) { _Zi._g9(_UH1, _TH1, _Zi, _Zi) } } } for (_H3 in _Jg) { if (!_Jg.hasOwnProperty(_H3)) continue; var _VH1 = parseInt(_H3); var _WH1 = _Jg[_H3]; if (_WH1._Q3) { var _XH1 = _WH1._jH; var _YH1 = _WH1._kH; var _ZH1 = _WH1._jH + _WH1._lH; var __H1 = _WH1._kH + _WH1._mH; if (_Oy._PH1[_0I1 + _VH1]) { if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) { _Iy = _Zi._SH1(); if ((_Iy._q9 < _XH1) || (_Iy.left > _ZH1) || (_Iy.bottom < _YH1) || (_Iy.top > __H1)) { _Zi._g9(_0I1 + _VH1, _TH1, _Zi, _Zi) } } else { if ((_Zi._f3 < _XH1) || (_Zi._f3 > _ZH1) || (_Zi._g3 < _YH1) || (_Zi._g3 > __H1)) { _Zi._g9(_0I1 + _VH1, _TH1, _Zi, _Zi) } } } if (_Oy._PH1[_1I1 + _VH1]) { if (_MF(_Zi._Ny) || _MF(_Zi._RH1)) { _Iy = _Zi._SH1(); if ((_Iy.left < _XH1) || (_Iy._q9 > _ZH1) || (_Iy.top < _YH1) || (_Iy.bottom > __H1)) { _Zi._g9(_1I1 + _VH1, _TH1, _Zi, _Zi) } } else { if ((_Zi._f3 < _XH1) || (_Zi._f3 > _ZH1) || (_Zi._g3 < _YH1) || (_Zi._g3 > __H1)) { _Zi._g9(_1I1 + _VH1, _TH1, _Zi, _Zi) } } } } } } } } function _2I1() { for (var _Bv1 in _Cv1) { if (!_Cv1.hasOwnProperty(_Bv1)) continue; var _3I1 = _Ys._Gh(_Bv1); var _4I1 = _3I1._AD(); for (var _av1 = 0; _av1 < _4I1.length; _av1++) { var _5I1 = _4I1[_av1]; if (!_5I1._uy && _5I1._HY) { var _6I1 = _Cv1[_Bv1]; for (var _7I1 in _6I1) { if (!_6I1.hasOwnProperty(_7I1)) continue; var _u81 = _6I1[_7I1]; var _8I1 = _Ys._Gh(_u81); var _9I1 = _8I1._AD(); for (var _bv1 = 0; _bv1 < _9I1.length; _bv1++) { var _aI1 = _9I1[_bv1]; if (!_aI1._uy && _aI1._HY) { if ((_5I1._Oy == _aI1._Oy) && (_bv1 < _av1)) continue; if (_5I1._zy(_aI1, !0)) { if ((_5I1._SA) || (_aI1._SA)) { _5I1._f3 = _5I1._bI1; _5I1._g3 = _5I1._cI1; _5I1._Gy = !0; _5I1._dI1 = _5I1._eI1; _aI1._f3 = _aI1._bI1; _aI1._g3 = _aI1._cI1; _aI1._Gy = !0; _aI1._dI1 = _aI1._eI1 } _5I1._g9(_jv1, _u81, _5I1, _aI1); _aI1._g9(_jv1, _Bv1, _aI1, _5I1); if ((_5I1._SA) || (_aI1._SA)) { _5I1._Xu1(); _aI1._Xu1(); _5I1._te(_5I1._f3 + _5I1._H7, _5I1._g3 + _5I1._G7); _aI1._te(_aI1._f3 + _aI1._H7, _aI1._g3 + _aI1._G7); if (_5I1._zy(_aI1, !0) === !0) { _5I1._f3 = _5I1._bI1; _5I1._g3 = _5I1._cI1; _5I1._Gy = !0; _5I1._dI1 = _5I1._eI1; _aI1._f3 = _aI1._bI1; _aI1._g3 = _aI1._cI1; _aI1._Gy = !0; _aI1._dI1 = _aI1._eI1 } } } } } } } } } } function _fI1() { if (_H8) { var _Jg, _Dk; if (!_H8._Kg) { _Jg = _Lg } else { _Jg = _H8._Mg } for (var _xb = 0; _xb < _Jg.length; _xb++) { _Ng = _Jg[_xb]; if (_Ng._Q3) { _Og(canvas, _Pg); if (((_dh._gI1 - _Pg.left) >= _Ng._Qg) && ((_dh._gI1 - _Pg.left) < _Ng._Rg) && ((_dh._hI1 - _Pg.top) >= _Ng._Sg) && ((_dh._hI1 - _Pg.top) < _Ng._Tg)) { var _0a = _w6._h7; var _2a = _w6._lL; var _iI1 = _Ys._RA(); for (var _4s = 0; _4s < _iI1.length; _4s++) { var _li = _iI1[_4s]; var _jI1 = _li._PH1; if (_jI1[_kI1] || _jI1[_lI1] || _jI1[_mI1] || _jI1[_nI1] || _jI1[_oI1] || _jI1[_pI1] || _jI1[_qI1] || _jI1[_rI1] || _jI1[_sI1] || _jI1[_tI1] || _jI1[_uI1] || _jI1[_vI1] || _jI1[_wI1] || _jI1[_xI1]) { if (_li._yI1.length > 0) { var _zI1 = _li._yI1._3i.slice(0); for (var _H3 = _zI1.length - 1; _H3 >= 0; _H3--) { var _Ay = _zI1[_H3]; if (!_Ay._uy) { { if (_Ay._Gy) _Ay._Hy(); if (_Ay._AI1(_0a, _2a, !0)) { var _BI1 = !0; for (_Dk = 0; _Dk < 3; _Dk++) { if (_dh._nf[_Dk]) { if (_jI1[_kI1 + _Dk]) { _Ay._g9(_kI1 + _Dk, 0, _Ay, _Ay) } _BI1 = !1 } } for (_Dk = 0; _Dk < 3; _Dk++) { if (_dh._if[_Dk] === 1) { if (_jI1[_nI1 + _Dk]) { _Ay._g9(_nI1 + _Dk, 0, _Ay, _Ay) } _BI1 = !1 } } for (_Dk = 0; _Dk < 3; _Dk++) { if (_dh._mf[_Dk] === 1) { if (_jI1[_qI1 + _Dk]) { _Ay._g9(_qI1 + _Dk, 0, _Ay, _Ay) } } } if (_BI1) { _Ay._g9(_tI1, 0, _Ay, _Ay) } if (!_Ay._CI1) { _Ay._g9(_uI1, 0, _Ay, _Ay); _Ay._CI1 = !0 } } else { if (_Ay._CI1) { _Ay._g9(_vI1, 0, _Ay, _Ay); _Ay._CI1 = !1 } } } } } } } } for (_Dk = 0; _Dk < 3; _Dk++) { if (_dh._nf[_Dk]) { _dy._g9(_DI1 + _Dk, 0) } } for (_Dk = 0; _Dk < 3; _Dk++) { if (_dh._if[_Dk] === 1) { _dy._g9(_EI1 + _Dk, 0) } } for (_Dk = 0; _Dk < 3; _Dk++) { if (_dh._mf[_Dk] === 1) { _dy._g9(_FI1 + _Dk, 0) } } if (_GI1) { _dy._g9(_wI1, 0) } if (_HI1) { _dy._g9(_xI1, 0) } } } } } } function _II1() { var _Hb, _Ib, __9; var _3i = _H8._Fy._3i; for (var _Zi = 0; _Zi < _3i.length; _Zi++) { var _Ay = _3i[_Zi]; if (!_Ay._uy && (_Ay._JI1 >= 0)) { if (!_Ay._KI1) { var _ot = _pt._Gh(_Ay._JI1); if ((_ot !== null) && (_ot !== undefined)) { if (_Ay._LI1 > 0) { _Hb = _ot._MI1(_Ay._NI1); _Ay._NI1 += _Ay._LI1; _Ib = _ot._MI1(_Ay._NI1); for (__9 = _Hb; __9 < _Ib; __9++) { _kt(_Ay, _Ay, _Ay._JI1, __9) } if (_Ay._OI1 && (_Ay._NI1 > _ot._PI1())) { _Ay._NI1 = 0 } } else { _Hb = _ot._QI1(_Ay._NI1); _Ay._NI1 += _Ay._LI1; _Ib = _ot._QI1(_Ay._NI1); for (__9 = _Hb; __9 > _Ib; __9--) { _kt(_Ay, _Ay, _Ay._JI1, __9) } if (_Ay._OI1 && (_Ay._NI1 < 0)) { _Ay._NI1 = _ot._PI1() } } } } } } } function _RI1() { var _3i = _H8._Fy._3i; for (var _Zi = 0; _Zi < _3i.length; _Zi++) { var _Ay = _3i[_Zi]; if (!_Ay._uy) { for (var _kb = 0; _kb < _SI1; _kb++) { var event = _TI1 | (_kb + 1); var _li = _Ay._Oy; if (_li._PH1[event]) { var _UI1; _UI1 = ~~ (_Ay._47[_kb]); if (_UI1 >= 0) { _UI1--; _Ay._47[_kb] = _UI1 } if (_UI1 === 0) { _Ay._g9(_TI1 | (_kb + 1), 0, _Ay, _Ay) } } } } } } (function(window) { if (!Object.defineProperty) { throw ("Font.js requires Object.defineProperty, which this browser does not support.") } if (!document.createElement("canvas").getContext) { throw ("Font.js requires and the Canvas2D API, which this browser does not support.") } (function(window) { try { var _kb = new Uint8Array(1); return } catch(e) {} function subarray(start, end) { return this.slice(start, end) } function _VI1(_WI1, _L3) { var _H3, _C9 = _WI1.length; if (arguments.length < 2) { _L3 = 0 } for (_H3 = 0; _H3 < _C9; ++_H3, ++_L3) { this[_L3] = _WI1[_H3] & 0xFF } } function _XI1(_YI1) { var _8j, _H3; if (typeof _YI1 === "number") { _8j = new Array(_YI1); for (_H3 = 0; _H3 < _YI1; ++_H3) { _8j[_H3] = 0 } } else { _8j = _YI1.slice(0) } _8j.subarray = subarray; _8j.buffer = _8j; _8j.byteLength = _8j.length; _8j.set = _VI1; if (typeof _YI1 === "object" && _YI1.buffer) { _8j.buffer = _YI1.buffer } return _8j } window.Uint8Array = _XI1; window.Uint32Array = _XI1; window.Int32Array = _XI1 } (window)); (function(window) { if (window.opera) return; if ("response" in XMLHttpRequest.prototype || "mozResponseArrayBuffer" in XMLHttpRequest.prototype || "mozResponse" in XMLHttpRequest.prototype || "responseArrayBuffer" in XMLHttpRequest.prototype) { return } var getter; if (window._ZI1) { getter = function() { return new Uint8Array(new _ZI1(this.__I1)._0J1()) } } else { getter = function() { return this.__I1 } } Object.defineProperty(XMLHttpRequest.prototype, "response", { get: getter }) } (window)); if (!window._kC1) { window._kC1 = function(data) { var _Bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var _Ct, _Dt, _Et, _Ft, _Gt, _Ht, _It, _Jt, _H3 = 0, _Kt = 0, _1J1 = "", _Mt = []; if (!data) { return data } do { _Ct = data.charCodeAt(_H3++); _Dt = data.charCodeAt(_H3++); _Et = data.charCodeAt(_H3++); _Jt = _Ct << 16 | _Dt << 8 | _Et; _Ft = _Jt >> 18 & 0x3f; _Gt = _Jt >> 12 & 0x3f; _Ht = _Jt >> 6 & 0x3f; _It = _Jt & 0x3f; _Mt[_Kt++] = _Bt.charAt(_Ft) + _Bt.charAt(_Gt) + _Bt.charAt(_Ht) + _Bt.charAt(_It) } while ( _H3 < data . length ); _1J1 = _Mt.join(''); var _T9 = data.length % 3; return (_T9 ? _1J1.slice(0, _T9 - 3) : _1J1) + '==='.slice(_T9 || 3) } } function _Ks() { this._Ms = "fjs" + (999999 * Math.random() | 0) } _Ks.prototype._dr = ""; _Ks.prototype._zA1 = ""; _Ks.prototype.data = ""; _Ks.prototype._2J1 = "AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA" + "AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA" + "AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA" + "AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA" + "BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs" + "AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA" + "AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA" + "AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A" + "AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg" + "AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB" + "AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC" + "QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA" + "AAAA=="; _Ks.prototype._3J1 = { _4J1: 0, _5J1: 0, _6J1: 0, _7J1: 0, _8J1: 400 }; _Ks.prototype._9J1 = !1; _Ks.prototype._Is = !1; _Ks.prototype.onload = function() {}; _Ks.prototype.onerror = function() {}; _Ks.prototype.canvas = !1; _Ks.prototype.context = !1; _Ks.prototype._aJ1 = function(target, _l41, _bJ1, font, _cJ1) { if (_cJ1 !== !1 && _cJ1 < 0) { this.onerror("Requested system font '" + this._Ms + "' could not be loaded (it may not be installed)."); return } var _dJ1 = document._eJ1.getComputedStyle(target, ''); var width = _dJ1.getPropertyValue("width").replace("px", ''); if (width > 0) { document._fJ1.removeChild(_l41); document.body.removeChild(target); this._Is = !0; this.onload() } else { setTimeout(function() { font._aJ1(target, _l41, _bJ1, font, _cJ1 === !1 ? !1 : _cJ1 - 50) }, 50) } }; _Ks.prototype._gJ1 = function() { var _Fg1 = this; var _Nq = function(_cf) { return String.fromCharCode(_cf) }; var _hJ1 = function(_cf) { if (_cf < 256) { return _Nq(0) + _Nq(_cf) } var _gt = _cf >> 8; var _ht = _cf & 0xFF; return _Nq(_gt) + _Nq(_ht) }; var _iJ1 = function(_cf) { if (_cf < 0) { _cf = 0xFFFFFFFF + _cf + 1 } return parseInt(_cf, 10).toString(16); }; var _jJ1 = function(_gt, _ht) { return 256 * _gt + _ht }; var _kJ1 = function(_gt, _ht) { var _lJ1 = _gt >> 7 === 1, _cf; _gt = _gt & 0x7F; _cf = 256 * _gt + _ht; if (!_lJ1) { return _cf } return _cf - 0x8000 }; var _mJ1 = function(_gt, _ht, _nJ1, _oJ1) { return 16777216 * _gt + 65536 * _ht + 256 * _nJ1 + _oJ1 }; var error = function(_Wg) { _Fg1.onerror(_Wg) }; var _pJ1 = _Nq(0) + _Nq(1) + _Nq(0) + _Nq(0); var _qJ1 = "OTTO"; var data = this.data; var version = _Nq(data[0]) + _Nq(data[1]) + _Nq(data[2]) + _Nq(data[3]); var _rJ1 = (version === _pJ1); var _sJ1 = (_rJ1 ? !1 : version === _qJ1); if (_rJ1) { this._zA1 = "truetype"; } else if (_sJ1) { this._zA1 = "opentype" } else { error("Error: file at " + this._dr + " cannot be interpreted as OpenType font."); return } var _tJ1 = _jJ1(data[4], data[5]), _uJ1 = 12, _vJ1, end = _uJ1 + 16 * _tJ1, _wJ1 = {}, _X31; for (_vJ1 = _uJ1; _vJ1 < end; _vJ1 += 16) { _X31 = _Nq(data[_vJ1]) + _Nq(data[_vJ1 + 1]) + _Nq(data[_vJ1 + 2]) + _Nq(data[_vJ1 + 3]); _wJ1[_X31] = { name: _X31, _xJ1: _mJ1(data[_vJ1 + 4], data[_vJ1 + 5], data[_vJ1 + 6], data[_vJ1 + 7]), _L3: _mJ1(data[_vJ1 + 8], data[_vJ1 + 9], data[_vJ1 + 10], data[_vJ1 + 11]), length: _mJ1(data[_vJ1 + 12], data[_vJ1 + 13], data[_vJ1 + 14], data[_vJ1 + 15]) } } var _yJ1 = function(_X31) { if (!_wJ1[_X31]) { error("Error: font is missing the required OpenType '" + _X31 + "' table."); return ! 1 } return _X31 }; _X31 = _yJ1("head"); if (_X31 === !1) { return } _vJ1 = _wJ1[_X31]._L3; _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1] + data[_vJ1 + 2] + data[_vJ1 + 3]; var _zJ1 = _jJ1(data[_vJ1 + 18], data[_vJ1 + 19]); this._3J1._4J1 = _zJ1; _X31 = _yJ1("hhea"); if (_X31 === !1) { return } _vJ1 = _wJ1[_X31]._L3; _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1] + data[_vJ1 + 2] + data[_vJ1 + 3]; this._3J1._6J1 = _kJ1(data[_vJ1 + 4], data[_vJ1 + 5]) / _zJ1; this._3J1._7J1 = _kJ1(data[_vJ1 + 6], data[_vJ1 + 7]) / _zJ1; this._3J1._5J1 = _kJ1(data[_vJ1 + 8], data[_vJ1 + 9]) / _zJ1; _X31 = _yJ1("OS/2"); if (_X31 === !1) { return } _vJ1 = _wJ1[_X31]._L3; _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1]; this._3J1._8J1 = _jJ1(data[_vJ1 + 4], data[_vJ1 + 5]); _X31 = _yJ1("cmap"); if (_X31 === !1) { return } _vJ1 = _wJ1[_X31]._L3; _wJ1[_X31].version = "" + data[_vJ1] + data[_vJ1 + 1]; _tJ1 = _jJ1(data[_vJ1 + 2], data[_vJ1 + 3]); var _AJ1, _BJ1, _CJ1, _DJ1, _L3, _EJ1 = !1; for (_AJ1 = 0; _AJ1 < _tJ1; _AJ1++) { _BJ1 = _vJ1 + 4 + _AJ1 * 8; _CJ1 = _jJ1(data[_BJ1], data[_BJ1 + 1]); _DJ1 = _jJ1(data[_BJ1 + 2], data[_BJ1 + 3]); _L3 = _mJ1(data[_BJ1 + 4], data[_BJ1 + 5], data[_BJ1 + 6], data[_BJ1 + 7]); if (_CJ1 === 3 && _DJ1 === 1) { _EJ1 = _L3 } } var _FJ1 = "A"; this._GJ1 = []; if (_EJ1 !== !1) { _vJ1 += _EJ1; version = _jJ1(data[_vJ1], data[_vJ1 + 1]); if (version === 4) { var _HJ1 = _jJ1(data[_vJ1 + 6], data[_vJ1 + 7]) / 2; var _IJ1 = function(_Nq) { return [0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x0020, 0x0085, 0x00A0, 0x1680, 0x180E, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x2028, 0x2029, 0x202F, 0x205F, 0x3000].indexOf(_Nq) === -1 }; var _H3 = _vJ1 + 14, e = _vJ1 + 14 + 2 * _HJ1, _JJ1 = !1; for (; _H3 < e; _H3 += 2) { _JJ1 = _jJ1(data[_H3], data[_H3 + 1]); if (_IJ1(_JJ1)) { break } _JJ1 = !1 } var _9q = e + 2; for (; _H3 < e; _H3 += 2, _9q += 2) { var _KJ1 = _jJ1(data[_H3], data[_H3 + 1]); var _LJ1 = _jJ1(data[_9q], data[_9q + 1]); if (_KJ1 != 0xffff) { for (var _C9 = _LJ1; _C9 <= _KJ1; ++_C9) { this._GJ1.push(_C9) } } } if (_JJ1 !== !1) { _FJ1 = String.fromCharCode(_JJ1); var _uy1 = -(_JJ1 - 1) + 65536; var _MJ1 = _kC1(_Nq(0) + _hJ1(_JJ1) + _hJ1(0xFFFF) + _hJ1(0) + _hJ1(_JJ1) + _hJ1(0xFFFF) + _hJ1(_uy1) + _hJ1(1)); this._2J1 = this._2J1.substring(0, 380) + _MJ1 + this._2J1.substring(380 + _MJ1.length) } } } this._NJ1(_FJ1, !1) }; _Ks.prototype._NJ1 = function(_FJ1, _cJ1) { var _OJ1 = this._Ms + " testfont"; var _PJ1 = document.createElement("style"); _PJ1.setAttribute("type", "text/css"); _PJ1.innerHTML = "@font-face {\n" + " font-family: '" + _OJ1 + "';\n" + " src: url('data:application/x-font-ttf;base64," + this._2J1 + "')\n" + " format('truetype');}"; document._fJ1.appendChild(_PJ1); var _QJ1 = !1; if (!this._9J1) { _QJ1 = this._RJ1(); document._fJ1.appendChild(_QJ1); } var _SJ1 = document.createElement("p"); _SJ1.style.cssText = "position: absolute; top: 0; left: 0; opacity: 0;"; _SJ1.style._Ms = "'" + this._Ms + "', '" + _OJ1 + "'"; _SJ1.innerHTML = _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1 + _FJ1; document.body.appendChild(_SJ1); if (!document._eJ1.getComputedStyle) { this.onload(); error("Error: document.defaultView.getComputedStyle is not supported by this browser.\n" + "Consequently, Font.onload() cannot be trusted.") } else { var _TJ1 = this._9J1 ? 1000 : this._3J1._4J1; var canvas = document.createElement("canvas"); canvas.width = _TJ1; canvas.height = _TJ1; this.canvas = canvas; var context = canvas.getContext("2d"); context.font = "1em '" + this._Ms + "'"; context.fillStyle = "white"; context.fillRect( - 1, -1, _TJ1 + 2, _TJ1 + 2); context.fillStyle = "black"; context.fillText("test text", 50, _TJ1 / 2); this.context = context; var _UJ1 = this; var _VJ1 = function() { _UJ1._aJ1(_SJ1, _PJ1, _QJ1, _UJ1, _cJ1) }; setTimeout(_VJ1, 50) } }; _Ks.prototype._WJ1 = function() { this._9J1 = !0; this._3J1 = !1; this._NJ1("A", 1000) }; _Ks.prototype._XJ1 = function() { var font = this; if (this._dr.indexOf(".") === -1) { setTimeout(function() { font._WJ1() }, 10); return } var _er = new XMLHttpRequest(); _er.open('GET', font._dr, !0); _er.responseType = "arraybuffer"; _er.onload = function(_YJ1) { var _ZJ1 = _er.response; if (_ZJ1) { font.data = new Uint8Array(_ZJ1); font._gJ1() } else { font.onerror("Error downloading font resource from " + font._dr) } }; _er.send(null) }; _Ks.prototype.__J1 = !1; _Ks.prototype._RJ1 = function() { if (this.__J1) { return this.__J1 } this.__J1 = document.createElement("style"); this.__J1.type = "text/css"; var _0K1 = "@font-face {\n"; _0K1 += " font-family: '" + this._Ms + "';\n"; _0K1 += " src: url('" + this._dr + "') format('" + this._zA1 + "');\n"; _0K1 += "}"; this.__J1.innerHTML = _0K1; return this.__J1 }; _Ks.prototype.measureText = function(_1K1, _2K1) { if (!this._Is) { error("measureText() was called while the font was not yet loaded"); return ! 1 } this.context.font = _2K1 + "px '" + this._Ms + "'"; var _3J1 = this.context.measureText(_1K1); _3J1.fontsize = _2K1; _3J1._6J1 = 0; _3J1._7J1 = 0; _3J1._gB1 = { _3K1: 0, _4K1: _3J1.width, _5K1: 0, _6K1: 0 }; _3J1.height = 0; var _7K1 = [], _8K1 = _3J1.width / this._3J1._4J1; if (_8K1 <= 1) { _7K1.push(_1K1) } else { _7K1.push(_1K1) } var _9K1 = _7K1.length, _H3; for (_H3 = 0; _H3 < _9K1; _H3++) { this._aK1(_7K1[_H3], _2K1, _3J1) } return _3J1 }; _Ks.prototype._aK1 = function(_bK1, _2K1, _3J1) { var _cK1 = function(_ge, _dK1) { return document._eJ1.getComputedStyle(_ge, null).getPropertyValue(_dK1) }; var _H3, __9, _eK1, _Xp, _U71; var _fK1 = document.createElement("div"); _fK1.style.position = "absolute"; _fK1.style.opacity = 0; _fK1.style.font = _2K1 + "px '" + this._Ms + "'"; var _iD1 = 10; _fK1.innerHTML = _bK1; for (_H3 = 1; _H3 < _iD1; _H3++) { _fK1.innerHTML += "
" + _bK1; } document.body.appendChild(_fK1); _3J1._5J1 = 1.2 * _2K1; var _gK1 = _cK1(_fK1, "height"); _gK1 = _gK1.replace("px", ""); if (_gK1 >= _2K1 * _iD1) { _3J1._5J1 = (_gK1 / _iD1) | 0 } document.body.removeChild(_fK1); if (/^_hK1*$/.test(_bK1)) { return _3J1 } var canvas = this.canvas, _Jb = this.context, _TJ1 = this._9J1 ? 1000 : this._3J1._4J1, _J3 = _TJ1, _K3 = _TJ1, _iK1 = _TJ1 / 2, padding = 50, _jK1 = (_TJ1 - _3J1.width) / 2; if (_jK1 !== (_jK1 | 0)) { _jK1 = _jK1 | 0 } _Jb.fillStyle = "white"; _Jb.fillRect( - padding, -padding, _J3 + 2 * padding, _K3 + 2 * padding); _Jb.fillStyle = "black"; _Jb.fillText(_bK1, _jK1, _iK1); var _kK1 = (_3J1.width + padding) | 0, _lK1 = 4 * _2K1, _mK1 = _jK1 - padding / 2, _nK1 = _iK1 - _lK1 / 2, _4k1 = _Jb.getImageData(_mK1, _nK1, _kK1, _lK1).data; _H3 = 0; __9 = 0; _eK1 = _kK1 * 4; _Xp = _4k1.length; _U71 = _lK1 / 2; while (++_H3 < _Xp && _4k1[_H3] === 255) {} var _6J1 = (_H3 / _eK1) | 0; _H3 = _Xp - 1; while (--_H3 > 0 && _4k1[_H3] === 255) {} var _7J1 = (_H3 / _eK1) | 0; for (_H3 = 0, __9 = 0; __9 < _kK1 && _4k1[_H3] === 255;) { _H3 += _eK1; if (_H3 >= _Xp) { __9++; _H3 = (_H3 - _Xp) + 4 } } var _3K1 = __9; var _ML = 1; for (_H3 = _Xp - 3, __9 = 0; __9 < _kK1 && _4k1[_H3] === 255;) { _H3 -= _eK1; if (_H3 < 0) { __9++; _H3 = (_Xp - 3) - (_ML++) * 4 } } var _4K1 = _kK1 - __9; _3J1._6J1 = (_U71 - _6J1); _3J1._7J1 = (_7J1 - _U71); _3J1._gB1 = { _3K1: _3K1 - (padding / 2), _4K1: _4K1 - (padding / 2), _5K1: -_3J1._7J1, _6K1: _3J1._6J1 }; _3J1.height = 1 + (_7J1 - _6J1); return _3J1 }; Object.defineProperty(_Ks.prototype, "src", { set: function(_dr) { this._dr = _dr; this._XJ1() } }); window._Ks = _Ks } (window)); function _oK1() {} var _Y9 = 3.14159265, _pK1 = !0, _qK1 = !1, _DF = !0, _rJ = 0, _rK1 = -1, _sK1 = 0, _tK1 = 1, _uK1 = 2, _yz = 0, _vK1 = -1, _wK1 = 0, _zz = 1, _xK1 = 2, _yK1 = 3, _zK1 = 4, _AK1 = 5, _BK1 = 6, _CK1 = 7, _gp1 = 8, _DK1 = 9, _EK1 = 10, _FK1 = 0, _wK1 = -1, _GK1 = 0, _HK1 = 0, _IK1 = 1, _JK1 = 2, _KK1 = 3, _LK1 = 4, _MK1 = 5, _NK1 = 6, _OK1 = 7, _PK1 = 8, _QK1 = 9, _uJ = 0, _RK1 = -1, _QD = -100, _SK1 = -200, _TK1 = -300, _UK1 = -400, _wD = -1, _VK1 = -2, _fA = -3, _xy = -4, _WK1 = -5, _XK1 = -7, _YK1 = -6, _0j = 0x000, _By = 0x100, _TI1 = 0x200, _ZK1 = 0x300, _jv1 = 0x400, __K1 = 0x500, _0L1 = 0x600, _TH1 = 0x700, _1L1 = 0x800, _2L1 = 0x900, _3L1 = 0xA00, _4L1 = 0xB00, _5L1 = _ZK1 | 1, _6L1 = _ZK1 | 2, _7L1 = _ZK1 | 3, _QH1 = _TH1 | 1, _UH1 = _TH1 | 2, _8L1 = _TH1 | 3, _9L1 = _TH1 | 4, _aL1 = _TH1 | 5, _bL1 = _TH1 | 6, _cL1 = _TH1 | 7, _dL1 = _TH1 | 8, _Yu1 = _TH1 | 9, _eL1 = _TH1 | 10, _fL1 = _TH1 | 11, _gL1 = _TH1 | 14, _hL1 = _TH1 | 15, _iL1 = _TH1 | 16, _jL1 = _TH1 | 17, _kL1 = _TH1 | 18, _lL1 = _TH1 | 19, _mL1 = _TH1 | 20, _nL1 = _TH1 | 21, _oL1 = _TH1 | 22, _pL1 = _TH1 | 23, _qL1 = _TH1 | 24, _rL1 = _TH1 | 25, _sL1 = _TH1 | 26, _tL1 = _TH1 | 27, _uL1 = _TH1 | 28, _vL1 = _TH1 | 29, _0I1 = _TH1 | 30, _wL1 = _TH1 | 31, _xL1 = _TH1 | 32, _yL1 = _TH1 | 33, _zL1 = _TH1 | 34, _AL1 = _TH1 | 35, _BL1 = _TH1 | 36, _CL1 = _TH1 | 37, _1I1 = _TH1 | 40, _DL1 = _TH1 | 41, _EL1 = _TH1 | 42, _FL1 = _TH1 | 43, _GL1 = _TH1 | 44, _HL1 = _TH1 | 45, _IL1 = _TH1 | 46, _JL1 = _TH1 | 47, _h9 = _TH1 | 58; _KL1 = _TH1 | 60, _LL1 = _TH1 | 61, _ML1 = _TH1 | 62, _NL1 = _TH1 | 63, _OL1 = _1L1 | 64, _PL1 = _1L1 | 65, _QL1 = _1L1 | 72, _RL1 = _1L1 | 73, _SL1 = _1L1 | 74, _TL1 = _1L1 | 75, _UL1 = _1L1 | 76, _VL1 = _1L1 | 77, _ey = _TH1 | 66, _WL1 = _TH1 | 70, _vG1 = _TH1 | 71, _kI1 = _0L1 | 1, _mI1 = _0L1 | 2, _lI1 = _0L1 | 3, _nI1 = _0L1 | 4, _pI1 = _0L1 | 5, _oI1 = _0L1 | 6, _qI1 = _0L1 | 7, _sI1 = _0L1 | 8, _rI1 = _0L1 | 9, _DI1 = _0L1 | 10, _XL1 = _0L1 | 11, _YL1 = _0L1 | 12, _EI1 = _0L1 | 13, _ZL1 = _0L1 | 14, __L1 = _0L1 | 15, _FI1 = _0L1 | 16, _0M1 = _0L1 | 17, _1M1 = _0L1 | 18, _tI1 = _0L1 | 19, _uI1 = _0L1 | 20, _vI1 = _0L1 | 21, _wI1 = _0L1 | 22, _xI1 = _0L1 | 23, _2M1 = _TI1 | 1, _3M1 = _TI1 | 2, _4M1 = _TI1 | 3, _5M1 = _TI1 | 4, _6M1 = _TI1 | 5, _7M1 = _TI1 | 6, _8M1 = _TI1 | 7, _9M1 = _TI1 | 8, _aM1 = _TI1 | 9, _bM1 = _TI1 | 10, _cM1 = _TI1 | 11, _dM1 = _TI1 | 12, _eM1 = 0, _fM1 = 1, _gM1 = 2, _hM1 = 3, _iM1 = 4, _jM1 = 5, _kM1 = 6, _lM1 = 7, _mM1 = 8, _nM1 = 9, _oM1 = 10, _pM1 = 11, _qM1 = 0, _rM1 = 1, _sM1 = 2, _tM1 = 3, _uM1 = 4, _vM1 = 5, _wM1 = 6, _xM1 = 7, _yM1 = 8, _zM1 = 9, _AM1 = 10, _BM1 = 11, _CM1 = 16, _DM1 = 17, _EM1 = 18, _FM1 = 19, _GM1 = 21, _HM1 = 22, _IM1 = 23, _JM1 = 24, _KM1 = 25, _LM1 = 26, _MM1 = 27, _NM1 = 28, _OM1 = 31, _PM1 = 32, _QM1 = 33, _RM1 = 34, _SM1 = 36, _TM1 = 37, _UM1 = 38, _VM1 = 39, _WM1 = 40, _XM1 = 41, _YM1 = 42, _ZM1 = 43, __M1 = 50, _0N1 = 51, _1N1 = 52, _2N1 = 53, _3N1 = 54, _4N1 = 55, _5N1 = 56, _6N1 = 57, _7N1 = 58, _8N1 = 60, _9N1 = 61, _aN1 = 0, _bN1 = 1, _cN1 = 2, _dN1 = 0, _eN1 = 1, _fN1 = 2, _gN1 = 3, _hN1 = 4, _iN1 = 5, _jN1 = 6, _kN1 = 7, _lN1 = 8, _mN1 = 9, _nN1 = 30, _oN1 = 40, _pN1 = 41, _qN1 = 42, _rN1 = 43, _sN1 = 44, _tN1 = 45, _uN1 = 46, _vN1 = 47, _wN1 = 50, _xN1 = 51, _yN1 = 52, _zN1 = 53, _AN1 = 54, _BN1 = 55, _CN1 = 56, _DN1 = 57, _EN1 = 58, _FN1 = 10, _GN1 = 11, _HN1 = 12, _IN1 = 13, _JN1 = 14, _KN1 = 15, _LN1 = 16, _MN1 = 17, _NN1 = 18, _ON1 = 19, _PN1 = 20, _QN1 = 21, _RN1 = 22, _SN1 = 23, _TN1 = 24, _UN1 = 25, _VN1 = 60, _WN1 = 61, _XN1 = 64, _YN1 = 65, _ZN1 = 66, __N1 = 70, _0O1 = 71, _1O1 = _2L1 | 0, _2O1 = _2L1 | 1, _3O1 = _2L1 | 1, _4O1 = _2L1 | 8, _5O1 = _2L1 | 9, _6O1 = _2L1 | 13, _7O1 = _2L1 | 16, _8O1 = _2L1 | 17, _9O1 = _2L1 | 18, _aO1 = _2L1 | 19, _bO1 = _2L1 | 27, _cO1 = _2L1 | 32, _dO1 = _2L1 | 33, _eO1 = _2L1 | 34, _fO1 = _2L1 | 35, _gO1 = _2L1 | 36, _hO1 = _2L1 | 37, _iO1 = _2L1 | 38, _jO1 = _2L1 | 39, _kO1 = _2L1 | 40, _lO1 = _2L1 | 45, _mO1 = _2L1 | 46, _nO1 = _2L1 | 48, _oO1 = _2L1 | 49, _pO1 = _2L1 | 50, _qO1 = _2L1 | 51, _rO1 = _2L1 | 52, _sO1 = _2L1 | 53, _tO1 = _2L1 | 54, _uO1 = _2L1 | 55, _vO1 = _2L1 | 56, _wO1 = _2L1 | 57, _xO1 = _2L1 | 65, _yO1 = _2L1 | 66, _zO1 = _2L1 | 67, _AO1 = _2L1 | 68, _BO1 = _2L1 | 69, _CO1 = _2L1 | 70, _DO1 = _2L1 | 71, _EO1 = _2L1 | 72, _FO1 = _2L1 | 73, _GO1 = _2L1 | 74, _HO1 = _2L1 | 75, _IO1 = _2L1 | 76, _JO1 = _2L1 | 77, _KO1 = _2L1 | 78, _LO1 = _2L1 | 79, _MO1 = _2L1 | 80, _NO1 = _2L1 | 81, _OO1 = _2L1 | 82, _PO1 = _2L1 | 83, _QO1 = _2L1 | 84, _RO1 = _2L1 | 85, _SO1 = _2L1 | 86, _TO1 = _2L1 | 87, _UO1 = _2L1 | 88, _VO1 = _2L1 | 89, _WO1 = _2L1 | 90, _XO1 = _2L1 | 112, _YO1 = _2L1 | 113, _ZO1 = _2L1 | 114, __O1 = _2L1 | 115, _0P1 = _2L1 | 116, _1P1 = _2L1 | 117, _2P1 = _2L1 | 118, _3P1 = _2L1 | 119, _4P1 = _2L1 | 120, _5P1 = _2L1 | 121, _6P1 = _2L1 | 122, _7P1 = _2L1 | 123, _8P1 = _2L1 | 145, _9P1 = _2L1 | 186, _aP1 = _2L1 | 187, _bP1 = _2L1 | 188, _cP1 = _2L1 | 189, _dP1 = _2L1 | 190, _eP1 = _2L1 | 191, _fP1 = _2L1 | 192, _gP1 = _2L1 | 219, _hP1 = _2L1 | 220, _iP1 = _2L1 | 221, _jP1 = _2L1 | 222, _kP1 = _2L1 | 223, _lP1 = _2L1 | 144, _mP1 = _2L1 | 96, _nP1 = _2L1 | 97, _oP1 = _2L1 | 98, _pP1 = _2L1 | 99, _qP1 = _2L1 | 100, _rP1 = _2L1 | 101, _sP1 = _2L1 | 102, _tP1 = _2L1 | 103, _uP1 = _2L1 | 104, _vP1 = _2L1 | 105, _wP1 = _2L1 | 106, _xP1 = _2L1 | 107, _yP1 = _2L1 | 109, _zP1 = _2L1 | 110, _AP1 = _2L1 | 111, _BP1 = __K1 | 0, _CP1 = __K1 | 1, _DP1 = __K1 | 1, _EP1 = __K1 | 8, _FP1 = __K1 | 9, _GP1 = __K1 | 13, _HP1 = __K1 | 16, _IP1 = __K1 | 17, _JP1 = __K1 | 18, _KP1 = __K1 | 19, _LP1 = __K1 | 27, _MP1 = __K1 | 32, _NP1 = __K1 | 33, _OP1 = __K1 | 34, _PP1 = __K1 | 35, _QP1 = __K1 | 36, _RP1 = __K1 | 37, _SP1 = __K1 | 38, _TP1 = __K1 | 39, _UP1 = __K1 | 40, _VP1 = __K1 | 45, _WP1 = __K1 | 46, _XP1 = __K1 | 48, _YP1 = __K1 | 49, _ZP1 = __K1 | 50, __P1 = __K1 | 51, _0Q1 = __K1 | 52, _1Q1 = __K1 | 53, _2Q1 = __K1 | 54, _3Q1 = __K1 | 55, _4Q1 = __K1 | 56, _5Q1 = __K1 | 57, _6Q1 = __K1 | 65, _7Q1 = __K1 | 66, _8Q1 = __K1 | 67, _9Q1 = __K1 | 68, _aQ1 = __K1 | 69, _bQ1 = __K1 | 70, _cQ1 = __K1 | 71, _dQ1 = __K1 | 72, _eQ1 = __K1 | 73, _fQ1 = __K1 | 74, _gQ1 = __K1 | 75, _hQ1 = __K1 | 76, _iQ1 = __K1 | 77, _jQ1 = __K1 | 78, _kQ1 = __K1 | 79, _lQ1 = __K1 | 80, _mQ1 = __K1 | 81, _nQ1 = __K1 | 82, _oQ1 = __K1 | 83, _pQ1 = __K1 | 84, _qQ1 = __K1 | 85, _rQ1 = __K1 | 86, _sQ1 = __K1 | 87, _tQ1 = __K1 | 88, _uQ1 = __K1 | 89, _vQ1 = __K1 | 90, _wQ1 = __K1 | 112, _xQ1 = __K1 | 113, _yQ1 = __K1 | 114, _zQ1 = __K1 | 115, _AQ1 = __K1 | 116, _BQ1 = __K1 | 117, _CQ1 = __K1 | 118, _DQ1 = __K1 | 119, _EQ1 = __K1 | 120, _FQ1 = __K1 | 121, _GQ1 = __K1 | 122, _HQ1 = __K1 | 123, _IQ1 = __K1 | 145, _JQ1 = __K1 | 186, _KQ1 = __K1 | 187, _LQ1 = __K1 | 188, _MQ1 = __K1 | 189, _NQ1 = __K1 | 190, _OQ1 = __K1 | 191, _PQ1 = __K1 | 192, _QQ1 = __K1 | 219, _RQ1 = __K1 | 220, _SQ1 = __K1 | 221, _TQ1 = __K1 | 222, _UQ1 = __K1 | 223, _VQ1 = __K1 | 144, _WQ1 = __K1 | 96, _XQ1 = __K1 | 97, _YQ1 = __K1 | 98, _ZQ1 = __K1 | 99, __Q1 = __K1 | 100, _0R1 = __K1 | 101, _1R1 = __K1 | 102, _2R1 = __K1 | 103, _3R1 = __K1 | 104, _4R1 = __K1 | 105, _5R1 = __K1 | 106, _6R1 = __K1 | 107, _7R1 = __K1 | 109, _8R1 = __K1 | 110, _9R1 = __K1 | 111, _aR1 = _3L1 | 0, _bR1 = _3L1 | 1, _cR1 = _3L1 | 1, _dR1 = _3L1 | 8, _eR1 = _3L1 | 9, _fR1 = _3L1 | 13, _gR1 = _3L1 | 16, _hR1 = _3L1 | 17, _iR1 = _3L1 | 18, _jR1 = _3L1 | 19, _kR1 = _3L1 | 27, _lR1 = _3L1 | 32, _mR1 = _3L1 | 33, _nR1 = _3L1 | 34, _oR1 = _3L1 | 35, _pR1 = _3L1 | 36, _qR1 = _3L1 | 37, _rR1 = _3L1 | 38, _sR1 = _3L1 | 39, _tR1 = _3L1 | 40, _uR1 = _3L1 | 45, _vR1 = _3L1 | 46, _wR1 = _3L1 | 48, _xR1 = _3L1 | 49, _yR1 = _3L1 | 50, _zR1 = _3L1 | 51, _AR1 = _3L1 | 52, _BR1 = _3L1 | 53, _CR1 = _3L1 | 54, _DR1 = _3L1 | 55, _ER1 = _3L1 | 56, _FR1 = _3L1 | 57, _GR1 = _3L1 | 65, _HR1 = _3L1 | 66, _IR1 = _3L1 | 67, _JR1 = _3L1 | 68, _KR1 = _3L1 | 69, _LR1 = _3L1 | 70, _MR1 = _3L1 | 71, _NR1 = _3L1 | 72, _OR1 = _3L1 | 73, _PR1 = _3L1 | 74, _QR1 = _3L1 | 75, _RR1 = _3L1 | 76, _SR1 = _3L1 | 77, _TR1 = _3L1 | 78, _UR1 = _3L1 | 79, _VR1 = _3L1 | 80, _WR1 = _3L1 | 81, _XR1 = _3L1 | 82, _YR1 = _3L1 | 83, _ZR1 = _3L1 | 84, __R1 = _3L1 | 85, _0S1 = _3L1 | 86, _1S1 = _3L1 | 87, _2S1 = _3L1 | 88, _3S1 = _3L1 | 89, _4S1 = _3L1 | 90, _5S1 = _3L1 | 112, _6S1 = _3L1 | 113, _7S1 = _3L1 | 114, _8S1 = _3L1 | 115, _9S1 = _3L1 | 116, _aS1 = _3L1 | 117, _bS1 = _3L1 | 118, _cS1 = _3L1 | 119, _dS1 = _3L1 | 120, _eS1 = _3L1 | 121, _fS1 = _3L1 | 122, _gS1 = _3L1 | 123, _hS1 = _3L1 | 145, _iS1 = _3L1 | 186, _jS1 = _3L1 | 187, _kS1 = _3L1 | 188, _lS1 = _3L1 | 189, _mS1 = _3L1 | 190, _nS1 = _3L1 | 191, _oS1 = _3L1 | 192, _pS1 = _3L1 | 219, _qS1 = _3L1 | 220, _rS1 = _3L1 | 221, _sS1 = _3L1 | 222, _tS1 = _3L1 | 223, _uS1 = _3L1 | 144, _vS1 = _3L1 | 96, _wS1 = _3L1 | 97, _xS1 = _3L1 | 98, _yS1 = _3L1 | 99, _zS1 = _3L1 | 100, _AS1 = _3L1 | 101, _BS1 = _3L1 | 102, _CS1 = _3L1 | 103, _DS1 = _3L1 | 104, _ES1 = _3L1 | 105, _FS1 = _3L1 | 106, _GS1 = _3L1 | 107, _HS1 = _3L1 | 109, _IS1 = _3L1 | 110, _JS1 = _3L1 | 111, _KS1 = 0, _LS1 = 1, _MS1 = 2, _NS1 = [], _SI1 = 12, _OS1 = 8, _PS1 = 8, _QS1 = 8, _3t = 10, _yw = 0x000000, _RS1 = 0x000080, _SS1 = 0x008000, _TS1 = 0x008080, _US1 = 0x800000, _VS1 = 0x800080, _WS1 = 0x808000, _XS1 = 0x808080, _YS1 = 0xC0C0C0, _Zp1 = 0x0000FF, _ZS1 = 0x00FF00, __S1 = 0x00FFFF, __p1 = 0xFF0000, _0T1 = 0xFF00FF, _1T1 = 0xFFFF00, _2T1 = 0xC0C0C0, _3T1 = 0x808080, _4T1 = 0xFFFFFF, _5T1 = 0xC0DCC0, _6T1 = 0xF0CAA6, _7T1 = 0xF0FBFF, _8T1 = 0xA4A0A0, _9T1 = -1, _aT1 = 0, _5h = 1, global = null, _Ys = null, _dy = null, _dh = null, _FD = null, _w6 = null, _Yp = null, _bT1 = null, _cT1 = null, _Nj = null, _Cv1 = null, _GC = null, _pt = null, _xq = null, _dT1 = null, _H8 = null, _eT1 = null, _Lg = null, _fT1 = null, _gT1 = null, _hT1 = null, _iT1 = null, _Fh = null, _jT1 = null, _kT1 = null, _Vh = null, _Hi = null, _PA = null, _bi = null, _Ei = null, _Fj = null, _lT1 = null, _5K = null, _5t = null, _4t = null, _mT1 = null, _7t = null, _nT1 = null, _oT1 = null, _pT1 = null, _qT1 = null, _zp1 = null, _Ap1 = null, _Ra = null, _Rr = null, _Pg = null, _gH = null, _fH = null, _hH = null, _iH = null, _rT1 = null, _sT1 = null, _tT1 = null, _uT1 = null, _vT1 = null, _wT1 = null, _uE = null, _vE = null, g_WebAudioContext = null, _Hq = null, _fq = null, _xT1 = null, _4h = _aT1, _yT1 = !0, _zT1 = !0, _ky = !1, _Ro1 = !1, _AT1 = !1, _GF = !1, _FF = !1, _vF = !1, _Tp = !1, _BT1 = !1, _8H = !1, _CT1 = !1, _DT1 = !1, _ET1 = !1, _FT1 = !1, _hq = !1, _GT1 = !1, _To1 = !1, _HT1 = !1, _IT1 = 0, _LD = 0, _JT1 = 0, _KT1 = 0, _LT1 = 0, _MT1 = 0, _bI = 0, _cI = 0, _eI = 0, _fI = 0, _dI = 0, _gI = 0, _NT1 = 0, _OT1 = 0, _PT1 = 0, _Ad = 0, _Bd = 0, _ps = 0, _uv = 0, _qv = 0, _9w = 0, _bw = 0, _hI = 0, _iI = 0, _QT1 = 0, _RT1 = 0, _ST1 = 0, _TT1 = 0, _UT1 = 0, _VT1 = 0, _WT1 = 0, _XT1 = 0, _YT1 = 0, _ZT1 = 0, _wt = 0, _xt = 0, _Bp1 = 0, __T1 = 0, _0U1 = 0, _Dz = 0, _1U1 = 0, _2U1 = 0, _3U1 = 0, _4U1 = 0, _5I = 0, _5U1 = 0, _Sn = 0, _6U1 = 0, _7U1 = 0, _8U1 = 0, _9U1 = 0, _aU1 = 0, _bU1 = !1, _cU1 = -1, _dU1 = -1, _eU1 = 1, _fU1 = 1, _gU1 = 0, _hU1 = 0, _iU1 = 0, _jU1 = 0, _kU1 = 0, _lU1 = 0, _mU1 = 0, _nU1 = 0, _oU1 = 0, _pU1 = 0, _qU1 = 0, _rU1 = 0, _sU1 = 0, _tU1 = 0, _uU1 = 0, _vU1 = 0, _wU1 = 0, _xU1 = 0, _yU1 = 0, _zU1 = 0, _AU1 = 0, _BU1 = 0, _mH1 = 0, _CU1 = 0, _DU1 = 0, _EU1 = 0, _FU1 = 0, _GU1 = 0, _HU1 = 0, _IU1 = 0, _JU1 = 0, _KU1 = 0, _LU1 = [], _cq = 'canvas', _MU1 = '0123456789ABCDEF'; function _NU1() { var debug = !1; if ((_Yp._A5) && (_Yp._A5._B5) && (_Yp._A5._B5 === !0)) { debug = !0 } if (!debug) { _Vy = _Jy; _x7 = _OU1; _Ph = _Rh; _Ah = _Hh; _Ih = _Kh; _Lh = _Oh } else { _Vy = _Ty; _x7 = _PU1; _Ph = _Qh; _Ah = _Bh; _Ih = _Jh; _Lh = _Mh } } function _QU1() { _LU1 = []; var _RU1 = ~~0xEDB88320; for (var _H3 = 0; _H3 < 256; ++_H3) { var _SU1 = ~~_H3; for (var __9 = 8; __9 > 0; --__9) { if ((_SU1 & 1) !== 0) { _SU1 = ((_SU1 >> 1) & 0x7fffffff) ^ _RU1 } else { _SU1 >>= 1; _SU1 &= 0x7fffffff } } _LU1[_H3] = _SU1 } } function _TU1() { _QU1(); _UU1(); if (_4h != _9T1) { try { var _VU1 = new Audio(); _VU1.controls = !1; _GF = !!_VU1.canPlayType && _VU1.canPlayType('audio/mpeg') !== ""; _FF = !!_VU1.canPlayType && _VU1.canPlayType('audio/ogg; codecs="vorbis"') !== ""; _VU1 = null } catch(e) { _GF = !1; _FF = !1 } } if (_GF) debug("Browser CAN play MP3"); if (_FF) debug("Browser CAN play OGG"); _NU1(); _xT1 = _IT1 = 0; _H8 = null; _Ro1 = !1; _LD = -1; _hH = new _WU1(); _eT1 = new _WU1(); _XU1 = new _WU1(); _iH = new _WU1(); _gH = new _Iq(); _fH = new _Iq(); _eT1._Q3 = !0; _XU1._Q3 = !0; _Lg = []; _Lg[0] = _eT1; _gT1 = []; _hT1 = []; _iT1 = []; _Fh = new _LC(5); _jT1 = new _LC(5); _kT1 = new _LC(5); _Vh = new _LC(5); _Hi = new _LC(5); _PA = new _LC(5); _bi = new _LC(5); _Fj = new _LC(5); _Ei = new _LC(5); _lT1 = new _Lj(); _Rr = new _LC(5); _Pg = new _Iq(); _sT1 = new _YU1(); _sT1._ZU1 = "DUMMY INSTANCE"; _NS1[0] = -1; _NS1[1] = 0; _NS1[2] = 0x00000000; _NS1[3] = 1; _NS1[4] = 0; _NS1[5] = 0x00000000; _NS1[6] = 0; _NS1[7] = -1; _NS1[8] = 0x00000000; _NS1[9] = 0; _NS1[10] = 1; _NS1[11] = 0x00000000; _NS1[12] = 0; _NS1[13] = 0; _NS1[14] = 0xffffffff; _cq = "canvas"; _Ra = "html5game/"; if (typeof(g_GameMakerHTML5Dir) != "undefined") { _Ra = g_GameMakerHTML5Dir } else { if (_Yp._A5 && _Yp._A5._S5) { _Ra = _Yp._A5._S5 + '/' } } _5K = []; _5t = []; _4t = []; _mT1 = "Hiscore Table"; _7t = ""; _nT1 = "Press to Continue"; _TT1 = 0x000000; _XT1 = -1; _UT1 = 0xffff00; _VT1 = 0xffffff; _oT1 = "verdana"; _WT1 = 16; _pT1 = ""; _yT1 = !0; _6t(); _9U1 = -1; _aU1 = -1; _Fj.__U1(); _NT1 = 0.0000001; _4U1 = 512; _Hq = []; _8H = _To1 = !1; _zT1 = !0; _hq = !1; _vT1 = _ZT1 = null; _wt = _xt = -1; _Dz = 0; _PT1 = 1.0; _JT1 = 0; _KT1 = -1; _LT1 = 0; _YT1 = 0; _MT1 = 0; _0V1 = !0; _ST1 = 10000000; _OT1 = 100000; _Ad = 1.0; _ps = 0x00000000; _Bd = 0x000000; _uv = _vv(_Bd); _qv = _Uj(_Bd, _Ad); _mH1 = _vv(0x000000); _CU1 = _vv(0xffffff); _DU1 = _vv(0x0000ff); _EU1 = _vv(0x00ff00); _FU1 = _vv(0xff0000); _GU1 = _vv(0xff000000); _HU1 = _vv(0xffffffff); _IU1 = _vv(0xff0000ff); _JU1 = _vv(0xff00ff00); _KU1 = _vv(0xffff0000); _gU1 = 0; _hU1 = -1; _iU1 = -2; _jU1 = -3; _kU1 = -4; _lU1 = -6; _mU1 = -7; _nU1 = -8; _oU1 = -9; _pU1 = -10; _qU1 = -11; _rU1 = -12; _sU1 = -13; _tU1 = -14; _uU1 = -15; _vU1 = -16; _wU1 = -17; _xU1 = -18; _yU1 = -19; _zU1 = -20; _AU1 = -21; _BU1 = -22; _7U1 = -1; _6U1 = -1; _8U1 = 0; _1V1(); if (_Yp._A5 && _Yp._A5._G5 === !1) { canvas.style.cursor = "none" } _DT1 = !1; if (_Yp._A5 && _Yp._A5._V5 === !0) { _DT1 = !0 } if (typeof _2V1 == 'function') { _2V1() } } function _3V1(_4V1) { return _4V1 * (Math.PI / 180.0) } function _5V1(_V8, _W8) { if (_V8 === 0) return 0; var _V9 = ((_V8 * 0x1000000) % (_W8 * 0x1000000)); _V9 = _V9 / 0x1000000; return _V9 } function _do(_V8) { return _V8 * _V8 } function _vv(_Sd) { var _1b = "rgb(" + ((_Sd >> 16) & 0xff).toString() + "," + ((_Sd >> 8) & 0xff).toString() + "," + ((_Sd >> 0) & 0xff).toString() + ")"; return _1b } function _Uj(_Sd, _Gd) { var _1b = "rgba(" + ((_Sd >> 16) & 0xff).toString() + "," + ((_Sd >> 8) & 0xff).toString() + "," + ((_Sd >> 0) & 0xff).toString() + "," + ((_Gd * 255.0) & 0xff).toString() + ")"; return _1b } function _6V1(_4V1) { return _Y9 * _4V1 / 180.0 } function _Dd(_Sd) { return (((_Sd & 0xff) << 16) | (_Sd & 0xff00) | ((_Sd & 0xff0000) >> 16)) } function _wy(_lt, _7i, _7V1, _zD) { var _3i, _Ay, _Zi, _T9; var _kb = _wy.arguments; var _0i = _wy.arguments.length; var _8V1 = _kb[_0i - 1]; _7i = ~~_7i; if (_7i == _xy) return _zD; if (_7i == _fA) { _3i = _dy._RA(); for (_Zi = 0; _Zi < _3i.length; _Zi++) { _Ay = _3i[_Zi]; if ((_7V1) && (_Ay == _lt)) continue; if (_Ay._xD) continue; _T9 = _8V1(_Ay); if (_T9 > 0) return _T9 } } else if (_7i < 100000) { var _li = _Ys._Gh(_7i); if (_li === null) { return _zD } _3i = _li._AD(); for (_Zi = 0; _Zi < _3i.length; _Zi++) { _Ay = _3i[_Zi]; if ((_7V1) && (_lt == _Ay)) continue; if (_Ay._xD) continue; _T9 = _8V1(_Ay); if (_T9 > 0) return _T9 } } else { _Ay = _dy._9V1(_7i); if ((_7V1) && (_lt == _Ay)) { return _zD } if (_Ay._xD) { return _zD } return _8V1(_Ay); } return _zD } function _aV1(_lt, _7i, _7V1, _zD) { var _3i, _Ay, _Zi, _mk; var _kb = _aV1.arguments; var _0i = _aV1.arguments.length; var _8V1 = _kb[_0i - 1]; var _kA = 10000000000; var id = -1; _7i = ~~_7i; if (_7i == _xy) return _zD; if (_7i == _fA) { _3i = _dy._RA(); for (_Zi = 0; _Zi < _3i.length; _Zi++) { _Ay = _3i[_Zi]; if ((_7V1) && (_Ay == _lt)) continue; if (_Ay._xD) continue; _mk = _8V1(_Ay); if (_mk < _kA) { _kA = _mk } } if (_kA != 10000000000) return _kA } else if (_7i < 100000) { var _li = _Ys._Gh(_7i); if (_li === null) { return _zD } _3i = _li._AD(); for (_Zi = 0; _Zi < _3i.length; _Zi++) { _Ay = _3i[_Zi]; if ((_7V1) && (_lt == _Ay)) continue; if (_Ay._xD) continue; _mk = _8V1(_Ay); if (_mk < _kA) { _kA = _mk } } if (_kA != 10000000000) return _kA } else { _Ay = _dy._9V1(_7i); if ((_7V1) && (_lt == _Ay)) { return _zD } if (_Ay._xD) { return _zD } return _8V1(_Ay) } return _zD } var _bV1 = { init: function() { this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; this._cV1 = this.searchString(this.dataOS) || "an unknown OS"; this._dV1 = this._eV1(); }, _eV1: function() { if (navigator.appVersion.indexOf("CPU OS 5_") != -1) { return 5.0 } else if (navigator.appVersion.indexOf("CPU OS 4_") != -1) { return 4.0 } else if (navigator.appVersion.indexOf("CPU OS 3_") != -1) { return 3.0 } else if (navigator.appVersion.indexOf("Android 4") != -1) { return 4.0 } else if (navigator.appVersion.indexOf("Android 3") != -1) { return 3.0 } else if (navigator.appVersion.indexOf("Android 2") != -1) { return 2.0 } else { return _RK1 } }, searchString: function(data) { for (var _H3 = 0; _H3 < data.length; _H3++) { var _fV1 = data[_H3]._zG; var _gV1 = data[_H3].prop; this.versionSearchString = data[_H3].versionSearch || data[_H3].identity; if (_fV1) { if (_fV1.indexOf(data[_H3]._hV1) != -1) { return data[_H3].identity } } else if (_gV1) { return data[_H3].identity } } }, searchVersion: function(_fV1) { var index = _fV1.indexOf(this.versionSearchString); if (index == -1) return; return parseFloat(_fV1.substring(index + this.versionSearchString.length + 1)) }, dataBrowser: [{ _zG: navigator.userAgent, _hV1: "Tizen", identity: "Tizen" }, { _zG: navigator.userAgent, _hV1: "Chrome", identity: "Chrome" }, { _zG: navigator.userAgent, _hV1: "OmniWeb", versionSearch: "OmniWeb/", identity: "OmniWeb" }, { _zG: navigator.vendor, _hV1: "Apple", identity: "Safari", versionSearch: "Version" }, { prop: window.opera, identity: "Opera" }, { _zG: navigator.userAgent, _hV1: "KHTML", identity: "KHTML", versionSearch: "Mozilla/" }, { _zG: navigator.vendor, _hV1: "iCab", identity: "iCab" }, { _zG: navigator.vendor, _hV1: "KDE", identity: "Konqueror" }, { _zG: navigator.userAgent, _hV1: "Firefox", identity: "Firefox" }, { _zG: navigator.userAgent, _hV1: "IceWeasel", identity: "IceWeasel" }, { _zG: navigator.vendor, _hV1: "Camino", identity: "Camino" }, { _zG: navigator.userAgent, _hV1: "Netscape", identity: "Netscape" }, { _zG: navigator.userAgent, _hV1: "IEMobile", identity: "IEMobile" }, { _zG: navigator.userAgent, _hV1: "MSIE", identity: "Explorer", versionSearch: "MSIE" }, { _zG: navigator.userAgent, _hV1: "Trident/", identity: "Explorer", versionSearch: "rv" }, { _zG: navigator.userAgent, _hV1: "Gecko", identity: "Mozilla", versionSearch: "rv" }], dataOS: [{ _zG: navigator.userAgent, _hV1: "Phone 8", identity: "WindowsPhone8" }, { _zG: navigator.platform, _hV1: "Win", identity: "Windows" }, { _zG: navigator.platform, _hV1: "Mac", identity: "Mac" }, { _zG: navigator.userAgent, _hV1: "iPhone", identity: "iPhone" }, { _zG: navigator.userAgent, _hV1: "iPod", identity: "iPhone" }, { _zG: navigator.userAgent, _hV1: "iPad", identity: "iPad" }, { _zG: navigator.userAgent, _hV1: "Android", identity: "Android" }, { _zG: navigator.userAgent, _hV1: "Tizen", identity: "Tizen" }, { _zG: navigator.platform, _hV1: "Linux", identity: "Linux" }] }; function _UU1() { _bV1.init(); if (_bV1._cV1 == "Windows") { _FK1 = _GK1 } else if (_bV1._cV1 == "Mac") { _FK1 = _IK1 } else if (_bV1._cV1 == "iPhone") { _FK1 = _KK1 } else if (_bV1._cV1 == "iPad") { _FK1 = _KK1 } else if (_bV1._cV1 == "Android") { _FK1 = _LK1 } else if (_bV1._cV1 == "Linux") { _FK1 = _NK1 } else if (_bV1._cV1 == "Tizen") { _FK1 = _PK1 } else if (_bV1._cV1 == "WindowsPhone8") { _FK1 = _OK1 } else { _FK1 = _wK1 } if (_bV1._cV1 !== "") { debug(_bV1._cV1 + " Detected(" + _FK1 + ")") } _uJ = _bV1._dV1; _yz = _wK1; _rJ = _rK1; if (_bV1.browser == "Explorer") { debug("Internet Explorer detected"); _yz = _zz } else if (_bV1.browser == "IEMobile") { debug("IE Mobile detected"); _yz = _EK1 } else if (_bV1.browser == "Firefox") { debug("Firefox detected"); _yz = _xK1 } else if (_bV1.browser == "Chrome") { debug("Chrome detected"); _yz = _yK1 } else if (_bV1.browser == "Safari") { if (_FK1 == _KK1) { _yz = _AK1; _rJ = _sK1; if (_bV1._cV1 == "iPad") _rJ = _uK1; debug("Safari mobile detected") } else { debug("Safari detected"); _yz = _zK1 } } else if (_bV1.browser == "Opera") { debug("BrowserDetect: " + _bV1._cV1); debug("Opera detected"); _yz = _BK1 } else if (_bV1.browser == "KHTML") { debug("Default Android browser detected"); debug("OS: " + _uJ); _yz = _CK1 } else if (_bV1.browser == "Tizen") { _yz = _vK1 } else { debug("Unknown Browser - Please report these strings"); debug("----------------------------------------------"); if (navigator.userAgent) debug("userAgent: " + navigator.userAgent); debug("---"); if (navigator.vendor) debug("vendor: " + navigator.vendor); debug("---"); if (navigator.platform) debug("platform: " + navigator.platform); debug("----------------------------------------------") } if (_FK1 != _PK1) { if (document.URL.substring(0, 5) == "file:") { alert("WARNING: Running this via a file and not a web server is not advised as the browser will enable additional security, and things like files and colours won't work correctly. " + _Nq(13) + _Nq(13) + "Please check the FAQ for more details. " + _Nq(13) + _Nq(13) + "http://help.yoyogames.com/entries/40534573") } } } function _1V1() { try { if ('localStorage' in window && window['localStorage'] !== null) { _ky = !0 } } catch(e) { _ky = !1 } return _ky } var _iV1 = 0; var _tF = 0; var _jV1 = 0; var _kV1 = 0; var _lV1 = null; var _mV1 = null; var _nV1 = 0, _oV1 = 1, _pV1 = 2, _qV1 = 3; function _rV1() { global = new _oK1(); _w6 = new _sV1(); _dh = new _tV1(); _0f = new _wf(); _uV1(canvas); _dy = new _vV1(); _Ys = new _wV1(); _FD = new _xV1(); _Ry = new _yV1(); _Nj = new _zV1(); _cT1 = new _AV1(); _7q = new _BV1(); _Cv1 = []; _GC = new _CV1(); _pt = new _DV1(); _xq = new _EV1(); _TU1() } function _FV1(_GV1) { switch (_GV1) { case 1: return "MEDIA_ERR_ABORTED"; case 2: return "MEDIA_ERR_NETWORK"; case 3: return "MEDIA_ERR_DECODE"; case 4: return "MEDIA_ERR_SRC_NOT_SUPPORTED" } return "Unknown Error" } function _HV1(_GV1) { switch (_GV1) { case _nV1: return "NETWORK_EMPTY"; case _oV1: return "NETWORK_IDLE"; case _pV1: return "NETWORK_LOADING"; case _qV1: return "NETWORK_NO_SOURCE" } return "Unknown Error" } function _IV1(_fr) { debug("ImageLoaded: " + this.src); _tF++ } function _JV1(_fr) { debug("ImageError: " + this.src); _tF++ } function _KV1(_fr) { _kV1++; debug("ExtensionLoaded: ") } function _LV1(_fr) { _kV1++; debug("ExtensionError: ") } function ClearEventListeners(_MV1) { _MV1.removeEventListener('canplaythrough', _NV1, !1); _MV1.removeEventListener('error', _OV1, !1); _MV1.removeEventListener("loadstart", _PV1, !1); _MV1.removeEventListener("suspend", _QV1, !1); _MV1.removeEventListener("stalled", _RV1, !1); _MV1.removeEventListener("stall", _RV1, !1) } function _NV1(_fr) { this.completed = !0; if (_mV1[this.URL] !== null) { _mV1[this.URL] = null; _tF++ } ClearEventListeners(this); debug("SoundLoaded: " + this.URL) } function _OV1(_fr) { debug("SoundError: " + this.URL + " NetworkError: " + _FV1(this.error["code"])); this.completed = !1; if (_mV1[this.URL] !== null) { _mV1[this.URL] = null; _tF++ } ClearEventListeners(this) } function _PV1(_fr) { this._SV1 = !0 } function _QV1(_fr) { debug("SoundSuspended: " + this.URL); this.completed = !0; if (_mV1[this.URL] !== null) { _mV1[this.URL] = null; _tF++ } ClearEventListeners(this) } function _RV1(_fr) {} function _TV1(_Fp1) { debug("Loading: " + _Fp1); var index = _Qa(_Fp1); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = 63; _Kj._K3 = 63; _Kj._s5 = -32; _Kj._t5 = -32; _Kj._u5 = 63; _Kj._v5 = 63; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = index; _Kj._Ga = _Ha[index]; _Kj._Da = []; _Kj._Fa = 32; _Kj._Ea = 0; var _UV1 = _gT1.length; _gT1[_UV1] = _Kj; return _UV1 } function _VV1(_WV1) { debug("Loading: " + _Ra + _WV1); var e = window.document.createElement('script'); e.setAttribute('src', _Ra + _WV1); e.setAttribute('type', "text/javascript"); e.onload = _KV1; e.onerror = _LV1; window.document.body.appendChild(e); _jV1++ } function _XV1(_YV1) { if (_YV1._V2 !== undefined) { for (var _H3 = 0; _H3 < _YV1._V2.length; _H3++) { var _ZV1 = _YV1._V2[_H3]; if (_ZV1._W2) { for (var _5r = 0; _5r < _ZV1._W2.length; _5r++) { _VV1(_ZV1._W2[_5r]) } } } } } function __V1(_YV1) { _mV1 = []; _jV1 = 0; _kV1 = 0; _XV1(_YV1) } function _0W1(_Fp1) { _iV1++; var _9y = new XMLHttpRequest(); _9y.open('GET', _CF(_Fp1), !0); _9y.send(); _9y.onload = function(_by) { _tF++; _Ry._1W1(_9y.responseText) }; _9y.onerror = function(_by) { _tF++ } } function _2W1(_Fp1) { _iV1++; var _9y = new XMLHttpRequest(); _9y.open('GET', _CF(_Fp1), !0); _9y.responseType = 'arraybuffer'; _9y.send(); _9y.onload = function(_by) { _tF++; _Ry._3W1(_9y.response || _9y.responseText) }; _9y.onerror = function(_by) { _tF++ } } function _4W1(_YV1) { var _V9, id; if (_YV1._5W1) document.title = _YV1._5W1; _lV1 = document.getElementById('GM4HTML5_loadingscreen'); if (_7p1 === "") { __V1(_YV1); _7p1 = _6W1 } else { try { _7p1 = eval(_7p1) } catch(e) { _7p1 = _6W1 } } _tF = 0; for (index = 0; index < _YV1._z5.length; index++) { _iV1++; debug("Loading: " + _Ra + _YV1._z5[index]); _V9 = _Qa(_Ra + _YV1._z5[index]); _Ha[_V9].onload = _IV1; _Ha[_V9].onerror = _JV1; _Ha[_V9].URL = _YV1._z5[index] } if ((_YV1._7W1 !== null) && (_YV1._7W1 !== undefined)) { _2W1(_YV1._7W1) } if ((_YV1._8W1 !== null) && (_YV1._8W1 !== undefined)) { _0W1(_YV1._8W1) } for (var _H3 = 2; _H3 < 16; _H3++) { _iV1++; var _mv = _TV1(_Ra + "particles/IDR_GIF" + _H3 + ".png"); _V9 = _gT1[_mv]._y5; _Ha[_V9].onload = _IV1; _Ha[_V9].onerror = _JV1; _Ha[_V9].URL = "particles/IDR_GIF" + _H3 + ".png" } if (_4h == _5h) { for (index = 0; index < _YV1._X2.length; index++) { if (_YV1._X2[index] !== null) { _iV1++; debug("Loading: " + _Ra + _YV1._X2[index]._9W1); if (_YV1._X2[index]._b3 === 0) { id = _BF(_Ra + _YV1._X2[index]._9W1, index, _YV1._X2[index]._aW1); if (id === undefined) { _iV1-- } } else if ((_YV1._X2[index]._b3 == 3) || (_YV1._X2[index]._b3 == 1)) { _zF(_Ra + _YV1._X2[index]._9W1, index, _YV1._X2[index]._aW1); _iV1-- } else { debug("Attempting to load sound with unknown type: " + _YV1._X2[index]._b3); _iV1-- } } } } else if (_4h == _aT1) { for (index = 0; index < _YV1._X2.length; index++) { if (_YV1._X2[index] !== null) { _iV1++; debug("Loading: " + _Ra + _YV1._X2[index]._9W1); id = _bW1(_Ra + _YV1._X2[index]._9W1, _YV1._X2[index]._Z2, _YV1._X2[index]._aW1, _NV1, _OV1); if ((id !== undefined) && (_HF[id]) && (_HF[id].URL)) { _mV1[_HF[id].URL] = _HF[id]; } else { _iV1-- } } } } } function _cW1() { for (var _H3 in _mV1) { if (!_mV1.hasOwnProperty(_H3)) continue; var _dW1 = _mV1[_H3]; if (_dW1) { if ((_dW1.networkState !== null && _dW1.networkState !== undefined) && (_dW1.readyState !== null && _dW1.readyState !== undefined)) { if ((_dW1.networkState == _oV1 || _dW1.networkState == _qV1) && (_dW1._SV1) && (_dW1.readyState != 4)) { if (_dW1.completed !== !0) { _dW1.completed = !1; _tF++; _mV1[_H3] = null; ClearEventListeners(_dW1); debug("SoundError: " + _dW1.URL + " NetworkState: " + _HV1(_dW1.networkState)) } } } } } } function _eW1(_fW1, _li) { if (_li._gW1) return; if (_li._dq !== null) { _eW1(_li._dq.__y, _li._dq) } for (var _hW1 in _li._iW1) { if (!_li._iW1.hasOwnProperty(_hW1)) continue; if (_Cv1[_hW1]) { if (_Cv1[_hW1][_fW1]) { continue } } var _AZ = !1; var _jW1 = _li; while (_jW1 !== null) { var id = _jW1.__y; var _kW1 = _Ys._Gh(_hW1); while (_kW1 !== null) { var _lW1 = _kW1.__y; if (_Cv1[_lW1] && _Cv1[_lW1][id]) { _AZ = !0; break } _kW1 = _kW1._dq } _jW1 = _jW1._dq } if (!_AZ) { if (!_Cv1[_fW1]) { _Cv1[_fW1] = [] } _Cv1[_fW1][_hW1] = _hW1 } } _li._gW1 = !0 } function _mW1() { var _3i = _Ys._RA(); for (var _fW1 = 0; _fW1 < _3i.length; _fW1++) { var _li = _3i[_fW1]; if (_li._dq !== null) { _eW1(_li._dq.__y, _li._dq) } _eW1(_fW1, _li) } } function _nW1() { var _oW1 = ""; if (_Yp._A5._Y5 !== null && _Yp._A5._Y5 !== undefined) { for (var _H3 = 0; _H3 < _Yp._A5._Y5.length; _H3++) { var _Nq = _Yp._A5._Y5[_H3]; if ((_Nq >= 'a' && _Nq <= 'z') || (_Nq >= 'A' && _Nq <= 'Z') || (_Nq >= '0' && _Nq <= '9') || (_Nq === '_')) { _oW1 = _oW1 + _Yp._A5._Y5[_H3] } } } if (_oW1.length === 0) { _oW1 = "GameMaker" } return _oW1 + "." + _w6._pW1 + "." } function _qW1(_YV1) { var index, _ED, _H3; _OT1 = 1000000; _w6._pW1 = _YV1._A5._C5; _5I = _YV1._A5._U5; _BT1 = _YV1._A5._H5; _pJ = _YV1._A5._T5; _w6._rW1 = _Ra; _w6._sW1 = _nW1(); if (_sa) _w6._tW1 = !0; _rT1 = new _uW1(_YV1._N3); _2U1 = _YV1._A5._X5; var id = 0; for (var index = 0; index < _YV1._O3.length; index++) { var _uu = _YV1._O3[index]; if (_uu !== null) { var _Oy = _vW1(id, _uu); _Ys._Wh(_Oy) } id++ } _Ys._wW1(); _mW1(); for (var index = 0; index < _YV1._a5.length; index++) { var _xW1 = _YV1._a5[index]; if (_xW1 !== null) { _ED = new _yW1(); _ED._zW1(_xW1); _FD._Wh(_ED) } else { _IT1++; _FD._Wh(null) } } _2U1 = _YV1._A5._W5; _FD._AW1(_YV1._q5); for (_H3 = 0; _H3 < _YV1._q5.length; _H3++) { _ED = _FD._MD(_H3); _ED._JD = _H3 } _w6._BW1 = _FD._MD(0).id; _w6._CW1 = _FD._MD(_FD._DW1.length - 1).id; _EW1(_YV1._r5); for (index = 0; index < _YV1._Y2.length; index++) { if (_YV1._Y2[index] === null) { _Ry._2G(null) } else { var _Qy = _FW1(_YV1._Y2[index]); _Ry._2G(_Qy) } } for (index = 0; index < _YV1._93.length; index++) { var _Kb = _Nj._GW1(_YV1._93[index]); var _hG = _Nj._Xj(_Kb); if (_hG !== null) _hG._5G = _HW1 } for (index = 0; index < _YV1._w3.length; index++) { _7q._Wh(_YV1._w3[index]) } for (index = 0; index < _YV1._a3.length; index++) { var _FC = _IW1(_YV1._a3[index]); _GC._Wh(_FC) } for (index = 0; index < _YV1._X2.length; index++) { _cT1._Wh(_YV1._X2[index]) } if (_YV1._M3 !== undefined) { for (index = 0; index < _YV1._M3.length; index++) { _pt._Wh(_YV1._M3[index]) } } _6t(); __s(); if (typeof _26 == 'function') { _wT1 = new _26() } if (typeof _36 == 'function') { _36() } if (_YV1._V2 !== undefined) { for (_H3 = 0; _H3 < _YV1._V2.length; _H3++) { var _ZV1 = _YV1._V2[_H3]; try { var _hr = eval(_ZV1.init); if (_hr) _hr() } catch(_yF) { _Xg("Error calling extension initialisation function: " + _ZV1.init.name) } } } } var _Yo = 0; var _1p = 1; var _5p = 2; var _JW1 = 3; var _Zo = 4; var _Rn = 5; var _6p = 6; var _KW1 = 7; var __o = 8; var _2p = 9; var _7p = 10; var _LW1 = 11; var _0p = 12; var _3p = 13; var _8p = 14; var _MW1 = 15; function _Gn(_Vl) { this._F9 = new Float32Array(16); if (_Gn.arguments.length > 0) { for (var _H3 = 0; _H3 < 16; _H3++) { this._F9[_H3] = _Vl._F9[_H3] } } else { this._vp1() } } function _gN(_Vl) { for (var _H3 = 0; _H3 < 16; _H3++) { if (this._F9[_H3] != _Vl._F9[_H3]) { return ! 1 } } return ! 0 } _Gn.prototype._vp1 = function(_ic) { this._F9[1] = this._F9[2] = this._F9[3] = this._F9[4] = this._F9[6] = this._F9[7] = this._F9[8] = this._F9[9] = this._F9[11] = this._F9[12] = this._F9[13] = this._F9[14] = 0.0; this._F9[0] = this._F9[5] = this._F9[10] = this._F9[15] = 1.0 }; _Gn.prototype._Ln = function(_NW1, _OW1, _PW1) { var _QW1 = new _In(_PW1); var _RW1 = new _In(); var _SW1 = _OW1._TW1(_NW1); _SW1._fo(); _QW1._fo(); _RW1._UW1(_QW1, _SW1); _RW1._fo(); _QW1._UW1(_SW1, _RW1); _QW1._fo(); var _io = _NW1._VW1(_RW1); var _jo = _NW1._VW1(_QW1); var _ko = _NW1._VW1(_SW1); this._F9[_Yo] = _RW1._io; this._F9[_1p] = _QW1._io; this._F9[_5p] = _SW1._io; this._F9[_JW1] = 0.0; this._F9[_Zo] = _RW1._jo; this._F9[_Rn] = _QW1._jo; this._F9[_6p] = _SW1._jo; this._F9[_KW1] = 0.0; this._F9[__o] = _RW1._ko; this._F9[_2p] = _QW1._ko; this._F9[_7p] = _SW1._ko; this._F9[_LW1] = 0.0; this._F9[_0p] = -_io; this._F9[_3p] = -_jo; this._F9[_8p] = -_ko; this._F9[_MW1] = 1 }; _Gn.prototype._Qn = function(_WW1, _XW1, _YW1, _ZW1) { var _kb = _3V1(_WW1); var __W1 = 1.0 / Math.tan(_kb * 0.5); var _U51 = __W1 / _XW1; this._F9[_Yo] = _U51; this._F9[_1p] = this._F9[_5p] = this._F9[_JW1] = 0.0; this._F9[_Rn] = __W1; this._F9[_Zo] = this._F9[_6p] = this._F9[_KW1] = 0.0; this._F9[__o] = this._F9[_2p] = 0.0; this._F9[_LW1] = 1.0; this._F9[_7p] = _ZW1 / (_ZW1 - _YW1); this._F9[_0p] = this._F9[_0p] = this._F9[_MW1] = 0.0; this._F9[_8p] = -_YW1 * _ZW1 / (_ZW1 - _YW1) }; _Gn.prototype._Zn = function(_vh, _wh, _YW1, _ZW1) { this._F9[_Yo] = 2 * _YW1 / _vh; this._F9[_1p] = this._F9[_5p] = this._F9[_JW1] = 0.0; this._F9[_Rn] = 2 * _YW1 / _wh; this._F9[_Zo] = this._F9[_6p] = this._F9[_KW1] = 0.0; this._F9[__o] = this._F9[_2p] = 0.0; this._F9[_LW1] = 1.0; this._F9[_7p] = _ZW1 / (_ZW1 - _YW1); this._F9[_0p] = this._F9[_3p] = this._F9[_MW1] = 0.0; this._F9[_8p] = -_YW1 * _ZW1 / (_ZW1 - _YW1) }; _Gn.prototype._Yn = function(_vh, _wh, _YW1, _ZW1) { this._F9[_Yo] = 2.0 / _vh; this._F9[_1p] = this._F9[_5p] = 0.0; this._F9[_JW1] = 0; this._F9[_Rn] = 2.0 / _wh; this._F9[_Zo] = this._F9[_6p] = 0.0; this._F9[_KW1] = 0; this._F9[__o] = this._F9[_2p] = 0.0; this._F9[_7p] = 1.0 / (_ZW1 - _YW1); this._F9[_LW1] = 0; this._F9[_0p] = this._F9[_3p] = 0.0; this._F9[_8p] = _YW1 / (_YW1 - _ZW1); this._F9[_MW1] = 1.0 }; _Gn.prototype._Vo = function(_0X1, _1X1) { this._F9[_Yo] = (_0X1._F9[_Yo] * _1X1._F9[_Yo]) + (_0X1._F9[_1p] * _1X1._F9[_Zo]) + (_0X1._F9[_5p] * _1X1._F9[__o]) + (_0X1._F9[_JW1] * _1X1._F9[_0p]); this._F9[_1p] = (_0X1._F9[_Yo] * _1X1._F9[_1p]) + (_0X1._F9[_1p] * _1X1._F9[_Rn]) + (_0X1._F9[_5p] * _1X1._F9[_2p]) + (_0X1._F9[_JW1] * _1X1._F9[_3p]); this._F9[_5p] = (_0X1._F9[_Yo] * _1X1._F9[_5p]) + (_0X1._F9[_1p] * _1X1._F9[_6p]) + (_0X1._F9[_5p] * _1X1._F9[_7p]) + (_0X1._F9[_JW1] * _1X1._F9[_8p]); this._F9[_JW1] = (_0X1._F9[_Yo] * _1X1._F9[_JW1]) + (_0X1._F9[_1p] * _1X1._F9[_KW1]) + (_0X1._F9[_5p] * _1X1._F9[_LW1]) + (_0X1._F9[_JW1] * _1X1._F9[_MW1]); this._F9[_Zo] = (_0X1._F9[_Zo] * _1X1._F9[_Yo]) + (_0X1._F9[_Rn] * _1X1._F9[_Zo]) + (_0X1._F9[_6p] * _1X1._F9[__o]) + (_0X1._F9[_KW1] * _1X1._F9[_0p]); this._F9[_Rn] = (_0X1._F9[_Zo] * _1X1._F9[_1p]) + (_0X1._F9[_Rn] * _1X1._F9[_Rn]) + (_0X1._F9[_6p] * _1X1._F9[_2p]) + (_0X1._F9[_KW1] * _1X1._F9[_3p]); this._F9[_6p] = (_0X1._F9[_Zo] * _1X1._F9[_5p]) + (_0X1._F9[_Rn] * _1X1._F9[_6p]) + (_0X1._F9[_6p] * _1X1._F9[_7p]) + (_0X1._F9[_KW1] * _1X1._F9[_8p]); this._F9[_KW1] = (_0X1._F9[_Zo] * _1X1._F9[_JW1]) + (_0X1._F9[_Rn] * _1X1._F9[_KW1]) + (_0X1._F9[_6p] * _1X1._F9[_LW1]) + (_0X1._F9[_KW1] * _1X1._F9[_MW1]); this._F9[__o] = (_0X1._F9[__o] * _1X1._F9[_Yo]) + (_0X1._F9[_2p] * _1X1._F9[_Zo]) + (_0X1._F9[_7p] * _1X1._F9[__o]) + (_0X1._F9[_LW1] * _1X1._F9[_0p]); this._F9[_2p] = (_0X1._F9[__o] * _1X1._F9[_1p]) + (_0X1._F9[_2p] * _1X1._F9[_Rn]) + (_0X1._F9[_7p] * _1X1._F9[_2p]) + (_0X1._F9[_LW1] * _1X1._F9[_3p]); this._F9[_7p] = (_0X1._F9[__o] * _1X1._F9[_5p]) + (_0X1._F9[_2p] * _1X1._F9[_6p]) + (_0X1._F9[_7p] * _1X1._F9[_7p]) + (_0X1._F9[_LW1] * _1X1._F9[_8p]); this._F9[_LW1] = (_0X1._F9[__o] * _1X1._F9[_JW1]) + (_0X1._F9[_2p] * _1X1._F9[_KW1]) + (_0X1._F9[_7p] * _1X1._F9[_LW1]) + (_0X1._F9[_LW1] * _1X1._F9[_MW1]); this._F9[_0p] = (_0X1._F9[_0p] * _1X1._F9[_Yo]) + (_0X1._F9[_3p] * _1X1._F9[_Zo]) + (_0X1._F9[_8p] * _1X1._F9[__o]) + (_0X1._F9[_MW1] * _1X1._F9[_0p]); this._F9[_3p] = (_0X1._F9[_0p] * _1X1._F9[_1p]) + (_0X1._F9[_3p] * _1X1._F9[_Rn]) + (_0X1._F9[_8p] * _1X1._F9[_2p]) + (_0X1._F9[_MW1] * _1X1._F9[_3p]); this._F9[_8p] = (_0X1._F9[_0p] * _1X1._F9[_5p]) + (_0X1._F9[_3p] * _1X1._F9[_6p]) + (_0X1._F9[_8p] * _1X1._F9[_7p]) + (_0X1._F9[_MW1] * _1X1._F9[_8p]); this._F9[_MW1] = (_0X1._F9[_0p] * _1X1._F9[_JW1]) + (_0X1._F9[_3p] * _1X1._F9[_KW1]) + (_0X1._F9[_8p] * _1X1._F9[_LW1]) + (_0X1._F9[_MW1] * _1X1._F9[_MW1]) }; _Gn.prototype._Qo = function(_Z8) { this._vp1(); var _kb = _3V1(_Z8); var _9q = Math.sin(_kb); var _I3 = Math.cos(_kb); this._F9[_Yo] = _I3; this._F9[_1p] = -_9q; this._F9[_Zo] = _9q; this._F9[_Rn] = _I3 }; _Gn.prototype._Po = function(_Z8) { this._vp1(); var _kb = _3V1(_Z8); var _9q = Math.sin(_kb); var _I3 = Math.cos(_kb); this._F9[_Yo] = _I3; this._F9[_5p] = _9q; this._F9[__o] = -_9q; this._F9[_7p] = _I3 }; _Gn.prototype._Oo = function(_Z8) { this._vp1(); var _kb = _3V1(_Z8); var _9q = Math.sin(_kb); var _I3 = Math.cos(_kb); this._F9[_Rn] = _I3; this._F9[_6p] = -_9q; this._F9[_2p] = _9q; this._F9[_7p] = _I3 }; _Gn.prototype._Mo = function(_V8, _W8, _Qd) { this._vp1(); this._F9[_0p] = _V8; this._F9[_3p] = _W8; this._F9[_8p] = _Qd }; _Gn.prototype._No = function(_VH, _WH, _2X1) { this._vp1(); this._F9[_Yo] = _VH; this._F9[_Rn] = _WH; this._F9[_7p] = _2X1 }; _Gn.prototype._Ro = function(_Fd, _Z8) { _Fd._fo(); var _kb = _3V1(_Z8); var _I3 = Math.cos(_kb); var _9q = Math.sin(_kb); var _3X1 = 1.0 - _I3; this._vp1(); this._F9[0] = (_3X1 * _Fd._io * _Fd._io + _I3); this._F9[1] = (_3X1 * _Fd._io * _Fd._jo + _9q * _Fd._ko); this._F9[2] = (_3X1 * _Fd._io * _Fd._ko - _9q * _Fd._jo); this._F9[4] = (_3X1 * _Fd._io * _Fd._jo - _9q * _Fd._ko); this._F9[5] = (_3X1 * _Fd._jo * _Fd._jo + _I3); this._F9[6] = (_3X1 * _Fd._jo * _Fd._ko + _9q * _Fd._io); this._F9[8] = (_3X1 * _Fd._io * _Fd._ko + _9q * _Fd._jo); this._F9[9] = (_3X1 * _Fd._jo * _Fd._ko - _9q * _Fd._io); this._F9[10] = (_3X1 * _Fd._ko * _Fd._ko + _I3); }; _Gn.prototype._ip = function(_V8, _W8, _Qd, _Xl, _Yl, _Zl, __l, _0m, _1m) { var _4X1 = Math.sin(_Xl); var _5X1 = Math.cos(_Xl); var _6X1 = Math.sin(_Yl); var _7X1 = Math.cos(_Yl); var _8X1 = Math.sin(_Zl); var _9X1 = Math.cos(_Zl); var _aX1 = -_8X1 * -_4X1; var _bX1 = _9X1 * -_4X1; this._F9[0] = ((_9X1 * _7X1) + (_aX1 * -_6X1)) * __l; this._F9[4] = ( - _8X1 * _5X1) * __l; this._F9[8] = ((_9X1 * _6X1) + (_aX1 * _7X1)) * __l; this._F9[12] = _V8; this._F9[1] = ((_8X1 * _7X1) + (_bX1 * -_6X1)) * _0m; this._F9[5] = (_9X1 * _5X1) * _0m; this._F9[9] = ((_8X1 * _6X1) + (_bX1 * _7X1)) * _0m; this._F9[13] = _W8; this._F9[2] = (_5X1 * -_6X1) * _1m; this._F9[6] = _4X1 * _1m; this._F9[10] = (_5X1 * _7X1) * _1m; this._F9[14] = _Qd; this._F9[3] = this._F9[7] = this._F9[11] = 0.0; this._F9[15] = 1.0 }; function _Lj() { this._f3 = 0; this._g3 = 0; this._J3 = 0; this._K3 = 0; this._s5 = 0; this._t5 = 0; this._u5 = 0; this._v5 = 0; this._w5 = 0; this._x5 = 0; this._y5 = 0; this._5G = _HW1 } function _HW1(_lG) { this._f3 = _lG._f3; this._g3 = _lG._g3; this._J3 = _lG._J3; this._K3 = _lG._K3; this._s5 = _lG._s5; this._t5 = _lG._t5; this._u5 = _lG._u5; this._v5 = _lG._v5; this._w5 = _lG._w5; this._x5 = _lG._x5; this._y5 = _lG._y5 } function _cX1(_1b) { _nc("splash_set_color()") } var _dX1 = _cX1; function _yt(_zi) { _2q("clipboard_set_text()") } var _eX1 = !0; function _fX1(_pc) { _nc("texture_get_width()") } function _gX1(_pc) { _nc("texture_get_height()") } function _hX1(_iX1) { _nc("texture_set_blending()") } function _1o(repeat) { _nc("texture_set_repeat()") } function _0o() { _nc("texture_get_repeat()") } function _jX1(repeat) { _nc("texture_set_repeat_ext()") } function _kX1(_lX1) { _nc("texture_set_interpolation()") } function _mX1() { _nc("texture_set_interpolation_ext()") } function _nX1() { _nc("draw_set_alpha_test()") } function _oX1() { _nc("draw_set_alpha_test_ref_value()") } function _pX1() { _nc("draw_get_alpha_test()"); return 0 } function _qX1() { _nc("draw_get_alpha_test_ref_value()"); return 0 } function _jp1() { _nc("http_get_file()") } function _lp1() { _nc("zip_unzip()") } function _In(_rX1, _sX1, _tX1) { if (_In.arguments.length > 0) { if (_In.arguments.length == 3) { this._io = _rX1; this._jo = _sX1; this._ko = _tX1 } else { this._io = _rX1._io; this._jo = _rX1._jo; this._ko = _rX1._ko } } else { this._io = 1.0; this._jo = 0.0; this._ko = 0.0 } } _In.prototype._Wh = function(_ic) { return new _In(this._io + _ic._io, this._jo + _ic._jo, this._ko + _ic._ko) }; _In.prototype._TW1 = function(_ic) { return new _In(this._io - _ic._io, this._jo - _ic._jo, this._ko - _ic._ko) }; _In.prototype._fo = function() { var _Xp = 1.0 / Math.sqrt((this._io * this._io) + (this._jo * this._jo) + (this._ko * this._ko)); this._io = this._io * _Xp; this._jo = this._jo * _Xp; this._ko = this._ko * _Xp }; _In.prototype._UW1 = function(_uX1, _vX1) { this._io = (_uX1._jo * _vX1._ko) - (_uX1._ko * _vX1._jo); this._jo = (_uX1._ko * _vX1._io) - (_uX1._io * _vX1._ko); this._ko = (_uX1._io * _vX1._jo) - (_uX1._jo * _vX1._io) }; _In.prototype._VW1 = function(_wX1) { return (this._io * _wX1._io) + (this._jo * _wX1._jo) + (this._ko * _wX1._ko); }; (function(global, _6h1, _xX1) { 'use strict'; function _yX1(_zX1) { if (!_zX1) return; if (!_zX1.setTargetValueAtTime) _zX1.setTargetValueAtTime = _zX1.setTargetAtTime } if (window.hasOwnProperty('AudioContext') && (!window.hasOwnProperty('webkitAudioContext') || window.webkitAudioContext.prototype.createGainNode === undefined)) { window.webkitAudioContext = AudioContext; AudioContext.prototype._AX1 = AudioContext.prototype.createGain; AudioContext.prototype.createGain = function() { var _aI = this._AX1(); _yX1(_aI.gain); return _aI; }; AudioContext.prototype._BX1 = AudioContext.prototype.createDelay; AudioContext.prototype.createDelay = function() { var _aI = this._BX1(); _yX1(_aI.delayTime); return _aI }; AudioContext.prototype._CX1 = AudioContext.prototype.createBufferSource; AudioContext.prototype.createBufferSource = function() { var _aI = this._CX1(); if (!_aI.noteOn) _aI.noteOn = _aI.start; if (!_aI.noteGrainOn) _aI.noteGrainOn = _aI.start; if (!_aI.noteOff) _aI.noteOff = _aI.stop; _yX1(_aI.playbackRate); return _aI }; AudioContext.prototype._DX1 = AudioContext.prototype._EX1; AudioContext.prototype._EX1 = function() { var _aI = this._DX1(); _yX1(_aI._FX1); _yX1(_aI._GX1); _yX1(_aI._Ca1); _yX1(_aI._HX1); _yX1(_aI._IX1); _yX1(_aI._JX1); return _aI }; AudioContext.prototype._KX1 = AudioContext.prototype._LX1; AudioContext.prototype._LX1 = function() { var _aI = this._KX1(); _yX1(_aI._Tg1); _yX1(_aI._MX1); _yX1(_aI._pV); _yX1(_aI.gain); var _NX1 = ['LOWPASS', 'HIGHPASS', 'BANDPASS', 'LOWSHELF', 'HIGHSHELF', 'PEAKING', 'NOTCH', 'ALLPASS']; for (var _H3 = 0; _H3 < _NX1.length; ++_H3) { var _OX1 = _NX1[_H3]; var _PX1 = _OX1.toLowerCase(); if (!_aI.prototype.hasOwnProperty(_OX1)) { _aI.prototype[_OX1] = _PX1 } } return _aI }; if (AudioContext.prototype.hasOwnProperty('createOscillator')) { AudioContext.prototype._QX1 = AudioContext.prototype._RX1; AudioContext.prototype._RX1 = function() { var _aI = this._QX1(); if (!_aI.noteOn) _aI.noteOn = _aI.start; if (!_aI.noteOff) _aI.noteOff = _aI.stop; _yX1(_aI._Tg1); _yX1(_aI._MX1); var _NX1 = ['SINE', 'SQUARE', 'SAWTOOTH', 'TRIANGLE', 'CUSTOM']; for (var _H3 = 0; _H3 < _NX1.length; ++_H3) { var _OX1 = _NX1[_H3]; var _PX1 = _OX1.toLowerCase(); if (!_aI.prototype.hasOwnProperty(_OX1)) { _aI.prototype[_OX1] = _PX1; } } if (!_aI.prototype.hasOwnProperty('setWaveTable')) { _aI.prototype._SX1 = _aI.prototype._TX1 } return _aI } } AudioContext.prototype._UX1 = AudioContext.prototype.createPanner; AudioContext.prototype.createPanner = function() { var _aI = this._UX1(); var _NX1 = { 'EQUALPOWER': 'equalpower', 'HRTF': 'HRTF', 'LINEAR_DISTANCE': 'linear', 'INVERSE_DISTANCE': 'inverse', 'EXPONENTIAL_DISTANCE': 'exponential', }; for (var _OX1 in _NX1) { var _PX1 = _NX1[_OX1]; if (!_aI[_OX1]) { _aI[_OX1] = _PX1 } } return _aI }; if (!AudioContext.prototype.hasOwnProperty('createGainNode')) AudioContext.prototype.createGainNode = AudioContext.prototype.createGain; if (!AudioContext.prototype.hasOwnProperty('createDelayNode')) AudioContext.prototype._VX1 = AudioContext.prototype.createDelay; if (!AudioContext.prototype.hasOwnProperty('createJavaScriptNode')) AudioContext.prototype._WX1 = AudioContext.prototype.createScriptProcessor; if (!AudioContext.prototype.hasOwnProperty('createWaveTable')) AudioContext.prototype._XX1 = AudioContext.prototype.createPeriodicWave } } (window)); var _YX1 = 0, _ZX1 = 1, __X1 = 2, _0Y1 = 3, _1Y1 = 4, _2Y1 = 5, _3Y1 = 6, _4Y1 = 7, _5Y1 = 8, _6Y1 = 9, _7Y1 = 10, _8Y1 = 11, _9Y1 = 12, _aY1 = 13, _bY1 = 14, _cY1 = 15; function _uo() { this._zg() } _uo.prototype._zg = function() { this._dY1 = []; this._eY1 = [] }; _uo.prototype._fY1 = function() { var _gY1 = "100\n"; _gY1 += this._dY1.length.toString() + "\n"; for (var _H3 = 0; _H3 < this._dY1.length; _H3++) { var _hY1 = this._dY1[_H3]; _gY1 += _hY1._iY1.toString() + " "; switch (_hY1._iY1) { case _ZX1: break; case _YX1: _gY1 += _hY1._jY1.toString(); break; case __X1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += "0.0 0.0 0.0 0.0 0.0 0.0 0.0\n"; break; case _0Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += (_hY1._bb * 1.0).toString() + " "; _gY1 += _hY1.alpha.toString() + " "; _gY1 += "0.0 0.0 0.0 0.0 0.0\n"; break; case _1Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += _hY1._vb.toString() + " "; _gY1 += _hY1._xb.toString() + " "; _gY1 += "0.0 0.0 0.0 0.0 0.0\n"; break; case _2Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += _hY1._vb.toString() + " "; _gY1 += _hY1._xb.toString() + " "; _gY1 += (_hY1._bb * 1.0).toString() + " "; _gY1 += _hY1.alpha.toString() + " "; _gY1 += "0.0 0.0 0.0\n"; break; case _3Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += _hY1._Jc.toString() + " "; _gY1 += _hY1._Kc.toString() + " "; _gY1 += _hY1._Lc.toString() + " "; _gY1 += "0.0 0.0 0.0 0.0\n"; break; case _4Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += _hY1._Jc.toString() + " "; _gY1 += _hY1._Kc.toString() + " "; _gY1 += _hY1._Lc.toString() + " "; _gY1 += (_hY1._bb * 1.0).toString() + " "; _gY1 += _hY1.alpha.toString() + " "; _gY1 += "0.0 0.0\n"; break; case _5Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += _hY1._Jc.toString() + " "; _gY1 += _hY1._Kc.toString() + " "; _gY1 += _hY1._Lc.toString() + " "; _gY1 += _hY1._vb.toString() + " "; _gY1 += _hY1._xb.toString() + " "; _gY1 += "0.0 0.0\n"; break; case _6Y1: _gY1 += _hY1._f3.toString() + " "; _gY1 += _hY1._g3.toString() + " "; _gY1 += _hY1._Cc.toString() + " "; _gY1 += _hY1._Jc.toString() + " "; _gY1 += _hY1._Kc.toString() + " "; _gY1 += _hY1._Lc.toString() + " "; _gY1 += _hY1._vb.toString() + " "; _gY1 += _hY1._xb.toString() + " "; _gY1 += (_hY1._bb * 1.0).toString() + " "; _gY1 += _hY1.alpha.toString() + " "; _gY1 += "\n"; break; case _7Y1: case _bY1: case _cY1: _gY1 += _hY1._G9.toString() + " "; _gY1 += _hY1._H9.toString() + " "; _gY1 += _hY1._Lk.toString() + " "; _gY1 += _hY1._I9.toString() + " "; _gY1 += _hY1._J9.toString() + " "; _gY1 += _hY1._Mk.toString() + " "; _gY1 += (_hY1._2o ? 1.0 : 0.0).toString() + " "; _gY1 += (_hY1._3o ? 1.0 : 0.0).toString() + " "; _gY1 += "0.0 0.0\n"; break; case _aY1: _gY1 += _hY1._G9.toString() + " "; _gY1 += _hY1._H9.toString() + " "; _gY1 += _hY1._Lk.toString() + " "; _gY1 += _hY1._I9.toString() + " "; _gY1 += _hY1._J9.toString() + " "; _gY1 += _hY1._Mk.toString() + " "; _gY1 += (_hY1._2o ? 1.0 : 0.0).toString() + " "; _gY1 += (_hY1._3o ? 1.0 : 0.0).toString() + " "; _gY1 += (_hY1._Qk * 1.0).toString() + " "; _gY1 += "0.0\n"; break; case _8Y1: case _9Y1: _gY1 += _hY1._G9.toString() + " "; _gY1 += _hY1._H9.toString() + " "; _gY1 += _hY1._Lk.toString() + " "; _gY1 += _hY1._I9.toString() + " "; _gY1 += _hY1._J9.toString() + " "; _gY1 += _hY1._Mk.toString() + " "; _gY1 += (_hY1._2o ? 1.0 : 0.0).toString() + " "; _gY1 += (_hY1._3o ? 1.0 : 0.0).toString() + " "; _gY1 += (_hY1._c3 ? 1.0 : 0.0).toString() + " "; _gY1 += (_hY1._Qk * 1.0).toString() + " "; _gY1 += "\n"; break } } return _gY1 }; _uo.prototype._vo = function(_Ur) { if (_ky === !0) { var _kY1 = this._fY1(); var _lY1 = _Tr(_Ur); _Wr(_lY1, _kY1); _Or(_lY1) } else { debug("d3d_model_save() browser does not support local storage\n") } }; _uo.prototype._mY1 = function(_nY1) { var _oY1 = ""; var _pY1 = !1; for (var _H3 = 0; _H3 < _nY1.length; _H3++) { var _qY1 = _nY1.charAt(_H3); if (_qY1 == ' ') { if (!_pY1) { _oY1 = _oY1 + _qY1 } _pY1 = !0; } else { _pY1 = !1; _oY1 = _oY1 + _qY1 } } return _oY1 }; _uo.prototype._rY1 = function(_sY1) { var _tY1 = _sY1.split("\n"); var version = parseInt(_tY1[0]); if (version == 100) { var _uY1 = parseInt(_tY1[1]); for (var _H3 = 2; _H3 < _tY1.length; _H3++) { var _hY1 = {}; var _vY1 = this._mY1(_tY1[_H3]); var _wY1 = _vY1.split(" "); _hY1._iY1 = parseInt(_wY1[0]); switch (_hY1._iY1) { case _ZX1: break; case _YX1: { _hY1._jY1 = parseInt(_wY1[1]); break } case __X1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); break } case _0Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._bb = parseInt(_wY1[4]); _hY1.alpha = parseFloat(_wY1[5]); break } case _1Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._vb = parseFloat(_wY1[4]); _hY1._xb = parseFloat(_wY1[5]); break } case _2Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._vb = parseFloat(_wY1[4]); _hY1._xb = parseFloat(_wY1[5]); _hY1._bb = parseInt(_wY1[6]); _hY1.alpha = parseFloat(_wY1[7]); break } case _3Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._Jc = parseFloat(_wY1[4]); _hY1._Kc = parseFloat(_wY1[5]); _hY1._Lc = parseFloat(_wY1[6]); break } case _4Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._Jc = parseFloat(_wY1[4]); _hY1._Kc = parseFloat(_wY1[5]); _hY1._Lc = parseFloat(_wY1[6]); _hY1._bb = parseInt(_wY1[7]); _hY1.alpha = parseFloat(_wY1[8]); break } case _5Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._Jc = parseFloat(_wY1[4]); _hY1._Kc = parseFloat(_wY1[5]); _hY1._Lc = parseFloat(_wY1[6]); _hY1._vb = parseFloat(_wY1[7]); _hY1._xb = parseFloat(_wY1[8]); break } case _6Y1: { _hY1._f3 = parseFloat(_wY1[1]); _hY1._g3 = parseFloat(_wY1[2]); _hY1._Cc = parseFloat(_wY1[3]); _hY1._Jc = parseFloat(_wY1[4]); _hY1._Kc = parseFloat(_wY1[5]); _hY1._Lc = parseFloat(_wY1[6]); _hY1._vb = parseFloat(_wY1[7]); _hY1._xb = parseFloat(_wY1[8]); _hY1._bb = parseInt(_wY1[9]); _hY1.alpha = parseFloat(_wY1[10]); break } case _7Y1: case _bY1: case _cY1: { _hY1._G9 = parseFloat(_wY1[1]); _hY1._H9 = parseFloat(_wY1[2]); _hY1._Lk = parseFloat(_wY1[3]); _hY1._I9 = parseFloat(_wY1[4]); _hY1._J9 = parseFloat(_wY1[5]); _hY1._Mk = parseFloat(_wY1[6]); _hY1._2o = (parseFloat(_wY1[7]) >= 0.5) ? !0 : !1; _hY1._3o = (parseFloat(_wY1[8]) >= 0.5) ? !0 : !1; break } case _aY1: { _hY1._G9 = parseFloat(_wY1[1]); _hY1._H9 = parseFloat(_wY1[2]); _hY1._Lk = parseFloat(_wY1[3]); _hY1._I9 = parseFloat(_wY1[4]); _hY1._J9 = parseFloat(_wY1[5]); _hY1._Mk = parseFloat(_wY1[6]); _hY1._2o = (parseFloat(_wY1[7]) >= 0.5) ? !0 : !1; _hY1._3o = (parseFloat(_wY1[8]) >= 0.5) ? !0 : !1; _hY1._Qk = ~~parseFloat(_wY1[9]); break } case _8Y1: case _9Y1: { _hY1._G9 = parseFloat(_wY1[1]); _hY1._H9 = parseFloat(_wY1[2]); _hY1._Lk = parseFloat(_wY1[3]); _hY1._I9 = parseFloat(_wY1[4]); _hY1._J9 = parseFloat(_wY1[5]); _hY1._Mk = parseFloat(_wY1[6]); _hY1._2o = (parseFloat(_wY1[7]) >= 0.5) ? !0 : !1; _hY1._3o = (parseFloat(_wY1[8]) >= 0.5) ? !0 : !1; _hY1._c3 = (parseFloat(_wY1[9]) >= 0.5) ? !0 : !1; _hY1._Qk = ~~parseFloat(_wY1[10]); break } } this._dY1.push(_hY1) } } }; _uo.prototype._Ia = function(_Ur) { var _xY1 = _1t(_Ur, !0); if (_xY1 !== null && _xY1 !== undefined) { this._rY1(_xY1) } else { var _Zk = _CF(_Ur); var _La = this; var _yY1 = new XMLHttpRequest(); _yY1.open("GET", _Zk, !1); _yY1.onload = function() { if (_yY1.readyState == 4 && _yY1.status == 200) { _La._rY1(_yY1.responseText) } }; _yY1.send(null) } }; _uo.prototype._qe = function(_b3) { this._dY1.push({ _iY1: _YX1, _jY1: _b3 }) }; _uo.prototype._se = function() { this._dY1.push({ _iY1: _ZX1 }) }; _uo.prototype._wo = function(_f3, _g3, _Cc) { this._dY1.push({ _iY1: __X1, _f3: _f3, _g3: _g3, _Cc: _Cc }) }; _uo.prototype._xo = function(_f3, _g3, _Cc, _1b, alpha) { this._dY1.push({ _iY1: _0Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _bb: _1b, alpha: alpha }) }; _uo.prototype._yo = function(_f3, _g3, _Cc, _uc, _vc) { this._dY1.push({ _iY1: _1Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _vb: _uc, _xb: _vc }) }; _uo.prototype._zo = function(_f3, _g3, _Cc, _uc, _vc, _1b, alpha) { this._dY1.push({ _iY1: _2Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _vb: _uc, _xb: _vc, _bb: _1b, alpha: alpha }) }; _uo.prototype._Ao = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc) { this._dY1.push({ _iY1: _3Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _Jc: _Jc, _Kc: _Kc, _Lc: _Lc }) }; _uo.prototype._Bo = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _1b, alpha) { this._dY1.push({ _iY1: _4Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _Jc: _Jc, _Kc: _Kc, _Lc: _Lc, _bb: _1b, alpha: alpha }) }; _uo.prototype._Co = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc) { this._dY1.push({ _iY1: _5Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _Jc: _Jc, _Kc: _Kc, _Lc: _Lc, _vb: _uc, _xb: _vc }) }; _uo.prototype._Do = function(_f3, _g3, _Cc, _Jc, _Kc, _Lc, _uc, _vc, _1b, alpha) { this._dY1.push({ _iY1: _6Y1, _f3: _f3, _g3: _g3, _Cc: _Cc, _Jc: _Jc, _Kc: _Kc, _Lc: _Lc, _vb: _uc, _xb: _vc, _bb: _1b, alpha: alpha }) }; _uo.prototype._Eo = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { this._dY1.push({ _iY1: _7Y1, _G9: _G9, _H9: _H9, _Lk: _Lk, _I9: _I9, _J9: _J9, _Mk: _Mk, _2o: _Nk, _3o: _Ok }) }; _uo.prototype._Fo = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) { this._dY1.push({ _iY1: _8Y1, _G9: _G9, _H9: _H9, _Lk: _Lk, _I9: _I9, _J9: _J9, _Mk: _Mk, _2o: _Nk, _3o: _Ok, _c3: _c3, _Qk: _Qk }) }; _uo.prototype._Go = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _c3, _Qk) { this._dY1.push({ _iY1: _9Y1, _G9: _G9, _H9: _H9, _Lk: _Lk, _I9: _I9, _J9: _J9, _Mk: _Mk, _2o: _Nk, _3o: _Ok, _c3: _c3, _Qk: _Qk }) }; _uo.prototype._Ho = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok, _Qk) { this._dY1.push({ _iY1: _aY1, _G9: _G9, _H9: _H9, _Lk: _Lk, _I9: _I9, _J9: _J9, _Mk: _Mk, _2o: _Nk, _3o: _Ok, _Qk: _Qk }) }; _uo.prototype._Io = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { this._dY1.push({ _iY1: _bY1, _G9: _G9, _H9: _H9, _Lk: _Lk, _I9: _I9, _J9: _J9, _Mk: _Mk, _2o: _Nk, _3o: _Ok }) }; _uo.prototype._Jo = function(_G9, _H9, _Lk, _I9, _J9, _Mk, _Nk, _Ok) { this._dY1.push({ _iY1: _cY1, _G9: _G9, _H9: _H9, _Lk: _Lk, _I9: _I9, _J9: _J9, _Mk: _Mk, _2o: _Nk, _3o: _Ok }) }; _uo.prototype._zY1 = function() { this._AY1 = new _wd(_xd, _sa._yd(_sa._Md), !1); this._AY1._jY1 = -1; this._AY1._BY1 = null }; _uo.prototype._CY1 = function(_nd) { switch (_nd) { case _Xc: case _Yc: case __c: return ! 0 } return ! 1 }; _uo.prototype._DY1 = function(_Ca) { var _EY1 = this._AY1; if ((_EY1._jY1 != -1) && ((_Tc != _EY1._jY1) || (_Uc != _EY1._BY1) || (this._CY1(_EY1._jY1) === !1))) { _EY1._Se(); this._eY1[_Ca].push({ _jY1: _md(_EY1._jY1), _BY1: _EY1._BY1, _FY1: _EY1 }); this._zY1(); _EY1 = this._AY1 } _EY1._0o1(_Wc); _EY1._jY1 = _Tc; _EY1._BY1 = _Uc; _td() }; _uo.prototype._GY1 = function(_Ca) { var _EY1 = this._AY1; _EY1._Se(); this._eY1[_Ca].push({ _jY1: _md(_EY1._jY1), _BY1: _EY1._BY1, _FY1: _EY1 }); _td() }; _uo.prototype._G11 = function(_hY1, _Pa) { var _HY1 = _Rc; var _La = this; _Rc = function() { _La._DY1(_Pa) }; switch (_hY1._iY1) { case _7Y1: _Rk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o); break; case _8Y1: _Sk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o, _hY1._c3, _hY1._Qk); break; case _9Y1: _Tk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o, _hY1._c3, _hY1._Qk); break; case _aY1: _Pk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o, _hY1._Qk); break; case _bY1: _Uk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o); break; case _cY1: _Kk(_hY1._G9, _hY1._H9, _hY1._Lk, _hY1._I9, _hY1._J9, _hY1._Mk, _Pa, _hY1._2o, _hY1._3o); break } _Rc = _HY1 }; _uo.prototype._6b = function(_f3, _g3, _Cc, _Pa) { var _H3, _So = new _Gn(); _So._Mo(_f3, _g3, _Cc); var _To = _Uo(_Lo); var _F9 = new _Gn(); _F9._Vo(_So, _To); _Ko(_Lo, _F9); if (this._eY1[_Pa] === undefined) { this._eY1[_Pa] = []; this._zY1(); for (var _H3 = 0; _H3 < this._dY1.length; _H3++) { var _hY1 = this._dY1[_H3]; switch (_hY1._iY1) { case _YX1: _Ac(_hY1._jY1, _Pa); break; case _ZX1: this._DY1(_Pa); break; case __X1: _Bc(_hY1._f3, _hY1._g3, _hY1._Cc); break; case _0Y1: _Dc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._bb, _hY1.alpha); break; case _1Y1: _Fc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._vb, _hY1._xb); break; case _2Y1: _Gc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._vb, _hY1._xb, _hY1._bb, _hY1.alpha); break; case _3Y1: _Ic(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc); break; case _4Y1: _Mc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc, _hY1._bb, _hY1.alpha); break; case _5Y1: _Oc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc, _hY1._vb, _hY1._xb); break; case _6Y1: _Pc(_hY1._f3, _hY1._g3, _hY1._Cc, _hY1._Jc, _hY1._Kc, _hY1._Lc, _hY1._vb, _hY1._xb, _hY1._bb, _hY1.alpha); break; case _7Y1: case _8Y1: case _9Y1: case _aY1: case _bY1: case _cY1: this._G11(_hY1, _Pa); break } } this._GY1(_Pa); this._AY1 = null } var _IY1 = this._eY1[_Pa]; for (_H3 = 0; _H3 < _IY1.length; _H3++) { var _JY1 = _IY1[_H3]; var _Kd = _JY1._BY1 ? _JY1._BY1.__b: null; _sa._Ze(_JY1._jY1, _Kd, _JY1._FY1, 0) } _Ko(_Lo, _To) }; function _LC(_KY1) { var __h = _LC.arguments; var _0i = _LC.arguments.length; this._3i = []; this._Gi = []; this.length = 0; this._Ea = 0; if (_0i > 0) { for (var _H3 = 0; _H3 < _0i; _H3++) { this._3i[_H3] = null; this._Gi.push(_H3) } } } _LC.prototype.__U1 = function() { var _C9; if (this._Gi.length === 0) { _C9 = this._3i.length; this._3i[_C9] = null; return _C9 } return this._Gi.pop() }; _LC.prototype._Wh = function(_LY1) { var index = this.__U1(); this._3i[index] = _LY1; this._Ea++; this.length = this._3i.length; return index }; _LC.prototype._Gh = function(_dA) { var _fi = this._3i[_dA]; if (_fi === undefined) _fi = null; return _fi }; _LC.prototype._MY1 = function(_rF1) { for (var _R9 = 0; _R9 < this._3i.length; _R9++) { if (this._3i[_R9] == _rF1) return _R9 } return - 1 }; _LC.prototype._NY1 = function(_rF1) { var index = _MY1(_rF1); if (index < 0) return; _3i[index] = null; _Gi.push(index); this._Ea-- }; _LC.prototype._di = function(_dA) { if (_dA < 0 || _dA >= this._3i.length) return; this._3i[_dA] = null; this._Gi.push(_dA); this._Ea-- }; _LC.prototype._zg = function() { this._3i = []; this._Gi = []; this._Ea = 0; this.length = this._3i.length }; _LC.prototype._gi = function(_NF, _Dh) { if (_NF < 0 || _NF >= this._3i.length) return; this._3i[_NF] = _Dh }; var _OY1 = 0, _PY1 = 1, _QY1 = 2, _RY1 = 3, _SY1 = 4, _Ez = 5, _yq = 6, _TY1 = 0, _rq = 1, _vq = -1; var _UY1 = []; var _VY1 = []; function _WY1(_7i, _bk1) { _UY1.push(_7i); _VY1.push(_bk1) } function _oq(_7i) { var _H3 = 0; for (_H3 = 0; _H3 < _UY1.length; _H3++) { if (_UY1[_H3] == _7i) { var _Qr = _VY1[_H3]; _VY1.splice(_H3, 1); _UY1.splice(_H3, 1); return _Qr } } return undefined; } function _XY1() { this._YY1 = ""; this._ZY1 = -1; this._qq = 0; this.__Y1 = null; this._0Z1 = _OY1; this._pq = !1 } function _EV1() { this._3i = new _LC(5) } _EV1.prototype._RA = function() { return this._3i }; _EV1.prototype._Wh = function(_Ch, _Fp1, _ce, _1Z1) { var _Qr = new _XY1(); _Qr._ZY1 = _Ch; _Qr._YY1 = _Fp1; _Qr.__Y1 = _1Z1; _Qr._0Z1 = _ce; this._3i._Wh(_Qr); _WY1(_1Z1, _Qr) }; _EV1.prototype._2Z1 = function() { var map = _9i(); _w6._rG1 = map; var _3i = this._3i._3i; for (var _H3 = 0; _H3 < _3i.length; _H3++) { var _Qr = _3i[_H3]; if (_Qr !== null) { if (_Qr._pq) { _ei(map); if (_Qr._0Z1 == _Ez) { _ji(map, "filename", ""); _ji(map, "url", _Qr._YY1); _ji(map, "result", _Qr._ez); _ji(map, "http_status", _Qr._dz); _ji(map, "response_headers", _Qr._fz) } else if (_Qr._0Z1 == _yq) { _ji(map, "username", _Qr._lq); _ji(map, "password", _Qr._mq); _ji(map, "url", ""); _ji(map, "result", _Qr._8j); _ji(map, "value", _Qr.value); _ji(map, "http_status", 0) } else { _ji(map, "url", ""); _ji(map, "result", ""); _ji(map, "http_status", 0); _ji(map, "filename", _Qr._YY1) } _ji(map, "id", _Qr._ZY1); _ji(map, "status", _Qr._qq); if (_Qr._0Z1 == _PY1) _Ys._uG1(_KL1, 0); else if (_Qr._0Z1 == _QY1) _Ys._uG1(_KL1, 0); else if (_Qr._0Z1 == _RY1) _Ys._uG1(_KL1, 0); else if (_Qr._0Z1 == _SY1) _Ys._uG1(_LL1, 0); else if (_Qr._0Z1 == _Ez) _Ys._uG1(_ML1, 0); else if (_Qr._0Z1 == _yq) _Ys._uG1(_NL1, 0); this._3i._di(_H3); if (_Qr._0Z1 == _Ez) { _ci(_Qr._fz) } } } } _ci(map); _w6._rG1 = -1 }; function _Jj() { this.__type = "[Background]"; this._Z2 = ""; this._03 = !1; this._13 = !1; this.preload = !1; this._Mj = null } function _3Z1(_4Z1) { var _hG = new _Jj(); _hG._Z2 = _4Z1._Z2; if (_4Z1._03 != undefined) _hG._03 = _4Z1._03; if (_4Z1._13 != undefined) _hG._13 = _4Z1._13; if (_4Z1.preload != undefined) _hG.preload = _4Z1.preload; _hG._Mj = _5Z1(_4Z1._83); return _hG } function _6Z1(_4Z1) { this._zg(); if (_4Z1._Q3 != undefined) this._Q3 = _4Z1._Q3; if (_4Z1._7Z1 != undefined) this._7Z1 = _4Z1._7Z1; if (_4Z1.index != undefined) this.index = _4Z1.index; if (_4Z1._f3 != undefined) this._f3 = _4Z1._f3; if (_4Z1._g3 != undefined) this._g3 = _4Z1._g3; if (_4Z1._m5 != undefined) this._8Z1 = _4Z1._m5; if (_4Z1._n5 != undefined) this._9Z1 = _4Z1._n5; if (_4Z1._H7 != undefined) this._aZ1 = _4Z1._H7; if (_4Z1._G7 != undefined) this._bZ1 = _4Z1._G7; if (_4Z1._cZ1 != undefined) this._cZ1 = _4Z1._cZ1; if (_4Z1.alpha != undefined) this.alpha = _4Z1.alpha; if (_4Z1._iX1 != undefined) this._iX1 = _4Z1._iX1 } _6Z1.prototype._zg = function() { this._Q3 = !1; this._7Z1 = !1; this.index = -1; this._f3 = 0; this._g3 = 0; this._8Z1 = !0; this._9Z1 = !0; this._aZ1 = 0; this._bZ1 = 0; this._dZ1 = 1; this._eZ1 = 1; this._cZ1 = !1; this.alpha = 1.0; this._iX1 = 0xffffff }; function _zV1() { this._fZ1 = []; this._gZ1 = [] } _zV1.prototype._Xj = function(_NF) { return this._fZ1[_NF] }; _zV1.prototype._Gh = function(_NF) { return this._gZ1[_NF] }; _zV1.prototype._zg = function() { this._gZ1 = [] }; _zV1.prototype._GW1 = function(_4Z1) { var _hZ1 = null; if (_4Z1 != null) { _hZ1 = _3Z1(_4Z1) } return this._Oj(_hZ1); }; _zV1.prototype._Oj = function(_iZ1) { var _H3 = this._fZ1.length; this._fZ1[_H3] = _iZ1; return _H3 }; _zV1.prototype._Wh = function(_4Z1) { var _hZ1 = null; if (_4Z1 != null) { _hZ1 = new _6Z1(_4Z1) } this._gZ1[this._gZ1.length] = _hZ1 }; var _jZ1 = -1, _kZ1 = -2, _lZ1 = -3, _mZ1 = -4, _nZ1 = -5; var _oZ1 = 0, _pZ1 = 1, _qZ1 = 2, _rZ1 = 3, _sZ1 = 4; var _tZ1 = 0, _uZ1 = 1, _vZ1 = 2, _wZ1 = 3, _xZ1 = 4, _fw1 = 5, _hw1 = 6, _yZ1 = 7, _gw1 = 8, _zZ1 = 9, _AZ1 = 10, _BZ1 = 11; var _jw1 = 0, _CZ1 = 1, _DZ1 = 2; function __j1(__d) { var _x3 = 1; while (_x3 <= 1024) { if (__d <= _x3) return _x3; _x3 = _x3 << 1 } return 1024 } function _EZ1(__d, _ce, _FZ1) { _FZ1 = __j1(_FZ1 & 0x1ff); this._GZ1 = __d + _FZ1; this._0Z1 = _ce; this._HZ1 = __d; this._IZ1 = _FZ1; this._JZ1 = 0; this._cw1 = 0; this._KZ1 = new ArrayBuffer(__d); this._LZ1 = new DataView(this._KZ1) } _EZ1.prototype._MZ1 = function(_5o1) { var _NZ1 = new ArrayBuffer(_5o1); var _OZ1 = new Uint8Array(this._KZ1); var _PZ1 = new Uint8Array(_NZ1); _PZ1.set(_OZ1); this._KZ1 = _NZ1; this._LZ1 = new DataView(this._KZ1); this._HZ1 = _5o1 }; _EZ1.prototype._QZ1 = function() { this._JZ1 = (this._JZ1 + this._HZ1) % this._IZ1 }; function _RZ1(_ce) { var _SZ1 = 0; switch (_ce) { case _AZ1: case _uZ1: case _vZ1: _SZ1 = 1; break; case _wZ1: case _xZ1: _SZ1 = 2; break; case _hw1: case _fw1: case _gw1: _SZ1 = 4; break; case _zZ1: _SZ1 = 8; break } return _SZ1 } _EZ1.prototype._TZ1 = function(_UZ1, __d) { if (this._HZ1 == 0) return; if (__d < 0) __d = this._HZ1; if (this._0Z1 == _qZ1) { while (_UZ1 < 0) _UZ1 += this._HZ1; while (_UZ1 >= this._HZ1) _UZ1 -= this._HZ1 } else { if (_UZ1 < 0) _UZ1 = 0; if (_UZ1 >= this._HZ1) _UZ1 = this._HZ1 - 1; if ((_UZ1 + __d) > this._HZ1) __d = this._HZ1 - _UZ1 } if (__d > this._HZ1 - _UZ1) { return "" } else { var _iC1 = String.fromCharCode.apply(null, new Uint8Array(this._KZ1, _UZ1, __d)); return _VZ1(_iC1, __d) } }; _EZ1.prototype._ew1 = function(_ce, _bt) { var _x3 = 0; this._cw1 = (((this._cw1 + this._JZ1) + (this._IZ1 - 1)) & ~ (this._IZ1 - 1)) - this._JZ1; if (this._cw1 >= this._HZ1 && this._0Z1 == _qZ1) { while (this._cw1 >= this._HZ1) { this._QZ1(); this._cw1 -= this._HZ1 } } if ((this._cw1 >= this._HZ1) && (this._0Z1 != _pZ1)) { return _kZ1 } var _SZ1 = _RZ1(_ce); if (_ce == _BZ1) { _SZ1 = _bt.length + 1 } if ((this._cw1 + _SZ1) > this._HZ1) { if (this._0Z1 == _pZ1) { var _WZ1 = this._HZ1; var _5o1 = this._HZ1; while ((this._cw1 + _SZ1) > _5o1) { _5o1 = (_5o1 << 1) } this._MZ1(_5o1) } else { if (this._0Z1 != _qZ1) { return _kZ1 } } } switch (_ce) { case _AZ1: if (_bt == !0) { _bt = 1 } else { _bt = 0 } case _uZ1: { this._LZ1.setUint8(this._cw1, _bt); this._cw1++ } break; case _BZ1: { var _H3 = 0; for (_H3 = 0; _H3 < _bt.length; _H3++) { this._LZ1.setUint8(this._cw1, _bt.charCodeAt(_H3)); this._cw1++ } this._LZ1.setUint8(this._cw1, '\0'); this._cw1++; } break; case _vZ1: this._LZ1.setInt8(this._cw1, _bt); this._cw1++; break; case _wZ1: this._LZ1.setUint16(this._cw1, _bt, !0); this._cw1 += 2; break; case _xZ1: this._LZ1.setInt16(this._cw1, _bt, !0); this._cw1 += 2; break; case _hw1: this._LZ1.setInt32(this._cw1, _bt, !0); this._cw1 += 4; break; case _fw1: this._LZ1.setUint32(this._cw1, _bt, !0); this._cw1 += 4; break; case _gw1: this._LZ1.setFloat32(this._cw1, _bt, !0); this._cw1 += 4; break; case _zZ1: this._LZ1.setFloat64(this._cw1, _bt, !0); this._cw1 += 8; break } }; _EZ1.prototype._XZ1 = function(_ce, _UZ1, _bt) { if (_UZ1 < 0) return; var _x3 = _RZ1(_ce); if (this._0Z1 != _qZ1) { if (_UZ1 > (this._HZ1 - _x3)) return 0 } else { while (_UZ1 >= this._HZ1) { _UZ1 -= this._HZ1 } } switch (_ce) { case _AZ1: if (_bt == !0) { _bt = 1 } else { _bt = 0 } case _uZ1: { this._LZ1.setUint8(_UZ1, _bt) } break; case _vZ1: this._LZ1.setInt8(_UZ1, _bt); break; case _wZ1: this._LZ1.setUint16(_UZ1, _bt, !0); break; case _xZ1: this._LZ1.setInt16(_UZ1, _bt, !0); break; case _hw1: this._LZ1.setInt32(_UZ1, _bt, !0); break; case _fw1: this._LZ1.setUint32(_UZ1, _bt, !0); break; case _gw1: this._LZ1.setFloat32(_UZ1, _bt, !0); break; case _zZ1: this._LZ1.setFloat64(_UZ1, _bt, !0); break } }; _EZ1.prototype._iw1 = function(_YZ1, _UZ1) { switch (_YZ1) { case _jw1: this._cw1 = _UZ1; break; case _CZ1: this._cw1 += _UZ1; break; case _DZ1: this._cw1 = this._HZ1 - _UZ1; break } return this._cw1 }; _ZZ1 = function() { _nc("vertex_create_buffer") }; __Z1 = function(_x3) { _nc("vertex_create_buffer_ext") }; _0_1 = function(buffer) { _nc("vertex_delete_buffer") }; _1_1 = function(buffer, _zA1) { _nc("vertex_begin"); }; _2_1 = function(buffer) { _nc("vertex_end") }; _3_1 = function(buffer, _f3, _g3) { _nc("vertex_position") }; _4_1 = function(buffer, _f3, _g3, _Cc) { _nc("vertex_position_3d") }; _5_1 = function(buffer, _1b, alpha) { _nc("vertex_colour") }; _6_1 = function(buffer, _T9, _jb, _W9, _kb) { _nc("vertex_rgba") }; _7_1 = function(buffer, _T9, _jb, _W9, _kb) { _nc("vertex_argb") }; _8_1 = function(buffer, _vb, _xb) { _nc("vertex_texcoord") }; _9_1 = function(buffer, _f3, _g3, _Cc) { _nc("vertex_normal") }; _a_1 = function(buffer, _f3) { _nc("vertex_float1") }; _b_1 = function(buffer, _f3, _g3) { _nc("vertex_float2") }; _c_1 = function(buffer, _f3, _g3, _Cc) { _nc("vertex_float3") }; _d_1 = function(buffer, _f3, _g3, _Cc, _J3) { _nc("vertex_float4") }; _e_1 = function(buffer, _f3, _g3, _Cc, _J3) { _nc("vertex_ubyte4") }; _f_1 = function(buffer) { _nc("vertex_freeze") }; _g_1 = function(buffer) { _nc("vertex_submit") }; var _h_1 = 8 * 1024; var _i_1 = []; function _j_1() { _ZZ1 = _k_1; __Z1 = _l_1; _0_1 = _m_1; _1_1 = _n_1; _2_1 = _o_1; _3_1 = _p_1; _4_1 = _q_1; _5_1 = _r_1; _6_1 = _s_1; _7_1 = _t_1; _8_1 = _u_1; _9_1 = _v_1; _a_1 = _w_1; _b_1 = _x_1; _c_1 = _y_1; _d_1 = _z_1; _e_1 = _A_1; _f_1 = _B_1; _g_1 = _C_1 } function _k_1() { return __Z1(_h_1) } function _l_1(__d) { var _D_1 = new _Zd(__d); var _E_1 = _i_1.length; for (var _H3 = 0; _H3 < _i_1; _H3++) { if ((_i_1[_H3] === null) || (_i_1[_H3] === undefined)) { _E_1 = _H3; break } } _i_1[_E_1] = _D_1; return _E_1 } function _m_1(_zH) { _i_1[_zH] = null } function _n_1(_zH, _5i1) { _i_1[_zH]._qe(_5i1) } function _o_1(_zH) { _i_1[_zH]._se() } function _p_1(_zH, _f3, _g3) { _i_1[_zH]._te(_f3, _g3) } function _q_1(_zH, _f3, _g3, _Cc) { _i_1[_zH]._we(_f3, _g3, _Cc) } function _r_1(_zH, _1b, alpha) { _i_1[_zH]._ye(_1b, alpha) } function _s_1(_zH, _De) { _i_1[_zH]._Ce(_De) } function _t_1(_zH, _Fe) { _i_1[_zH]._Ee(_Fe) } function _u_1(_zH, _vb, _xb) { _i_1[_zH]._Ge(_vb, _xb) } function _v_1(_zH, _f3, _g3, _Cc) { _i_1[_zH]._Ie(_f3, _g3, _Cc) } function _w_1(_zH, _f3) { _i_1[_zH]._Ke(_f3) } function _x_1(_zH, _f3, _g3) { _i_1[_zH]._Me(_f3, _g3) } function _y_1(_zH, _f3, _g3, _Cc) { _i_1[_zH]._Ne(_f3, _g3, _Cc) } function _z_1(_zH, _f3, _g3, _Cc, _J3) { _i_1[_zH]._Oe(_f3, _g3, _Cc, _J3) } function _A_1(_zH, _f3, _g3, _Cc, _J3) { _i_1[_zH]._Qe(_f3, _g3, _Cc, _J3) } function _B_1(_zH) { var _D_1 = _i_1[_zH]; if (_D_1) { _D_1._Se() } } function _C_1(_zH, _Xe, _Ye) { var _Hd, _D_1 = _i_1[_zH]; if (_D_1) { _D_1._We(_md(_Xe), _Ye) } } function _sV1() { this.__type = "[BuiltIn]"; this._F_1 = 0; this._BW1 = 0; this._CW1 = 0; this._G_1 = 0; this._H_1 = 0; this.__6 = 0; this._I_1 = 0; this._J_1 = 100; this._pW1 = 0; this._rW1 = "/"; this._K_1 = "/"; this._L_1 = "/"; this._M_1 = 0; this._N_1 = 0; this._B6 = 0; this._z6 = 0; this._O_1 = "room"; this._P_1 = 30; this._Q_1 = !1; this._R_1 = 0x00000000; this._S_1 = !1; this._T_1 = !1; this._U_1 = !1; this._V_1 = 0; this._W_1 = 0; this._X_1 = 0; this._Y_1 = 0; this._Z_1 = 0; this.___1 = 0; this._002 = 0; this._102 = 1.0; this._202 = 1.0; this._302 = 0; this._402 = 0; this._502 = 0; this._602 = 1.0; this._702 = !1; this._802 = 0; this._902 = 0; this._g8 = 0; this._h8 = 0; this._A6 = 0; this._y6 = 0; this._a02 = 0; this._b02 = 0; this._c02 = 0; this._d02 = 0; this._e02 = 0; this._f02 = 0; this._g02 = 0; this._h02 = 0; this._i02 = 0; this._j02 = 0; this._h7 = 0; this._lL = 0; this._k02 = 0; this._l02 = 0; this._m02 = 0; this._n02 = 0; this._o02 = ""; this._p02 = ""; this._tW1 = !1; this._q02 = !1; this._r02 = !1; this._s02 = !1; this._t02 = "score"; this._u02 = "lives"; this._v02 = "health"; this._w02 = 0; this._x02 = 0; this._y02 = 0; this._z02 = 0; this._A02 = 0; this._B02 = 0; this._C02 = 0; this._D02 = 0; this._E02 = 0; this._F02 = 0; this._G02 = 0; this._eX1 = 0; this._H02 = 0; this._I02 = 0; this._J02 = !0; this._K02 = !0; this._L02 = 8.2; this._rG1 = -1; this._cy = -1; this._M02 = !1; this._N02 = -1; this._902 = []; this._g8 = []; this._h8 = []; this._A6 = []; this._y6 = []; this._a02 = []; this._b02 = []; this._c02 = []; this._d02 = []; this._e02 = []; this._f02 = []; this._g02 = []; this._h02 = []; this._i02 = []; this._j02 = []; this._O02 = []; this._T_1 = []; this._U_1 = []; this._V_1 = []; this._W_1 = []; this._X_1 = []; this._Y_1 = []; this._Z_1 = []; this.___1 = []; this._002 = []; this._102 = []; this._202 = []; this._302 = []; this._402 = []; this._502 = []; this._602 = [] } _sV1.prototype._x6 = function() { return _H8._Kg }; _sV1.prototype._O6 = function() { return _P02() }; _sV1.prototype._P6 = function() { return _Q02() }; _sV1.prototype._C6 = function() { return _FK1; }; _sV1.prototype._Q6 = function() { return _H8.id }; _sV1.prototype._R6 = function(_Dh) { return _H8._R02((_Dh > 0.5) ? !0 : !1) }; _sV1.prototype._yh = function(_S02) { for (var _xb = 0; _xb < _S02.length; _xb++) { var _mv = _S02[_xb]; this[_xb] = _mv } }; function _Fs() { this.__type = "[Font]"; this._Gs = !1; this._T02 = !1; this._Z2 = ""; this._Hs = ""; this._x3 = 12; this.bold = !1; this._y3 = !1; this._z3 = 32; this._A3 = 127; this._Ls = ""; this.prop = !1; this._U02 = 0; this._V02 = null; this.antialias = 0; this._B3 = 0; this._W02 = 1; this._X02 = 1; this._G3 = null; this._Mj = null; this._Y02 = null } _Fs.prototype._Z02 = function(_4Z1) { this._Z2 = _4Z1._Z2; this._Hs = _4Z1._C3; this._x3 = _4Z1._x3; this.bold = _4Z1.bold; this._y3 = _4Z1._y3; this._z3 = _4Z1._z3 & 0xffff; this._Gs = !1; this.antialias = 0; this._B3 = 0; if (((_4Z1._z3 >> 16) & 0xff) !== 0) this._B3 = (_4Z1._z3 >> 16) & 0xff; if (((_4Z1._z3 >> 24) & 0xff) !== 0) this.antialias = ((_4Z1._z3 >> 24) & 0xff) - 1; this._A3 = _4Z1._A3; this._W02 = _4Z1._E3; this._X02 = _4Z1._F3; this._G3 = []; var _Mq = 99999999; var _R9 = -99999999; var maxHeight = 0; for (var __02 = 0; __02 < _4Z1._G3.length; __02++) { var index = -2; _012 = _4Z1._G3[__02]; if (_012._I3 != undefined) index = _012._I3.charCodeAt(0); else if (_012._H3 != undefined) index = _012._H3; this._G3[index] = _012; if (index < _Mq) _Mq = index; if (index > _R9) _R9 = index; if (_012._K3 > maxHeight) maxHeight = _012._K3 } this._112 = maxHeight; this._z3 = _Mq; this._A3 = _R9; this._Mj = _5Z1(_4Z1._D3) }; _Fs.prototype._212 = function() { var height = 0; for (var _C9 = 0; _C9 < this._Y02._VF.length; _C9++) { var _Kj = this._Y02._VF[_C9]; height = _S9(height, _Kj._x5) } this._x3 = height }; _Fs.prototype._312 = function(_Xr) { if ((this._V02 != null) && (this._V02 != undefined)) { var _zi = ""; for (var _H3 = 0; _H3 < _Xr.length; _H3++) { if (_Xr.charAt(_H3) === '\n') { _zi = _zi + _Xr.charAt(_H3) } else { var _412 = this._V02.indexOf(_Xr.charAt(_H3)); if ((_412 >= 0) && (_412 < this._V02.length)) { _zi = _zi + String.fromCharCode(this._z3 + _412) } } } return _zi } return _Xr }; _Fs.prototype._512 = function(_Xr) { if ((!_Xr) || (0 === _Xr.length)) return 0; if (this._Gs) { return this._x3 } else { return this._112 } }; _Fs.prototype._612 = function(_Xr) { if ((!_Xr) || (0 === _Xr.length)) return 0; var _zi = this._312(_712(_Xr)); var _4B1 = _zi.split('\n'); if (this._Gs) { if (this._T02) { var _nv = 0; for (var _H3 = 0; _H3 < _4B1.length; _H3++) { var _812 = 0; var _vA1 = _4B1[_H3]; for (var __9 = 0; __9 < _vA1.length; __9++) { _812 += this._912(_zi.charCodeAt(__9)) } _nv = _S9(_nv, _812) } return _nv } else { var _nv = 0; _yb.font = this._Ls; for (var _H3 = 0; _H3 < _4B1.length; _H3++) { var _3J1 = _yb.measureText(_4B1[_H3]); _nv = _S9(_nv, _3J1.width) } return _nv } } else { var _nv = 0; for (var _H3 = 0; _H3 < _4B1.length; _H3++) { var _812 = 0; var _vA1 = _4B1[_H3]; for (var __9 = 0; __9 < _vA1.length; __9++) { var _I3 = _vA1.charCodeAt(__9); var _012 = this._G3[_I3]; if (!_012) { _012 = this._G3[this._z3] } _812 += _012.shift } _nv = _S9(_nv, _812) } return _nv } }; _Fs.prototype._912 = function(_yL) { if (this._Gs) { if (this._T02) { var _nv = this._U02; if ((_yL >= this._z3) && (_yL < this._A3)) { var _Kj = this._Y02._VF[_yL - this._z3]; if (this.prop) { _nv += _Kj._u5 } else { _nv += _Kj._w5 } } else if (_yL === 32) { _nv += this._a12; } return _nv } else { _yb.font = this._Ls; if (_yb.measureText) { var _3J1 = _yb.measureText(String.fromCharCode(_yL)); return _3J1.width } return 0 } } var _012 = this._G3[_yL]; if (_012) { return _012.shift } else if (0x20 >= this._z3 && 0x20 <= this._A3) { return this._G3[0x20].shift } else { return this._G3[this._z3].shift } }; _Fs.prototype._b12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) { var _d12; var _e12 = this._Mj; if (!_e12._Ga.complete) return; var _Xp = _c12.length; _Sd = _Sd & 0xffffff | ((_Gd * 255) << 24); for (var _H3 = 0; _H3 < _Xp; _H3++) { _yL = _c12.charCodeAt(_H3); var _012 = this._G3[_yL]; if (!_012) _012 = this._G3[0x20]; var _Za = _012._f3; var __a = _012._g3; var _8w = _012._J3; var _aw = _012._K3; if (Math.abs(_Z8) < 0.001) { _yb._UF(_e12, _Za + _e12._f3, __a + _e12._g3, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w * this._W02 * __l, _aw * this._X02 * _0m, _Sd) } else { _yb._UF(_e12, _Za + _e12._f3, __a + _e12._g3, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w, _aw, _Sd) } _V8 += __l * this._912(_yL) } }; _Fs.prototype._f12 = function(_V8, _W8, _Z8) { var _So = new _Gn(); _So._Mo( - _V8, -_W8, 0); var _Xo = new _Gn(); _Xo._Qo(_Z8); var _JM = new _Gn(); _JM._Vo(_So, _Xo); _So._Mo(_V8, _W8, 0); var _g12 = new _Gn(); _g12._Vo(_JM, _So); return _g12 }; _Fs.prototype._h12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) { if (this._Gs) { this._b12(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) } var _d12; var _e12 = this._Mj; if (!_e12._Ga.complete) return; var _Xp = _c12.length; _Sd = _Sd & 0xffffff | ((_Gd * 255) << 24); var _Uv = _Sd, _Vv = _Sd, _i12 = _Sd, _j12 = _Sd; if (_k12) { _Uv &= 0xfffefffe; _Vv &= 0xfffefffe; _i12 &= 0xfffefffe; _j12 &= 0xfffefffe; _Vv |= 0x00010000; _i12 |= 0x00000001; _j12 |= 0x00010001 } var _2c, _ac, _cc, _ec; if (!_e12._Ga.__b) _0c(_e12); var _l12; if (Math.abs(_Z8) > 0.001) { _l12 = _Uo(_Lo); _Ko(_Lo, this._f12(_V8, _W8, _Z8)) } var _1c = _Xp * 6; _2c = _sa._3c(_4c._5c, _e12._Ga.__b, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _1c; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; var _E3, _F3; var _F3 = this._X02 * _0m; if (Math.abs(_Z8) < 0.001) { _E3 = this._W02 * __l; _F3 = this._X02 * _0m } else { _E3 = 1; _F3 = 1 } for (var _H3 = 0; _H3 < _Xp; _H3++) { _yL = _c12.charCodeAt(_H3); var _012 = this._G3[_yL]; if (!_012) _012 = this._G3[0x20]; var _Za = _012._f3; var __a = _012._g3; var _8w = _012._J3; var _aw = _012._K3; var _BE1 = _Za + _e12._f3; var _CE1 = __a + _e12._g3; var _f3 = _V8 + (_012._L3 * __l); var _J3 = _8w * _E3; var _K3 = _aw * _F3; _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _f3; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _f3 + _J3; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _K3; _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = (_BE1 + 0.0) / _e12._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = (_CE1 + 0.0) / _e12._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = ((_BE1 + _8w) + 0.0) / _e12._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = ((_CE1 + _aw) + 0.0) / _e12._Ga.height; _cc[_gc] = _cc[_lc] = _Uv; _cc[_hc] = _Vv; _cc[_ic] = _cc[_jc] = _i12; _cc[_kc] = _j12; _gc += (_7c * 6); _hc += (_7c * 6); _ic += (_7c * 6); _jc += (_7c * 6); _kc += (_7c * 6); _lc += (_7c * 6); _V8 += __l * _012.shift } if (_l12 != undefined) { _Ko(_Lo, _l12) } }; _Fs.prototype._m12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) { var _d12; var _e12 = _Ha[this._Mj._y5]; if (!_e12.complete) return; _yb.globalAlpha = _Gd; var _Xp = _c12.length; _Sd = _Sd & 0xffffff; if (_Sd != 0xffffff) { _d12 = _Bb(this._Mj, _Sd) } _Z8 = _6V1(_Z8); if (Math.abs(_Z8) > 0.001) { _n12(_V8, _W8, this._W02 * __l, this._W02 * _0m, -_Z8); _V8 = 0; _W8 = 0 } _V8 = ~~ (_V8 + 0.5); _W8 = ~~ (_W8 + 0.5); for (var _H3 = 0; _H3 < _Xp; _H3++) { _yL = _c12.charCodeAt(_H3); var _012 = this._G3[_yL]; if (!_012) { _012 = this._G3[0x20] } var _Za = _012._f3; var __a = _012._g3; var _8w = _012._J3; var _aw = _012._K3; if (_8w == 99999) { continue } if ((_Sd != 0xffffff) && (_d12 != null)) { if (Math.abs(_Z8) < 0.001) { _yb._UF(_d12, _Za, __a, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w * this._W02 * __l, _aw * this._X02 * _0m) } else { _yb._UF(_d12, _Za, __a, _8w, _aw, _V8 + _012._L3, _W8, _8w, _aw) } } else { if (Math.abs(_Z8) < 0.001) { _yb._UF(_e12, _Za + this._Mj._f3, __a + this._Mj._g3, _8w, _aw, _V8 + (_012._L3 * __l), _W8, _8w * this._W02 * __l, _aw * this._X02 * _0m) } else { _yb._UF(_e12, _Za + this._Mj._f3, __a + this._Mj._g3, _8w, _aw, _V8 + _012._L3, _W8, _8w, _aw) } } if (Math.abs(_Z8) < 0.001) { _V8 += __l * this._912(_yL) } else { _V8 += this._912(_yL) } } if (Math.abs(_Z8) > 0.001) _o12() }; _Fs.prototype._p12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) { if (this._Y02 == null) return; _yb.globalAlpha = _Gd; var _Xp = _c12.length; _Sd = _Sd & 0xffffff; var _1b = _Sd | (_Ad * 255) << 24; _Z8 = _6V1(_Z8); var _la = Math.sin(_Z8); var _ma = Math.cos(_Z8); var _q12 = _la * __l; var _r12 = _ma * __l; var _s12 = this._W02 * __l; var _t12 = this._X02 * _0m; for (var _H3 = 0; _H3 < _Xp; _H3++) { _yL = _c12.charCodeAt(_H3); if (_yL < this._z3 || _yL >= this._A3) {} else { var _f3 = _V8; var _g3 = _W8; var _Kj = this._Y02._VF[_yL - this._z3]; var _e12 = _Ha[_Kj._y5]; if (_e12.complete) { var _Jw = _Kj._s5; var _Kw = _Kj._t5; if (this.prop) _Jw = 0; if (_Sd != 0xffffff) { var _d12; if (!_sa) { _d12 = _Bb(_Kj, _Sd) } else { _d12 = _Kj } if (Math.abs(_Z8) < 0.001) { _yb._UF(_d12, 0, 0, _Kj._u5, _Kj._v5, _f3 + (_Jw * _s12), _g3 + (_Kw * _t12), _Kj._u5 * _s12, _Kj._v5 * _t12) } else { _n12(_f3, _g3, _s12, _t12, -_Z8); _yb._UF(_d12, 0, 0, _Kj._u5, _Kj._v5, _Jw, _Kw, _Kj._u5, _Kj._v5); _o12() } } else { if (_sa) { _e12 = _Kj } if (Math.abs(_Z8) < 0.001) { _yb._UF(_e12, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _f3 + (_Jw * _s12), _g3 + (_Kw * _t12), _Kj._u5 * _s12, _Kj._v5 * _t12) } else { _n12(_f3, _g3, _s12, _t12, -_Z8); _yb._UF(_e12, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _Jw, _Kw, _Kj._u5, _Kj._v5); _o12() } } } } var shift = this._912(_yL); _V8 = _V8 + _r12 * shift; _W8 = _W8 - _q12 * shift } }; _Fs.prototype._u12 = function(_V8, _W8, _c12, __l, _0m, _Z8, _Sd, _Gd) { if (this._Y02 == null) return; _yb.globalAlpha = _Gd; var _Xp = _c12.length; _Sd = _Sd & 0xffffff; var _1b = _Sd | (_Ad * 255) << 24; _Z8 = _6V1(_Z8); var _la = Math.sin(_Z8); var _ma = Math.cos(_Z8); var _q12 = _la * __l; var _r12 = _ma * __l; var _s12 = this._W02 * __l; var _t12 = this._X02 * _0m; for (var _H3 = 0; _H3 < _Xp; _H3++) { _yL = _c12.charCodeAt(_H3); if (_yL < this._z3 || _yL > this._A3) {} else { var _f3 = _V8; var _g3 = _W8; var _Kj = this._Y02._VF[_yL - this._z3]; var _e12 = _Ha[_Kj._y5]; if (_e12.complete) { var _Jw = _Kj._s5; var _Kw = _Kj._t5; if (this.prop) _Jw = 0; if (Math.abs(_Z8) < 0.001) { _yb._UF(_Kj, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _f3 + (_Jw * _s12), _g3 + (_Kw * _t12), _Kj._u5 * _s12, _Kj._v5 * _t12, _1b) } else { _n12(_f3, _g3, _s12, _t12, -_Z8); _yb._UF(_Kj, _Kj._f3, _Kj._g3, _Kj._J3, _Kj._K3, _Jw, _Kw, _Kj._u5, _Kj._v5, _1b); _o12() } } } var shift = this._912(_yL); _V8 = _V8 + _r12 * shift; _W8 = _W8 - _q12 * shift } }; function _BV1() { this._w3 = []; this.length = 0; this._v12 = null; this._fs = 0; this._ds = 0; this._cs = 0; var _Es = _ys("Arial", 12, !1, !1, 32, 127, !1); this._w3[ - 1] = _Es; _5U1 = -1; this._fs = _5U1 } _BV1.prototype._zg = function() { this._w3 = []; length = 0 }; _BV1.prototype._Wh = function(_4Z1) { var _Es = null; if (_4Z1 != null) { _Es = new _Fs(); _Es._Z02(_4Z1) } this._w3[this._w3.length] = _Es; return this._w3.length - 1 }; _BV1.prototype._Ns = function(_w12) { this._w3[this._w3.length] = _w12; return this._w3.length - 1 }; _BV1.prototype._x12 = function() { if (this._fs >= 0 && this._fs <= this._w3.length && this._w3[this._fs] != null) { this._v12 = this._w3[this._fs]; } else { this._v12 = this._w3[ - 1] } }; _BV1.prototype._Gh = function(_Ch) { if (_Ch >= 0 && _Ch <= this._w3.length && this._w3[_Ch]) { return this._w3[_Ch] } return null }; function _712(_zi) { if (_zi == null) return 0; var _y12 = _zi; var _ce1 = ""; var _H3 = 0; var _HU = 0; while (_HU < _y12.length) { var _9q = _y12[_HU]; if (_9q == '#') { if ((_H3 > 0) && (_y12[_HU - 1] == '\\')) { _ce1 = _ce1.substring(0, _ce1.length - 1) + '#' } else { _ce1 += String.fromCharCode(0x0a); _H3++ } } else { _ce1 += _9q; _H3++ } _HU++ } return _ce1 } _BV1.prototype._8q = function(_c12, _z12, _v12) { if (_c12 == null) return; if (_z12 < 0) _z12 = 10000000; var _A12 = _v12 ? _v12._312(" ") : " "; var _Vp = String.fromCharCode(0x0a); _6q = []; var _B12 = 0; _c12 = _712(_c12); var _Xp = _c12.length; var _Ij = _c12; var start = 0; var end = 0; while (start < _Xp) { var _C12 = 0; if (_z12 == 10000000) { while (end < _Xp && _Ij[end] != _Vp) { end++ } _6q[_B12++] = _Ij.substring(start, end) } else { while (end < _Xp) { if (_Ij[end] != _A12) break; end++ } while (end < _Xp && _C12 < _z12) { _I3 = _Ij[end]; if (_I3 == _Vp) break; _C12 += this._v12._912(_I3.charCodeAt(0)); end++ } if (_C12 > _z12) { end--; _C12 -= this._v12._912(_Ij.charCodeAt(end)); } if (_Ij[end] == _Vp) { _6q[_B12++] = _Ij.substring(start, end) } else { if (end == start) return _6q; if (end != _Xp) { if ((_Ij[end] != _A12) || (_Ij[end] != _A12 && _Ij[end + 1] != _A12)) { while (end > start) { if (_Ij[--end] == _A12) break } } } if (end > start) { while (_Ij[end - 1] == _A12) { end-- } } else if (end == start) { while (_Ij[end] != _A12 && end < _Xp) { end++ } } _6q[_B12++] = _Ij.substring(start, end) } } start = ++end } return _6q }; _BV1.prototype._gs = function(_Xr, _f3, _g3, _D12, _z12, _Z8, __l, _0m) { var _dZ1 = __l; var _eZ1 = _0m; var _E12 = 0.0; var _F12 = 0.0; var _6q = []; var _H3 = 0; this._x12(); var _v12 = this._v12; var _zi = _v12._312(_Xr); _6q = this._8q(_zi, _z12, _v12); var _G12 = _6V1(_Z8); var _la = Math.sin(_G12); var _ma = Math.cos(_G12); if (_D12 < 0) { _D12 = _v12 ? _v12._512('M') : 20 } var _H12 = _la * _eZ1 * _D12; var _I12 = _ma * _eZ1 * _D12; if (this._ds == 1) { _g3 = _g3 - Math.round((_6q.length * _I12) / 2.0); _f3 = _f3 - Math.round((_6q.length * _H12) / 2.0) } if (this._ds == 2) { _g3 = _g3 - Math.round(_6q.length * _I12); _f3 = _f3 - Math.round(_6q.length * _H12) } if (!_v12) { _yb.fillStyle = _qv; _yb.globalAlpha = _Ad; for (_H3 = 0; _H3 <= _6q.length - 1; _H3++) { var _J12 = _6q[_H3]; if (_J12 != null) { _yb.fillText(_J12, _f3, _g3 + 13); _g3 = _g3 + _I12; _f3 = _f3 + _H12 } } } else { for (_H3 = 0; _H3 <= _6q.length - 1; _H3++) { _E12 = 0; _F12 = 0; var _J12 = _6q[_H3]; if (_J12 != null) { if (this._cs == 1) _E12 = -(_dZ1 * _v12._612(_J12) / 2); if (this._cs == 2) _E12 = -(_dZ1 * _v12._612(_J12)); if (_v12._T02) { _E12 -= (_dZ1 * _v12._Y02._23); _F12 -= (_eZ1 * _v12._Y02._33) } var _0a = _f3 + (_ma * _E12) + (_la * _F12); var _2a = _g3 - (_la * _E12) + (_ma * _F12); if (_v12._Gs) { if (_v12._T02) { if (!_sa) { _v12._p12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad) } else { _v12._u12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad) } } else { if (_v12._Is) { _K12(_v12._Ls, _J12, _0a, _2a, 1, 1, _G12, _Bd, _Ad) } } } else { if (_sa) { _v12._h12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad) } else { _v12._m12(_0a, _2a, _J12, _dZ1, _eZ1, _Z8, _Bd, _Ad) } } } _g3 = _g3 + _I12; _f3 = _f3 + _H12 } } }; var _L12; var _Ha; var _M12 = null; var _jI = 1024; var _kI = 768; var _lI = 1; var _mI = 1; var _Ou = 0; var _Pu = 0; var _Qu = 0; var _Ru = 0; var _N12 = 0; var _O12 = 0; var _P12 = 0; var _Q12 = 0; var _R12 = []; var _S12 = 0; var _Ab = 0xffffff; var _T12; var _U12; var _tH; var _uH; var _o12; var _V12; var _n12; var _W12; function _X12() { return _jI } function _Y12() { return _kI } function _SF(_Z12) { if (!_Z12) return; _Z12.__12 = _Z12.transform; _Z12._Nu = _Z12.setTransform; _Z12._Lu = _Z12.save; _Z12._Su = _Z12.restore; _Z12._Lv = _Z12.fillRect; _Z12._Kv = _Z12.strokeRect; _Z12.__v = _Z12.beginPath; _Z12._Tw = _Z12.arc; _Z12._3w = _Z12.stroke; _Z12._2w = _Z12.closePath; _Z12.lineWidth = _Z12.lineWidth; _Z12._0w = _Z12.moveTo; _Z12._1w = _Z12.lineTo; _Z12._hw = _Z12.fill; _Z12._UF = _Z12.drawImage; _Z12._AH = _Z12.getImageData; _Z12._022 = _Z12.createImageData; _Z12._122 = _Z12.putImageData; _Z12._222 = _Z12.clip; _Z12._322 = _Z12.rect } function _uV1(_fh1) { _Ha = []; _M12 = null; _Ou = 0; _Pu = 0; _Qu = 0; _Ru = 0; _N12 = 0; _O12 = 0; _P12 = 0; _Q12 = 0; _R12 = []; _R12[0] = 1; _R12[1] = 0; _R12[2] = 0; _R12[3] = 0; _R12[4] = 1; _R12[5] = 0; if (!_sa) { if (_pK1) { _T12 = _422 } else { _T12 = _522 } _U12 = _622; _722 = _822; _tH = _922; _uH = _a22; _b22 = _c22; _o12 = _d22; _V12 = _e22; _n12 = _f22; _W12 = _g22; _h22 = _i22; _j22 = _k22; _K12 = _l22; _m22 = _n22; _o22 = _p22; _q22 = _r22; _s22 = function() {}; _t22 = function() {}; if (_qK1) { if (_pK1) { _Ab = 0x1ffffff; _T12 = _u22 } else { _T12 = _v22 } _U12 = _622; _722 = _w22 } } else { _x22() } _tH(0, 0, _bI, _cI); _uH(0, 0, _bI, _cI) } function _i22() { _yb._Lu() } function _k22() { _yb._Su() } function _aG(_lG) { _lG._Da = []; _lG._Ea = 0; _lG._Fa = 4; _lG.__G = 0; _lG._0H = null; _lG._QF = null; _lG._Ga = _Ha[_lG._y5] } function _EW1(_y22) { _M12 = _y22; for (var _H3 = 0; _H3 < _y22.length; _H3++) { var _Kj = _y22[_H3]; _aG(_Kj) } } function _z22() { this._hG = null; this._A22 = 0 } function _Bb(_lG, _Cd) { var _B22 = _lG._Da[_Cd]; if (_B22 != null) { _B22._A22 = _S12; return _B22._hG } var _C22 = -9999999999; _B22 = null; _D22 = -1; if (_lG._Ea < _lG._Fa) { _B22 = new _z22(); _lG._Ea++ } else { for (var _H3 = 0; _H3 < _lG._Da.length; _H3++) { var _E22 = _lG._Da[_H3]; if (_E22 != null) { var _V9 = _S12 - _E22._A22; if (_V9 > _C22) { _D22 = _H3; _B22 = _E22; _C22 = _V9 } } } } if (_D22 >= 0) _lG._Da[_D22] = null; _lG._Da[_Cd] = _B22; _B22._A22 = _S12; _B22._hG = _F22(_lG, _Cd); return _B22._hG } function _5Z1(_NF) { return _M12[_NF]; } function _d22() { _yb._Nu(_R12[0], _R12[3], _R12[1], _R12[4], _R12[2], _R12[5]) } function _e22(_Sd) { _yb._Lu(); var _Mu = []; _Mu[0] = 1; _Mu[1] = 0; _Mu[2] = 0; _Mu[3] = 1; _Mu[4] = 0; _Mu[5] = 0; _yb._Nu(_Mu[0], _Mu[1], _Mu[2], _Mu[3], _Mu[4], _Mu[5]); _yb.fillStyle = _vv(_Sd | 0xff000000); _yb._Lv(_Ou, _Pu, _Qu, _Ru); _yb._Su() } function _922(_bi1, _ci1, _di1, _ei1) { _Ou = _bi1; _Pu = _ci1; _Qu = _di1; _Ru = _ei1 } function _G22(_V8, _W8, _vh, _wh, _Z8) { var _H22 = new _In((_V8 + _vh / 2.0), (_W8 + _wh / 2.0), -16000.0); var _I22 = new _In((_V8 + _vh / 2.0), (_W8 + _wh / 2.0), 0.0); var _J22 = new _In(Math.sin( - _Z8 * (Math.PI / 180.0)), Math.cos( - _Z8 * (Math.PI / 180.0)), 0.0); _uT1._Ln(_H22, _I22, _J22); _tT1._Yn(_vh, -_wh * _Sn, 1.0, 32000.0) } function _f22(_V8, _W8, _VH, _WH, _Z8) { var _Mu = []; _Mu[0] = Math.cos(_Z8); _Mu[3] = Math.sin(_Z8); _Mu[1] = -_Mu[3]; _Mu[4] = _Mu[0]; _Mu[0] *= _VH; _Mu[3] *= _VH; _Mu[1] *= _WH; _Mu[4] *= _WH; _Mu[2] = _V8; _Mu[5] = _W8; _yb.__12(_Mu[0], _Mu[3], _Mu[1], _Mu[4], _Mu[2], _Mu[5]) } function _c22(_K22, _L22, _M22, _N22) { _R12[0] = 1; _R12[1] = 0; _R12[2] = 0; _R12[3] = 1; _R12[4] = 0; _R12[5] = 0; _yb._Nu(_R12[0], _R12[1], _R12[2], _R12[3], _R12[4], _R12[5]); _yb.beginPath(); _yb.moveTo(_Ou, _Pu); _yb.lineTo(_Ou + _Qu, _Pu); _yb.lineTo(_Ou + _Qu, _Pu + _Ru); _yb.lineTo(_Ou, _Pu + _Ru); if (! (_yz == _CK1 && _uJ == 4.0)) { _yb.clip() } _R12[0] = _K22; _R12[1] = 0; _R12[2] = _M22; _R12[3] = 0; _R12[4] = _L22; _R12[5] = _N22; _yb._Nu(_R12[0], _R12[3], _R12[1], _R12[4], _R12[2], _R12[5]) } function _a22(_O22, _P22, _Q22, _R22, _Z8) { _R12[0] = 1; _R12[1] = 0; _R12[2] = 0; _R12[3] = 1; _R12[4] = 0; _R12[5] = 0; _yb._Nu(_R12[0], _R12[1], _R12[2], _R12[3], _R12[4], _R12[5]); _yb.beginPath(); _yb.moveTo(_Ou, _Pu); _yb.lineTo(_Ou + _Qu, _Pu); _yb.lineTo(_Ou + _Qu, _Pu + _Ru); _yb.lineTo(_Ou, _Pu + _Ru); if (! (_yz == _CK1 && _uJ == 4.0)) { _yb.clip() } var _J3 = _Qu / _Q22; var _K3 = _Ru / _R22; _N12 = _O22; _O12 = _P22; _P12 = _Q22; _Q12 = _R22; _R12[0] = _J3; _R12[1] = 0; _R12[2] = -(_O22 * _J3) + _Ou; _R12[3] = 0; _R12[4] = _K3; _R12[5] = -(_P22 * _K3) + _Pu; _yb._Nu(_R12[0], _R12[3], _R12[1], _R12[4], _R12[2], _R12[5]) } function _Qa(_J8) { var _H3 = _Ha.length; var _Ga = new Image(); _J8 = _CF(_J8); _Ga.src = _J8; _Ha[_H3] = _Ga; return _H3 } function _S22(_Aa, _Ba) { var _I3 = document.createElement("canvas"); _I3.width = _Aa; _I3.height = _Ba; var _H3 = _Ha.length; var _Ga = new Image(_Aa, _Ba); _Ga.src = _I3.toDataURL(); _Ha[_H3] = _Ga; return _H3 } function _T22(_Ye, _V8, _W8, _fh1) { var context = _Ye.getContext('2d'); context.globalCompositeOperation = 'copy'; context.drawImage(_fh1, _V8, _W8) } function _WF(_U22) { var _H3 = _Ha.length; _Ha[_H3] = _U22; return _H3 } function _n22() { _S12++ } function _p22() {} function _iG(_lG) { var _QF = document.createElement(_cq); var _Gj = _QF.getContext('2d'); _SF(_Gj); _QF.width = _lG._J3; _QF.height = _lG._K3; _Gj._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, 0, 0, _lG._J3, _lG._K3); _QF.complete = !0; return _QF } function _sG(_lG) { var _QF = document.createElement(_cq); var _Gj = _QF.getContext('2d'); _SF(_Gj); var _pG = []; var _LA = _lG._w5 * _lG._x5 * 4; for (var _H3 = 0; _H3 < _LA; _H3++) _pG[_H3] = 0; _QF.width = _lG._J3; _QF.height = _lG._K3; _Gj._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, 0, 0, _lG._J3, _lG._K3); _QF.complete = !0; var data, _BH, _V22, _W22; try { data = _Gj.getImageData(0, 0, _lG._J3, _lG._K3) } catch(_yF) { return _pG } _X22 = data.data; var _Y22 = (_lG._s5 + (_lG._t5 * _lG._w5)) * 4; for (_g3 = 0; _g3 < _lG._K3; _g3++) { var _Z22 = _Y22; var __22 = (_g3 * data.width) * 4; var _ia = _lG._J3 * 4; for (_f3 = 0; _f3 < _ia; _f3++) { _pG[_Z22++] = _X22[__22++] } _Y22 += _lG._w5 * 4 } return _pG; } function _422(_lG, _V8, _W8, _Gd) { if (!_lG._Ga) return; if (!_lG._Ga.complete) return; if (_lG._QF == null) _lG._QF = _iG(_lG); _V8 += _lG._s5; _W8 += _lG._t5; _yb.globalAlpha = _Gd; _yb._UF(_lG._QF, ~~_V8, ~~_W8) } function _u22(_lG, _V8, _W8, _Gd) { _422(_lG, _V8, _W8, _Gd) } function _522(_lG, _V8, _W8, _Gd) { if (!_lG._Ga) return; if (!_lG._Ga.complete) return; _yb.globalAlpha = _Gd; _yb._UF(_lG._Ga, ~~_lG._f3, ~~_lG._g3, _lG._J3, _lG._K3, Math.floor(_V8) + _lG._s5, Math.floor(_W8) + _lG._t5, _lG._u5, _lG._v5) } function _v22(_lG, _V8, _W8, _Gd) { _522(_lG, _V8, _W8, _Gd) } function _032(_fh1) { try { _yb._UF(_fh1, 0, 0, _fh1.width, _fh1.height, canvas.width, canvas.height, 0, 0) } catch(e) { return ! 1 } var _Jb = _fh1.getContext('2d'); _Jb.fillStyle = "white"; _Jb.fillRect(0, 0, 1, 1); var _132 = _Jb.getImageData(0, 0, 1, 1); return (_132.data[0] === 255) } function _622(_lG, _V8, _W8, _232, _332, _432, _532, _Sd, _Gd) { var _ho1 = _lG._Ga; if (!_ho1) return; if (!_ho1.complete) return; if (_lG._J3 == 0 || _lG._K3 == 0) return; var _H3 = 0; if (_432) _H3 = 1; if (_532) _H3 |= 2; if (_H3 === 0) { _yb.globalAlpha = _Gd; _yb._UF(_ho1, _lG._f3, _lG._g3, _lG._J3, _lG._K3, _V8 + _lG._s5, _W8 + _lG._t5, (_lG._u5 * _232), (_lG._v5 * _332)); return } var _J3 = _lG._w5; var _K3 = _lG._x5; if (_532) { _J3 = (((((_iH._lH + (_lG._w5 - 1)) / _lG._w5) & 0xffffffff) + 2) * _lG._w5); _V8 = _N12 + (~~ ((_V8 - _N12) % _lG._w5) - _lG._w5) } if (_432) { _K3 = (((((_iH._mH + (_lG._x5 - 1)) / _lG._x5) & 0xffffffff) + 2) * _lG._x5); _W8 = _O12 + (~~ ((_W8 - _O12) % _lG._x5) - _lG._x5) } if ((_lG._0H != null) && (_lG._0H.width < (_J3 * _lG._632) || _lG._0H.height < (_K3 * _lG._632))) { _lG._0H = null; _lG._732 = 0 } if ((_lG.__G != _H3) || (!_lG._0H)) { _lG.__G = _H3; var buffer = document.createElement(_cq); var _Gj = buffer.getContext('2d'); _SF(_Gj); try { buffer.width = _J3; buffer.height = _K3; _yb.globalAlpha = 1; var _832 = 1; while ((_032(buffer) === !1) && (buffer.width >= 64) && (buffer.height >= 64)) { debug("WARNING: Tiled image quality reduction"); buffer.width /= 2; buffer.height /= 2; _832 /= 2 } var _932 = _lG._f3; var _a32 = _lG._g3; if (_Sd != _Ab) { _ho1 = _Bb(_lG, _Sd); _932 = 0; _a32 = 0 } var _IT = _J3 / _lG._w5; var _JT = _K3 / _lG._x5; for (var _g3 = 0; _g3 < _JT; _g3++) { for (var _f3 = 0; _f3 < _IT; _f3++) { _Gj._UF(_ho1, _932, _a32, _lG._J3, _lG._K3, _lG._s5 + ((_f3 * _lG._w5) * _832), _lG._t5 + ((_g3 * _lG._x5) * _832), _lG._u5 * _832, _lG._v5 * _832) } } _lG._632 = _832 } catch(e) { alert("Tiled image failed " + e.message) } _lG._0H = buffer } _yb.globalAlpha = _Gd; _yb._UF(_lG._0H, _V8, _W8, _lG._0H.width / _lG._632, _lG._0H.height / _lG._632) } function _822(_lG, _ZF, __F, _V8, _W8, _232, _332, _b32, _9t, _at, _Pv, _Qv, _Gd) { if (!_lG._Ga) return; if (!_lG._Ga.complete) return; if ((abs(_232) <= 0.0001) || (abs(_332) <= 0.0001) || (_Gd <= 0)) { return } _9t &= 0xffffff; var _Jw = -(_ZF - _lG._s5); var _Kw = -(__F - _lG._t5); _yb.globalAlpha = _Gd; if (_9t != _Ab) { var _d12 = _Bb(_lG, _9t); var _T9 = Math.abs(_b32); if ((_T9 < 0.0001) && (_232 == 1) && (_332 == 1) && (_lG._J3 === _lG._u5) && (_lG._K3 === _lG._v5)) { _yb._UF(_d12, _V8 + _Jw, _W8 + _Kw) } else { if ((_232 < 0) || (_332 < 0) || (_T9 > 0.0001)) { _n12(_V8, _W8, _232, _332, -_b32); _yb._UF(_d12, 0, 0, _lG._J3, _lG._K3, _Jw, _Kw, _lG._u5, _lG._v5); _o12() } else { _yb._UF(_d12, 0, 0, _lG._J3, _lG._K3, _V8 + (_Jw * _232), _W8 + (_Kw * _332), _lG._u5 * _232, _lG._v5 * _332) } } } else { var _T9 = Math.abs(_b32); if ((_T9 < 0.0001) && (_232 == 1) && (_332 == 1) && (_lG._J3 === _lG._u5) && (_lG._K3 === _lG._v5)) { if (_lG._QF == null) { _lG._QF = _iG(_lG) } _yb._UF(_lG._QF, _V8 + _Jw, _W8 + _Kw) } else { if (_232 < 0 || _332 < 0 || _T9 > 0.001) { _n12(_V8, _W8, _232, _332, -_b32); _yb._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, _Jw, _Kw, _lG._u5, _lG._v5); _o12() } else { _yb._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, _V8 + (_Jw * _232), _W8 + (_Kw * _332), _lG._u5 * _232, _lG._v5 * _332) } } } } function _w22(_lG, _ZF, __F, _V8, _W8, _232, _332, _b32, _9t, _at, _Pv, _Qv, _Gd) { try { _822(_lG._Ga, _ZF, __F, _V8, _W8, _232, _332, _b32, _9t, _at, _Pv, _Qv, _Gd) } catch(_yF) { debug("error drawing image"); } } function _F22(_lG, _Sd) { var buffer = document.createElement(_cq); var _Gj = buffer.getContext('2d'); _SF(_Gj); buffer.width = _lG._J3; buffer.height = _lG._K3; _Gj._UF(_lG._Ga, _lG._f3, _lG._g3, _lG._J3, _lG._K3, 0, 0, _lG._J3, _lG._K3); if (~~_Sd != 0xffffff) { var data, _BH, _V22, _W22; try { data = _Gj._AH(0, 0, buffer.width, buffer.height) } catch(_yF) { return buffer } _BH = data.data; _c32 = _Gj._022(buffer.width, buffer.height); _W22 = _c32.data; var _T9 = ((_Sd >> 16) & 0xff) / 255; var _jb = ((_Sd >> 8) & 0xff) / 255; var _W9 = (_Sd & 0xff) / 255; var _C12 = (data.height * data.width * 4); for (var _H3 = _C12 - 4; _H3 >= 0; _H3 -= 4) { _W22[_H3] = (_BH[_H3] * _T9) | 0; _W22[_H3 + 1] = (_BH[_H3 + 1] * _jb) | 0; _W22[_H3 + 2] = (_BH[_H3 + 2] * _W9) | 0; _W22[_H3 + 3] = (_BH[_H3 + 3]) } _c32.data = _W22; _Gj._122(_c32, 0, 0) } return buffer } function _d32(_lG, _aa, _ba, _x9, _y9, _fw, _gw, _e32, _f32, _Gd) { var _ho1 = _lG._Ga; if (!_ho1) return; if (!_ho1.complete) return; _yb.globalAlpha = _Gd; _g32(_ho1, _aa, _ba, _x9, _y9, _fw, _gw, _lG._f3, _lG._g3, _lG._f3 + _lG._J3, _lG._g3, _lG._f3 + _lG._J3, _lG._g3 + _lG._K3); _g32(_ho1, _fw, _gw, _e32, _f32, _aa, _ba, _lG._f3 + _lG._J3, _lG._g3 + _lG._K3, _lG._f3, _lG._g3 + _lG._K3, _lG._f3, _lG._g3) } function _g32(_Kb, _Lb, _Mb, _G9, _H9, _I9, _J9, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb) { _yb._Lu(); _yb.__v(); _yb._0w(_Lb, _Mb); _yb._1w(_G9, _H9); _yb._1w(_I9, _J9); _yb._2w(); _yb._222(); var _Tb = _Nb * (_Sb - _Qb) - _Pb * _Sb + _Rb * _Qb + (_Pb - _Rb) * _Ob; if (_Tb == 0) return; var _Ub = -(_Ob * (_I9 - _G9) - _Qb * _I9 + _Sb * _G9 + (_Qb - _Sb) * _Lb) / _Tb; var _Vb = (_Qb * _J9 + _Ob * (_H9 - _J9) - _Sb * _H9 + (_Sb - _Qb) * _Mb) / _Tb; var _Wb = (_Nb * (_I9 - _G9) - _Pb * _I9 + _Rb * _G9 + (_Pb - _Rb) * _Lb) / _Tb; var _Xb = -(_Pb * _J9 + _Nb * (_H9 - _J9) - _Rb * _H9 + (_Rb - _Pb) * _Mb) / _Tb; var _Yb = (_Nb * (_Sb * _G9 - _Qb * _I9) + _Ob * (_Pb * _I9 - _Rb * _G9) + (_Rb * _Qb - _Pb * _Sb) * _Lb) / _Tb; var _Zb = (_Nb * (_Sb * _H9 - _Qb * _J9) + _Ob * (_Pb * _J9 - _Rb * _H9) + (_Rb * _Qb - _Pb * _Sb) * _Mb) / _Tb; _yb.__12(_Ub, _Vb, _Wb, _Xb, _Yb, _Zb); _yb._UF(_Kb, 0, 0); _yb._Su() } function _g22(_lG, _yA, _zA, _Aa, _Ba, _V8, _W8, __l, _0m, _QH, _Gd) { if (!_lG) return; if (!_lG._Ga) return; if (!_lG._Ga.complete) return; _QH &= 0xffffff; _yb.globalAlpha = _Gd; if (_yA < _lG._s5) { var _h32 = _lG._s5 - _yA; _V8 += _h32; _Aa -= _h32; _yA = 0 } else { _yA -= _lG._s5 } if (_zA < _lG._t5) { var _h32 = _lG._t5 - _zA; _W8 += _h32; _Ba -= _h32; _zA = 0 } else { _zA -= _lG._t5 } if (_Aa > (_lG._u5 - _yA)) _Aa = _lG._u5 - _yA; if (_Ba > (_lG._v5 - _zA)) _Ba = _lG._v5 - _zA; if (_Aa <= 0 || _Ba <= 0) return; _V8 = ~~_V8; _W8 = ~~_W8; if (_QH != _Ab) { var _d12 = _Bb(_lG, _QH); if (__l < 0 || _0m < 0) { _n12(_V8, _W8, __l, _0m, 0); _yb._UF(_d12, _yA, _zA, _Aa, _Ba, 0, 0, _Aa, _Ba); _o12() } else { _yb._UF(_d12, _yA, _zA, _Aa, _Ba, _V8, _W8, _Aa * __l, _Ba * _0m) } } else { if (__l < 0 || _0m < 0) { _n12(_V8, _W8, __l, _0m, 0); _yb._UF(_lG._Ga, _yA + _lG._f3, _zA + _lG._g3, _Aa, _Ba, 0, 0, _Aa, _Ba); _o12() } else { _yb._UF(_lG._Ga, _yA + _lG._f3, _zA + _lG._g3, _Aa, _Ba, _V8, _W8, _Aa * __l, _Ba * _0m) } } } function _NH(_lG, _V8, _W8, _vh, _wh, _QH, _Gd) { if (!_lG) return; if (!_lG._Ga) return; if (!_lG._Ga.complete) return; _V8 = ~~_V8; _W8 = ~~_W8; var _932 = _vh / _lG._w5; var _a32 = _wh / _lG._x5; _722(_lG, 0, 0, _V8, _W8, _932, _a32, 0, _QH, _QH, _QH, _QH, _Gd) } function _l22(_es, _Xr, _V8, _W8, __l, _0m, _Z8, _Sd, _Gd) { _yb.globalAlpha = _Gd; _yb.fillStyle = _Uj(_Sd, 1.0); _yb.font = _es; _yb.textBaseline = "top"; _n12(_V8, _W8, __l, _0m, -_Z8); _yb.fillText(_Xr, 0, 0); _o12() } function _Hj(_i32, _vh, _wh) { try { var data, _BH, _V22, _W22; data = _i32._AH(0, 0, _vh, _wh); _BH = _W22 = data.data; var _j32 = (_wh - 1) * _vh * 4; var _T9 = _BH[_j32 + 0]; var _jb = _BH[_j32 + 1]; var _W9 = _BH[_j32 + 2]; var _kb = _BH[_j32 + 3]; var _C12 = (data.height * data.width * 4); for (var _H3 = _C12 - 4; _H3 >= 0; _H3 -= 4) { _W22[_H3 + 0] = _BH[_H3 + 0]; _W22[_H3 + 1] = _BH[_H3 + 1]; _W22[_H3 + 2] = _BH[_H3 + 2]; if ((_W22[_H3 + 0] == _T9) && (_W22[_H3 + 1] == _jb) && (_W22[_H3 + 2] == _W9)) { _W22[_H3 + 3] = 0x0 } else { _W22[_H3 + 3] = _BH[_H3 + 3] } } _i32._122(data, 0, 0) } catch(_yF) { return ! 1 } return ! 0 } function _r22(__p) {} var _k32 = 0, _l32 = 0; function _my(_m32) { this._n32 = !1; this._o32 = []; this._p32 = _m32; this._q32 = ""; this._r32 = 0; this._s32 = 0 } function _ly(_t32, _u32) { var _Qr = _1t(_t32, _u32); _v32 = new _my(_t32); _v32._q32 = _Qr; _v32._w32(); var _Ea = 0; for (var _H3 in _v32._o32) { if (!_v32._o32.hasOwnProperty(_H3)) continue; _Ea++; break } if (_Ea == 0) return null; return _v32 } _my.prototype._Mr = function() { while ((this._q32.charCodeAt(this._r32) != 0x0a) && (this._q32.charCodeAt(this._r32) != 0x0d) && (this._r32 < this._HZ1)) { this._r32++ } this._s32++; this._r32++; if (this._r32 >= this._HZ1) return; if ((this._q32.charCodeAt(this._r32) == 0x0a) && (this._q32.charCodeAt(this._r32) == 0x0d)) { this._r32++; } }; _my.prototype._x32 = function() { with(this) { if (this._r32 >= _HZ1) return ! 1; var _I3 = _q32.charCodeAt(_r32); if (_I3 == 0x20 || _I3 == 0x09 || _I3 == 0x0a || _I3 == 0x0d || _I3 == _yG('#') || _I3 == _yG(';')) { return ! 0 } else { return ! 1 } } }; _my.prototype._Nr = function() { with(this) { while (_x32() && (_r32 < _HZ1)) { var _I3 = _q32.charCodeAt(_r32); if (_I3 == '#' || _I3 == ';') { _Mr() } else if (_I3 == 0x0a) { _s32++ } _r32++ } if (_r32 >= _HZ1) return } }; _my.prototype._y32 = function() { with(this) { _Nr(); while ((_q32.charAt(_r32) != '[') && (_r32 < _HZ1)) { _r32++ } if (_r32 >= _HZ1) return null; _r32++; var _z32 = _r32; while ((_q32.charAt(_r32) != ']') && (_r32 < _HZ1)) { _r32++ } if (_r32 >= _HZ1) return null; var _Xp = _r32 - _z32; var _A32 = []; _A32._B32 = _q32.substr(_z32, _Xp); _r32++; return _A32 } }; _my.prototype._C32 = function(_D32) { with(this) { _Nr(); if (_r32 >= _HZ1 || _q32.charAt(_r32) == '[') return ! 1; var _z32 = _r32; var _E32 = -1; while ((_q32.charAt(_r32) != '=') && (_r32 < _HZ1)) { if (_x32()) { if (_E32 < 0) _E32 = _r32 } else { _E32 = -1 } _r32++ } if (_r32 >= _HZ1) return ! 1; if (_E32 < 0) _E32 = _r32; var _Xp = _E32 - _z32; var _6K = _q32.substr(_z32, _Xp); while ((_q32.charAt(_r32) != '=') && (_r32 < _HZ1)) { _r32++ } if (_r32 >= _HZ1) return ! 1; _r32++; var _vA1 = _s32; _Nr(); if (_vA1 != _s32) return ! 1; var _F32 = _yG('#'); var _G32 = _yG(';'); var _H32 = !1; var _ma = _q32.charCodeAt(_r32); if (_ma == _yG('"')) { _F32 = _yG('"'); _G32 = _yG('"'); _H32 = !0; _r32++ } else if (_ma == _yG('\'')) { _F32 = _yG('\''); _G32 = _yG('\''); _H32 = !0; _r32++ } _z32 = _r32; var _I32 = -1; var _I3 = _q32.charCodeAt(_r32); while ((_I3 != 0x0a) && (_I3 != 0x0d) && (_I3 != _F32) && (_I3 != _G32) && (_r32 < _HZ1)) { if (_I3 == 0x20 || _I3 == 0x09) { if (_I32 < 0) _I32 = _r32 } else { _I32 = -1 } if (_I3 == _yG('\\')) _r32++; _r32++; _I3 = _q32.charCodeAt(_r32); } if (_I32 >= 0) { _Xp = _I32 - _z32 } else { _Xp = _r32 - _z32 } var _J32 = _q32.substr(_z32, _Xp); _D32[_6K] = _J32; if (_H32) { _ma = _q32.charCodeAt(_r32); if ((_ma == _F32) && (_ma == _G32)) { while ((_q32.charCodeAt(_r32) != 0x0a) && (_q32.charCodeAt(_r32) != 0x0d) && (_r32 < _HZ1)) { _r32++ } } } return ! 0 } }; _my.prototype._w32 = function() { with(this) { if (_q32 == null) return ! 1; _HZ1 = _q32.length; _r32 = 0; _s32 = 0; var _A32 = _y32(); if (_A32 == null) { _q32 = null; return ! 1 } _o32[_A32._B32] = _A32; while (_r32 < _HZ1) { var _AZ = _C32(_A32); if (!_AZ) { if (_r32 < _HZ1) { if (_q32.charAt(_r32) == '[') { _A32 = _y32(); if (_A32 == null) { _q32 = null; return ! 0 } _o32[_A32._B32] = _A32 } } } } _q32 = null; return ! 0 } }; _my.prototype._K32 = function(_L32, _M32) { with(this) { var _A32 = _o32[_L32]; if (_A32 != null && _A32 != undefined) { var _J32 = _A32[_M32]; if (_J32 != undefined) return _J32 } return null } }; _my.prototype._qy = function(_L32, _M32, _py) { with(this) { var _6K = _K32(_L32, _M32); if (_6K != null) { return parseFloat(_6K) } else { return parseFloat(_py) } } }; _my.prototype._ry = function(_L32, _M32, _N32) { this._n32 = !0; var _A32 = this._o32[_L32]; if (_A32 == null || _A32 == undefined) { _A32 = []; _A32._B32 = _L32; this._o32[_A32._B32] = _A32 } _A32[_M32] = _N32; return ! 0 }; _my.prototype._ny = function() { var _Qr = ""; var _Vp = _Nq(0x0d) + _Nq(0x0a); for (var _O32 in this._o32) { if (!this._o32.hasOwnProperty(_O32)) continue; _Qr = _Qr + "[" + _O32 + "]" + _Vp; var _A32 = this._o32[_O32]; for (var _pz in _A32) { if (!_A32.hasOwnProperty(_pz)) continue; if (_pz != "__m_pIniFileName__") { var _J32 = _A32[_pz]; _Qr = _Qr + _pz + "=" + _J32 + _Vp } } } if (this._n32) { _Sr(this._p32, _Qr); this._n32 = !1 } return _Qr }; function _CF(_t32) { if (_t32.substring(0, 5) == "file:") return _t32; if ((_t32.substring(0, 7) == "http://") || (_t32.substring(0, 8) == "https://")) return _t32; if (_t32.substring(0, _Ra.length) == _Ra) return _t32; return _Ra + _t32 } function _P32(_t32) { if (_t32.substring(0, 5) == "file:") return ! 1; if (_t32.substring(0, 4) == "ftp:") return ! 1; if (_t32.substring(0, 7) == "gopher:") return ! 1; if (_t32.substring(0, 7) == "mailto:") return ! 1; if (_t32.substring(0, 5) == "news:") return ! 1; if (_t32.substring(0, 5) == "nntp:") return ! 1; if (_t32.substring(0, 7) == "telnet:") return ! 1; if (_t32.substring(0, 5) == "wais:") return ! 1; if (_t32.substring(0, 5) == "news:") return ! 1; if (_t32.substring(1, 1) == ":") return ! 1; return ! 0 } function _Q32(_lz) { try { var _R32 = new XMLHttpRequest(); _R32.open('HEAD', _lz, !1); _R32.send(); _l32 = _R32.status; var _S32 = (_R32.status != 404 && _R32.status != 0); if (_FK1 == _PK1 && _R32.responseText.length > 0) { _S32 = !0 } return _S32 } catch(e) { return ! 1 } } function _T32(_IG1, _KG1) { try { var _io = !window.XMLHttpRequest ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest(); _io.open(_KG1 ? 'PUT': 'GET', _IG1, !1); _io.setRequestHeader('Content-Type', 'text/html'); _io.send(_KG1 ? _KG1: ''); _l32 = _io.status; return _io.responseText } catch(e) { return null } } function _Sr(_Fp1, _WV1) { if (_U32) { return ! 1 } else if ('localStorage' in window && window['localStorage'] !== null) { try { localStorage[_w6._sW1 + _Fp1] = _WV1; return ! 0 } catch(_yF) { return ! 1 } } } function _1t(_t32, _u32) { var _Qr = null; if (_t32.substring(0, 5) == "file:") return null; if (_u32) { if ((_t32.substring(0, 7) == "http://") || (_t32.substring(0, 8) == "https://")) return; if (_U32) { return null } else if ('localStorage' in window && window['localStorage'] !== null) { try { _Qr = localStorage[_w6._sW1 + _t32] } catch(_yF) { return null } if ((_Qr == undefined) || (_Qr == null)) return null } } else { if (!_P32(_t32)) return null; _t32 = _CF(_t32); _Qr = _T32(_t32, !1); if ((_Qr == null) || (_Qr == undefined)) return null; if (_l32 == 404) return null } return _Qr } function __r(_t32, _u32) { var _Qr = null; if (_t32.substring(0, 5) == "file:") return null; if (_u32) { if (_U32) { return ! 1 } else if ('localStorage' in window && window['localStorage'] !== null) { try { var name = _w6._sW1 + _t32; if (localStorage[name] && (localStorage[name] != undefined)) return ! 0; return ! 1 } catch(_yF) { return ! 1 } } } else { if (!_P32(_t32)) return ! 1; _t32 = _CF(_t32); return _Q32(_t32) } } var _V32 = new Array("StepEvent", "DrawEvent", "LeftButtonPressed", "RightButtonPressed", "NoButtonPressed"); var _W32 = new _Iq(0, 0, 0, 0); var _X32 = null; var _Y32 = -1; var _Z32 = -1; function _YU1() {} function __32(_042, _142, _Ch, _242, _342) { this.__type = "[instance]"; this._f3 = _042; this._g3 = _142; this._bI1 = _042; this._cI1 = _142; this._442 = _042; this._542 = _142; this._H7 = 0; this._G7 = 0; this._sA = 0; this._h3 = 0; this._L_ = 0; this._N01 = 0; this._642 = 270; this._kv1 = _242; this.id = _Ch; this._HY = !0; this._47 = []; for (var _H3 = 0; _H3 <= (_SI1 - 1); _H3++) { this._47[_H3] = -1 } this._SA = !0; this._Q3 = !0; this._65 = !1; this._R3 = 0; this._Iy = new _Iq(0, 0, 0, 0); this._Ny = 0; this._L7 = 0; this._742 = 0; this._842 = 0; this._942 = 0; this._a42 = 0; this._b42 = 0; this._v7 = 1.0; this._J7 = 1.0; this._qv1 = 0; this._c42 = 1.0; this._d42 = 0xffffff; this._b7 = 1; this._RH1 = -1; this._Uu1 = -1; this._dI1 = 0; this._eI1 = 0; this._B7 = 0; this._e42 = 1; this._f42 = 0; this._g42 = 0; this._AC = 0; this._h42 = 0; this._i42 = 0; this._JI1 = -1; this._NI1 = 0; this._LI1 = 1; this._KI1 = !0; this._OI1 = !1; this._j42 = -1; this._k42 = !1; this._uy = !1; this._l42 = null; this._m42 = !1; this._Gy = !0; this._CI1 = !1; this._Oy = null; this._n42 = null; this._Wu1 = null; this._o42 = null; this._My(_242, _342, !0); this._Ny = this._Oy._Py; var _Qy = _Ry._Gh(this._Ny); if (_Qy) { this._Iy.left = _Qy._Iy.left; this._Iy._q9 = _Qy._Iy._q9; this._Iy.top = _Qy._Iy.top; this._Iy.bottom = _Qy._Iy.bottom } } __32.prototype._g7 = function(_V8) { this._f3 = _V8; this._Gy = !0 }; __32.prototype._q7 = function(_ar1) { this._v7 = _ar1; this._Gy = !0 }; __32.prototype._r7 = function(_ar1) { this._J7 = _ar1; this._Gy = !0 }; __32.prototype._y7 = function() { return this._R3 }; __32.prototype._s7 = function(_p42) { var _ju = this._t7(); if (_p42 < 0) { _p42 = _ju - _5V1(Math.abs(_p42), _ju) } else { _p42 = _5V1(Math.abs(_p42), _ju) } this._L7 = _p42 }; __32.prototype._t7 = function() { var _Qy = _Ry._Gh(this._Ny); if (!_Qy) return 0; if ((_Qy._q42 !== null) && (_Qy._q42 !== undefined)) { return _Qy._q42._DD1 } return _Qy._VF.length }; __32.prototype._w7 = function(_Uj1) { if (this._R3 != _Uj1) { this._R3 = _Uj1; _H8._r42[_H8._r42.length] = this } }; __32.prototype._te = function(_s42, _sX1) { if ((this._f3 == _s42) && (this._g3 == _sX1)) return; this._f3 = _s42; this._g3 = _sX1; this._Gy = !0 }; __32.prototype._My = function(_Ky, _t42, _u42) { this._kv1 = _Ky; if (this._Oy != null) { this._Oy._v42(this); this._Oy = null; this._n42 = null; } if (_Ky == -1) _Ky = 0; this._n42 = this._Oy = _Ys._Gh(_Ky); if (this._Oy != null) { if (_t42) { this._Oy._w42(this) } this._PH1 = this._Oy._PH1; this._RH1 = this._Oy._x42; if (_u42) { this._R3 = this._Oy._y42 } else { this._w7(this._Oy._y42) } this._SA = this._Oy._z42; this._Q3 = this._Oy._A42; this._65 = this._Oy._B42; this._7b(); this._Gy = !0 } }; __32.prototype._Sy = function(_ND) { if (_ND && this._Wu1) { _ND._kD._k11(this._Wu1) } this._Wu1 = null; if (this._Oy._C42._Vu1) { this._D42(); this._Gy = !0 } }; __32.prototype._D42 = function() { if (!this._Oy._C42._Vu1) { return } if (!_MF(this._Ny)) { return } var _wG = _Ry._Gh(this._Ny); if (!_H8._kD) { return } var _PC = _OC(); var _E42 = this._Oy._C42; switch (_E42._F42) { case _G42: { var _H42 = _E42._I42[0]; var _J42 = _E42._I42[1]; var _PO = _E42._I42[2]; if (Math.abs(this._v7 - this._J7) < 0.0001) { _PO *= this._v7 } else { debug("Image scale for physics object using circle collision should not vary across axes: " + this._Oy._5W1); } _hD(_PC, _PO) } break; case _K42: case _L42: { _mD(_PC); if ((this._v7 * this._J7) < 0) { for (var _C9 = _E42._I42.length - 2; _C9 >= 0; _C9 -= 2) { _oD(_PC, _E42._I42[_C9 + 0] * this._v7, _E42._I42[_C9 + 1] * this._J7) } } else { for (var _C9 = 0; _C9 < _E42._I42.length; _C9 += 2) { _oD(_PC, _E42._I42[_C9 + 0] * this._v7, _E42._I42[_C9 + 1] * this._J7); } } } break } _cD(_PC, _E42._M42); _9D(_PC, _E42._N42); _6D(_PC, _E42._O42); _3D(_PC, _E42._P42); _VC(_PC, _E42._Q42); _YC(_PC, _E42._R42); if (_E42._S42 != undefined) { _0D(_PC, _E42._S42) } if (_E42._T42 != undefined) { _eD(_PC, _E42._T42) } if (_E42._U42 != undefined) { _RC(_PC, _E42._U42) } _BD(this, _PC, this.id) }; __32.prototype._V42 = function() { with(this) { if (this._H7 == 0) { if (this._G7 > 0) { this._sA = 270 } else if (this._G7 < 0) { this._sA = 90 } else { this._sA = 0 } } else { var _Cw = _W42(180 * (Math.atan2(this._G7, this._H7)) / _Y9); if (_Cw <= 0) { this._sA = -_Cw } else { this._sA = 360.0 - _Cw } } if (Math.abs(this._sA - _Xi(this._sA)) < 0.0001) { this._sA = _Xi(this._sA) } this._sA = _5V1(this._sA, 360.0); this._h3 = Math.sqrt(_do(this._H7) + _do(this._G7)); if (Math.abs(this._h3 - _Xi(this._h3)) < 0.0001) this._h3 = _Xi(this._h3) } }; __32.prototype._X42 = function() { this._H7 = this._h3 * _W42(Math.cos(this._sA * 0.0174532925)); this._G7 = -this._h3 * _W42(Math.sin(this._sA * 0.0174532925)); if (Math.abs(this._H7 - _Xi(this._H7)) < 0.0001) { this._H7 = _Xi(this._H7) } if (Math.abs(this._G7 - _Xi(this._G7)) < 0.0001) { this._G7 = _Xi(this._G7) } }; function _W42(_Y42) { return _Cw = (~~ (_Y42 * 1000000)) / 1000000.0 } __32.prototype._Z42 = function(_pA, _gv) { this._H7 += _gv * _W42(Math.cos(_pA * 0.0174532925)); this._G7 -= _gv * _W42(Math.sin(_pA * 0.0174532925)); this._V42() }; __32.prototype.__42 = function() { if (this._L_ != 0.0) { var _052; if (this._h3 > 0) { _052 = this._h3 - this._L_ } else { _052 = this._h3 + this._L_ } if ((this._h3 > 0) && (_052 < 0)) { this._p7(0) } else if ((this._h3 < 0) && (_052 > 0)) { this._p7(0) } else if (this._h3 != 0) { this._p7(_052) } } if (this._N01 != 0) { this._Z42(this._642, this._N01) } }; __32.prototype._152 = function() { var _252 = this._7b(); if (_252) { return _252._F8() } return _Ry._352(this._Ny) }; __32.prototype._g9 = function(_fr, _NF, _lt, _ut, _452) { if (_452 == undefined) { _452 = _lt._Oy } var _552 = _X32; var _652 = _Y32; var _752 = _Z32; var _8j = !1; var _852 = !1; if (_fr == _jv1) { var _952 = _ut._Oy; while (_952 != null && !_852) { var _li = _452; while (_li != null && !_852) { if (_li._st[_fr]) { if (_li._iW1[_952.__y]) { _X32 = _li; _Y32 = _fr; _Z32 = _952.__y; _8j = _li._g9(_fr, _952.__y, _lt, _ut); _852 = !0; break } } _li = _li._dq } _952 = _952._dq } var _li = _452; while (_li != null && !_852) { if (_li._iW1[_NF]) { _X32 = _li; _Y32 = _fr; _Z32 = _NF; _8j = _li._g9(_fr, _NF, _lt, _ut); _852 = !0 } _li = _li._dq } } else { var _li = _452; var _a52 = _fr | _NF; while (_li != null) { if (_li._st[_a52]) { _X32 = _li; _Y32 = _fr; _Z32 = _NF; _8j = _li._g9(_fr, _NF, _lt, _ut); break } _li = _li._dq } } _X32 = _552; _Y32 = _652; _Z32 = _752; return _8j }; __32.prototype._vt = function(_fr, _NF, _ut) { if (_X32 != null) { if (_X32._dq != null) { this._g9(_fr, _NF, this, _ut, _X32._dq) } } }; __32.prototype._E7 = function(_Dh) { if (this._H7 == _Dh) return; this._H7 = _Dh; this._V42() }; __32.prototype._F7 = function(_Dh) { if (this._G7 == _Dh) return; this._G7 = _Dh; this._V42() }; __32.prototype._o7 = function(_Dh) { while (_Dh < 0.0) { _Dh += 360.0 } while (_Dh > 360.0) { _Dh -= 360.0 } this._sA = _5V1(_Dh, 360.0); this._X42() }; __32.prototype._p7 = function(_Dh) { if (this._h3 == _Dh) return; this._h3 = _Dh; this._X42() }; __32.prototype._Hy = function() { var _wG, _V9; var _b52 = (this._RH1 >= 0) ? this._RH1: this._Ny; if (_b52 < 0 || _b52 > _Ry._Y2.length) { if (!this._Iy) { this._Iy = new _Iq(0, 0, 0, 0) } this._Iy.left = -100000; this._Iy.top = -100000; this._Iy._q9 = -100000; this._Iy.bottom = -100000; this._m42 = !1 } else { var _Iy = this._Iy; _wG = _Ry._Y2[_b52]; if (this._qv1 == 0) { var _c52 = _wG._Iy; _Iy.left = ((this._f3 + this._v7 * (_c52.left - _wG._23)) + 0.5) >> 0; _Iy._q9 = ((this._f3 + this._v7 * (_c52._q9 - _wG._23 + 1)) + 0.5) >> 0; if (_Iy.left > _Iy._q9) { _V9 = _Iy.left; _Iy.left = _Iy._q9; _Iy._q9 = _V9 } _Iy.top = ((this._g3 + this._J7 * (_c52.top - _wG._33)) + 0.5) >> 0; _Iy.bottom = ((this._g3 + this._J7 * (_c52.bottom - _wG._33 + 1)) + 0.5) >> 0; if (_Iy.top > _Iy.bottom) { _V9 = _Iy.top; _Iy.top = _Iy.bottom; _Iy.bottom = _V9 } _Iy._q9 -= 1; _Iy.bottom -= 1; this._m42 = _wG._d52() } else { var _c52 = _wG._Iy; var _e52, _f52; _e52 = this._v7 * (_c52.left - _wG._23); _f52 = this._v7 * (_c52._q9 - _wG._23 + 1); var _g52, _h52; _g52 = this._J7 * (_c52.top - _wG._33); _h52 = this._J7 * (_c52.bottom - _wG._33 + 1); var _ma, _la; _ma = Math.cos(this._qv1 * _Y9 / 180.0); _la = Math.sin(this._qv1 * _Y9 / 180.0); var _i52 = _ma * _f52; var _j52 = _ma * _e52; var _k52 = _la * _h52; var _l52 = _la * _g52; var _V9; if (_i52 < _j52) { _V9 = _j52; _j52 = _i52; _i52 = _V9 } if (_k52 < _l52) { _V9 = _l52; _l52 = _k52; _k52 = _V9 } _Iy.left = ((this._f3 + _j52 + _l52) + 0.5) >> 0; _Iy._q9 = ((this._f3 + _i52 + _k52) - 0.5) >> 0; var _m52 = _ma * _h52; var _n52 = _ma * _g52; var _o52 = _la * _f52; var _p52 = _la * _e52; if (_m52 < _n52) { _V9 = _n52; _n52 = _m52; _m52 = _V9 } if (_o52 < _p52) { _V9 = _p52; _p52 = _o52; _o52 = _V9 } _Iy.top = ((this._g3 + _n52 - _o52) + 0.5) >> 0; _Iy.bottom = ((this._g3 + _m52 - _p52) - 0.5) >> 0; this._m42 = _wG._d52() } this._Iy = _Iy } this._Gy = !1; }; __32.prototype._AI1 = function(_V8, _W8, _q52) { if (this._uy) return ! 1; var _252 = this._7b(); if (_252) { if (_252._l9(this._Iy, this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1)) { this._m42 = !0; this._Gy = !1 } } if (this._Gy) this._Hy(); var _Iy = this._Iy; if (_V8 >= _Iy._q9 + 1) return ! 1; if (_V8 < _Iy.left) return ! 1; if (_W8 >= _Iy.bottom + 1) return ! 1; if (_W8 < _Iy.top) return ! 1; if ((!_q52) || (!this._m42)) return ! 0; var _nv = !1; if (_252) { _nv = _252._9a(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _V8, _W8) } else { var _fG; if (this._RH1 < 0) { _fG = _Ry._Gh(this._Ny) } else { _fG = _Ry._Gh(this._RH1) } if ((_fG === null) || (_fG._P9 === 0)) return ! 1; _nv = _fG._r52(Math.floor(this._L7), _Iy, _Xi(this._f3), _Xi(this._g3), this._v7, this._J7, this._qv1, _Xi(_V8), _Xi(_W8)) } return _nv }; __32.prototype._s52 = function(_aa, _ba, _x9, _y9, _q52) { if (this._uy) return ! 1; var _252 = this._7b(); if (_252) { if (_252._l9(this._Iy, this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1)) { this._m42 = !0; this._Gy = !1 } } if (this._Gy) this._Hy(); var _Iy = this._Iy; if (_U9(_aa, _x9) >= _Iy._q9 + 1) return ! 1; if (_S9(_aa, _x9) < _Iy.left) return ! 1; if (_U9(_ba, _y9) >= _Iy.bottom + 1) return ! 1; if (_S9(_ba, _y9) < _Iy.top) return ! 1; if ((!_q52) || (!this._m42)) return ! 0; var _nv = !1; if (_252) { _nv = _252._da(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _aa, _ba, _x9, _y9) } else { var _fG; if (this._RH1 < 0) { _fG = _Ry._Gh(this._Ny) } else { _fG = _Ry._Gh(this._RH1) } if ((_fG === null) || (_fG._P9 == 0)) return ! 1; _W32.left = _Xi(_U9(_aa, _x9)); _W32.top = _Xi(_U9(_ba, _y9)); _W32._q9 = _Xi(_S9(_aa, _x9)); _W32.bottom = _Xi(_S9(_ba, _y9)); _nv = _fG._t52(Math.floor(this._L7), _Iy, _Xi(this._f3), _Xi(this._g3), this._v7, this._J7, this._qv1, _W32) } return _nv }; __32.prototype._u52 = function(_Zi, _v52) { var _w52 = this._7b(); var _x52 = _Zi._7b(); var _y52 = _Ry._Gh(this._Ny); if (_w52._l9(this._Iy, this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1)) { this._Gy = !1 } if (_x52) { if (_x52._l9(_Zi._Iy, _Zi._L7, _Zi._f3, _Zi._g3, _Zi._v7, _Zi._J7, _Zi._qv1)) { _Zi._Gy = !1; } } if (this._Gy) this._Hy(); if (_Zi._Gy) _Zi._Hy(); if (_Zi._Iy.left >= this._Iy._q9 + 1) return ! 1; if (_Zi._Iy._q9 + 1 <= this._Iy.left) return ! 1; if (_Zi._Iy.top >= this._Iy.bottom + 1) return ! 1; if (_Zi._Iy.bottom + 1 <= this._Iy.top) return ! 1; var _y52 = _Ry._Gh(this._Ny); var _z52 = (_Zi._RH1 < 0) ? _Ry._Gh(_Zi._Ny) : _Ry._Gh(_Zi._RH1); if (_z52 === null) return ! 1; if (!_v52 || (!this._m42 && !_Zi._m42)) return ! 0; if (_x52) { return _w52._u9(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _x52, _Zi._L7, _Zi._f3, _Zi._g3, _Zi._v7, _Zi._J7, _Zi._qv1) } else { return _w52._M9(this._L7, this._f3, this._g3, this._v7, this._J7, this._qv1, _z52, _Zi._Iy, _Zi._L7, _Zi._f3, _Zi._g3, _Zi._v7, _Zi._J7, _Zi._qv1) } }; __32.prototype._zy = function(_lt, _q52) { if (this != _lt && !this._uy && !_lt._uy) { if (this._7b()) { return this._u52(_lt, _q52) } if (_lt._7b()) { return _lt._u52(this, _q52) } if (this._Gy) this._Hy(); if (_lt._Gy) _lt._Hy(); var _A52 = _lt._Iy; var _B52 = this._Iy; if (_A52.left >= (_B52._q9 + 1)) return ! 1; if ((_A52._q9 + 1) <= _B52.left) return ! 1; if (_A52.top >= (_B52.bottom + 1)) return ! 1; if ((_A52.bottom + 1) <= _B52.top) return ! 1; if (!_q52 || (!this._m42 && !_lt._m42)) return ! 0; var _C52 = null; var _D52 = null; if (this._RH1 < 0) { _C52 = _Ry._Gh(this._Ny) } else { _C52 = _Ry._Gh(this._RH1) } if ((_C52 == null) || (_C52._P9 == 0)) return ! 1; if (_lt._RH1 < 0) { _D52 = _Ry._Gh(_lt._Ny) } else { _D52 = _Ry._Gh(_lt._RH1) } if ((_D52 == null) || (_D52._P9 == 0)) return ! 1; return _C52._E52(this._L7 | 0, this._Iy, _Xi(this._f3), _Xi(this._g3), this._v7, this._J7, this._qv1, _D52, _lt._L7 | 0, _lt._Iy, _Xi(_lt._f3), _Xi(_lt._g3), _lt._v7, _lt._J7, _lt._qv1) } return ! 1 }; __32.prototype._wj = function(_U8, _Ui, _ar1, _F52, _zC, _G52) { this._Uu1 = -1; if (_U8 < 0) return; var _FC = _GC._a3[_U8]; if (!_FC) return; if (_FC.length <= 0) return; if (_ar1 < 0) return; this._Uu1 = _U8; this._B7 = _Ui; if (this._B7 >= 0) { this._dI1 = 0 } else { this._dI1 = 1; } this._eI1 = this._dI1; this._e42 = _ar1; this._f42 = _F52; this._AC = _G52; if (_zC) { if (this._B7 >= 0) { this._te(_FC._H52(0), _FC._I52(0)) } else { this._te(_FC._H52(1), _FC._I52(1)) } } this._h42 = this._f3; this._i42 = this._g3 }; __32.prototype._Xu1 = function() { var _jr, _0a, _2a; if (this._Uu1 < 0) return ! 1; var _FC = _GC._a3[this._Uu1]; if (!_FC) return; if (_FC.length <= 0) return; var _J52 = !1; var _K52 = this._f42 * Math.PI / 180.0; var _L52 = _FC._JC(this._dI1); _0a = _L52._f3; _2a = _L52._g3; _jr = _L52._h3; _L52 = null; _jr = _jr / (100 * this._e42); this._dI1 = this._dI1 + this._B7 * _jr / _FC.length; var _M52 = _FC._JC(0); if ((this._dI1 >= 1) || (this._dI1 <= 0)) { _J52 = (this._B7 == 0) ? !1 : !0; switch (this._AC) { case 0: { if (this._B7 != 0) { this._dI1 = 1; this._Uu1 = -1 } break } case 1: { if (this._dI1 < 0) { this._dI1++ } else { this._dI1-- } break } case 2: { var _N52 = _FC._JC(1); _0a = _N52._f3 - _M52._f3; _2a = _N52._g3 - _M52._g3; var _O52 = this._e42 * (_0a * Math.cos(_K52) + _2a * Math.sin(_K52)); var _P52 = this._e42 * (_2a * Math.cos(_K52) - _0a * Math.sin(_K52)); if (this._dI1 < 0) { this._h42 = this._h42 - _O52; this._i42 = this._i42 - _P52; this._dI1++ } else { this._h42 = this._h42 + _O52; this._i42 = this._i42 + _P52; this._dI1-- } break } case 3: { if (this._dI1 < 0) { this._dI1 = -this._dI1; this._B7 = Math.abs(this._B7) } else { this._dI1 = 2 - this._dI1; this._B7 = -Math.abs(this._B7) } break } default: { this._dI1 = 1; this._Uu1 = -1 } } } _L52 = _FC._JC(this._dI1); _0a = _L52._f3 - _M52._f3; _2a = _L52._g3 - _M52._g3; var _lA = this._h42 + this._e42 * (_0a * Math.cos(_K52) + _2a * Math.sin(_K52)); var _mA = this._i42 + this._e42 * (_2a * Math.cos(_K52) - _0a * Math.sin(_K52)); this._E7(_lA - this._f3); this._F7(_mA - this._g3); this._p7(0); this._te(_lA, _mA); return _J52 }; __32.prototype._6j = function(_NF) { var _nv = -1; if ((_NF >= 0) && (_NF < _SI1)) { _nv = this._47[_NF] } return _nv }; __32.prototype._7j = function(_NF, _Dh) { if ((_NF >= 0) && (_NF < _SI1)) { this._47[_NF] = _Dh } }; __32.prototype._SH1 = function() { if (this._Gy) { this._Hy() } return this._Iy }; __32.prototype._Q52 = function(_R52, _Tv) { var _J3, _K3; if (!_MF(this._Ny)) { _J3 = _K3 = 0 } else { var _fG = _Ry._Gh(this._Ny); _J3 = _fG.width * this._v7; _K3 = _fG.height * this._J7 } if (_R52) { if ((this._H7 < 0) && (this._f3 < 0)) { this._te(this._f3 + _H8._DH1() + _J3, this._g3) } if ((this._H7 > 0) && (this._f3 >= _H8._DH1())) { this._te(this._f3 - _H8._DH1() - _J3, this._g3) } } if (_Tv) { if ((this._G7 < 0) && (this._g3 < 0)) { this._te(this._f3, this._g3 + _H8._DR() + _K3) } if ((this._G7 > 0) && (this._g3 >= _H8._DR())) { this._te(this._f3, this._g3 - _H8._DR() - _K3) } } }; __32.prototype._sv1 = function(_Z8, _S52) { var _T52 = {}; if ((_S52._f3 != 0.0) || (_S52._g3 != 0.0)) { var _aM = _Z8; var _U52 = Math.cos(_aM); var _V52 = Math.sin(_aM); _T52._f3 = ((_S52._f3 * _U52) - (_S52._g3 * _V52)); _T52._g3 = ((_S52._g3 * _U52) + (_S52._f3 * _V52)) } else { _T52._f3 = _S52._f3; _T52._g3 = _S52._g3 } return _T52 }; __32.prototype._0v1 = function(_W52) { var __u1 = 1.0 / _H8._kD._lD; var _rv1 = this._sv1(_W52._KN(), this._Wu1._Oq1); this._f3 = (_W52._JC()._f3 * __u1) + _rv1._f3; this._g3 = (_W52._JC()._g3 * __u1) + _rv1._g3; this._qv1 = ( - _W52._KN() * 180.0) / _Y9; this._Gy = !0; this._X52 = (_W52._KN() * 180.0) / Math.PI; this._Y52 = this._f3; this._Z52 = this._g3; this.__52 = (_W52._PZ() * 180.0) / Math.PI; this._062 = _W52._NZ()._f3 * __u1; this._162 = _W52._NZ()._g3 * __u1; this._262 = this._062 / _H8._I8(); this._362 = this._162 / _H8._I8(); this._462 = _W52._n_(); this._562 = _W52._ZZ(); this._662 = _W52.__Z(); this._762 = _W52._KZ()._f3 * __u1; this._862 = _W52._KZ()._g3 * __u1; this._962 = (_W52._hP === _Xp1._Ys1._6Z); this._a62 = (_W52._hP === _Xp1._Ys1._eZ); this._b62 = !_W52._q_(); this._c62 = _W52._u_(); this._d62 = _W52._s_(); this._e62 = Math.sqrt((this._262 * this._262) + (this._362 * this._362)); this._f62 = _W52._c_(); this._g62 = _W52._b_(); if (this._1v1 === undefined) { this._1v1 = _W52._JC()._f3 * __u1 } if (this._2v1 === undefined) { this._2v1 = _W52._JC()._g3 * __u1; } }; __32.prototype._7b = function() { if (_MF(this._Ny)) { var _wG = _Ry._Gh(this._Ny); if (_wG._o42) { if (!this._h62) { this._h62 = new _i8(_wG._o42) } } } return this._h62 }; function _vV1() { this._i62 = new _Th(); this._i62._Uh = !0; this._j62 = [] } _vV1.prototype._zg = function() { this._j62 = []; this._i62._zg() }; _vV1.prototype._RA = function() { return this._i62._3i }; _vV1.prototype._Wh = function(_Ay) { this._j62[_Ay.id] = _Ay; this._i62._Wh(_Ay) }; _vV1.prototype._9V1 = function(_Ch) { return this._j62[_Ch] }; _vV1.prototype._Gh = function(_Ch) { var _Ay = this._j62[_Ch]; if (_Ay != null) return _Ay; var _li = _Ys._Gh(_Ch); if (_li != null) { _Ay = _li._Zs._3i[0]; if (_Ay != null) return _Ay } return null }; _vV1.prototype._k62 = function(_lt) { this._i62._NY1(_lt); var id = _lt.id; this._j62[id] = null }; _vV1.prototype._l62 = function() { var _3i = _H8._Fy._3i; for (var index = 0; index < _3i.length; index++) { var _Ay = _3i[index]; _Ay._bI1 = _Ay._f3; _Ay._cI1 = _Ay._g3; _Ay._eI1 = _Ay._dI1 } }; _vV1.prototype._m62 = function() { var _3i = _H8._Fy._3i; for (var index = 0; index < _3i.length; index++) { var _Ay = _3i[index]; _Ay.__42(); if (_Ay._Xu1()) { _Ay._g9(_Yu1, 0, _Ay, _Ay) } _Ay._f3 += _Ay._H7; _Ay._g3 += _Ay._G7; _Ay._Gy = !0 } }; _vV1.prototype._n62 = function() { var _3i = _H8._Fy._3i; for (var index = 0; index < _3i.length; index++) { var _Ay = _3i[index]; _Ay._L7 += _Ay._b7; var _ju = _Ay._152(); if (_Ay._L7 >= _ju) { _Ay._L7 -= _ju; var _Oy = _Ay._Oy; if (_Oy._PH1[_dL1]) { _Ay._g9(_dL1, 0, _Ay, _Ay) } } } }; _vV1.prototype._g9 = function(_fr, _NF) { var _nY = !0; if (_H8) { var _a52 = _fr; if (_a52 != _jv1) _a52 |= _NF; var _3i = _H8._Fy._3i; for (var index = 0; index < _3i.length; index++) { var _Ay = _3i[index]; if (!_Ay._uy) { var _Oy = _Ay._Oy; if (_Oy._PH1[_a52]) { _nY = _Ay._g9(_fr, _NF, _Ay, _Ay) } } } } return _nY }; var _x7; function _OU1(_Ch) { var _Ay = _dy._Gh(_Ch); if (!_Ay) { _Ay = _Ys._Gh(_Ch); if (_Ay) _Ay = _Ay._yI1._Gh(0) } return _Ay } function _PU1(_Ch) { var _Ay = _dy._Gh(_Ch); if (!_Ay) { _Ay = _Ys._Gh(_Ch); if (!_Ay) { _Zp("Unknown instance ID: " + _Ch); debug(_0q()); return _sT1 } _Ay = _Ay._yI1._Gh(0); _Zp("Warning: Object ID being used to access instance" + _Ch); debug(_0q()) } return _Ay } var _o62 = 256; var _p62 = 3; var _q62 = 1024; var __J = 1; var _7K = 2; var _r62 = 4; var _lh = 1; var _jh = 2; var _kh = 0x80000000; var _s62 = 128; var _t62 = 0, _eh = 0, _fh = 0, _gh = 0, _u62 = -1, _v62 = 0, _w62 = 0, _x62 = 0, _y62 = 0, _3z = 0, _tL = !1, _GI1 = 0, _HI1 = 0, _z62 = 0; var _1z = []; var _2z = []; var _5z = []; var _2K = []; var _iL = []; var _hh = []; var _A62 = 0; var _1h = []; var _B62 = { 8 : String.fromCharCode(8), 9 : 0, 13 : 0, 16 : 0, 17 : 0, 18 : 0, 19 : 0, 20 : 0, 27 : 0, 22 : 0, 32 : " ", 34 : 0, 35 : 0, 36 : 0, 37 : 0, 38 : 0, 39 : 0, 40 : 0, 45 : 0, 46 : 0, 47 : 0, 48 : "0", 49 : "1", 50 : "2", 51 : "3", 52 : "4", 53 : "5", 54 : "6", 55 : "7", 56 : "8", 57 : "9", 58 : "0", 59 : ";", 65 : "a", 66 : "b", 67 : "c", 68 : "d", 69 : "e", 70 : "f", 71 : "g", 72 : "h", 73 : "i", 74 : "j", 75 : "k", 76 : "l", 77 : "m", 78 : "n", 79 : "o", 80 : "p", 81 : "q", 82 : "r", 83 : "s", 84 : "t", 85 : "u", 86 : "v", 87 : "w", 88 : "x", 89 : "y", 90 : "z", 91 : 0, 92 : 0, 93 : 0, 96 : "0", 97 : "1", 98 : "2", 99 : "3", 100 : "4", 101 : "5", 102 : "6", 103 : "7", 104 : "8", 105 : "9", 106 : "*", 107 : "+", 109 : "-", 110 : ".", 111 : "/", 112 : 0, 113 : 0, 114 : 0, 115 : 0, 116 : 0, 117 : 0, 118 : 0, 119 : 0, 120 : 0, 121 : 0, 122 : 0, 123 : 0, 144 : 0, 145 : 0, 186 : ";", 187 : "=", 188 : ",", 189 : "-", 190 : ".", 191 : "/", 192 : "'", 219 : "[", 220 : "\\", 221 : "]", 222 : "#", 223 : "`" }; var _C62 = { 8 : String.fromCharCode(8), 9 : 0, 13 : 0, 16 : 0, 17 : 0, 18 : 0, 19 : 0, 20 : 0, 27 : 0, 22 : 0, 32 : " ", 34 : 0, 35 : 0, 36 : 0, 37 : 0, 38 : 0, 39 : 0, 40 : 0, 45 : 0, 46 : 0, 47 : 0, 48 : ")", 49 : "!", 50 : "\"", 51 : "£", 52 : "$", 53 : "%", 54 : "^", 55 : "&", 56 : "*", 57 : "(", 58 : ")", 59 : ":", 65 : "A", 66 : "B", 67 : "C", 68 : "D", 69 : "E", 70 : "F", 71 : "G", 72 : "H", 73 : "I", 74 : "J", 75 : "K", 76 : "L", 77 : "M", 78 : "N", 79 : "O", 80 : "P", 81 : "Q", 82 : "R", 83 : "S", 84 : "T", 85 : "U", 86 : "V", 87 : "W", 88 : "X", 89 : "Y", 90 : "Z", 91 : 0, 92 : 0, 93 : 0, 96 : "0", 97 : "1", 98 : "2", 99 : "3", 100 : "4", 101 : "5", 102 : "6", 103 : "7", 104 : "8", 105 : "9", 106 : "*", 107 : "+", 109 : "-", 110 : ".", 111 : "/", 112 : 0, 113 : 0, 114 : 0, 115 : 0, 116 : 0, 117 : 0, 118 : 0, 119 : 0, 120 : 0, 121 : 0, 122 : 0, 123 : 0, 144 : 0, 145 : 0, 186 : ":", 187 : "+", 188 : "<", 189 : "_", 190 : ">", 191 : "?", 192 : "@", 219 : "{", 220 : "|", 221 : "}", 222 : "~", 223 : "¬" }; function _2G1() { _tL = !0 } function _D62() { _tL = !1; _E62() } function _F62(_G62, _H62) { try { if (_G62) { if (_G62._U2) { if (_G62._U2._A5) { if (_G62._U2._A5._D5) { if (_G62._U2._A5._D5 == _U2._A5._D5) { _G62.focus(); _H62.focus(); return ! 0 } } } } } } catch(err) {} return ! 1 } function _I62() { var _9I = document.getElementById(_cq); var _J62; if ((_yz == _yK1) || (_yz == _xK1) || (_yz == _zK1) || (_yz == _AK1)) { _J62 = parent.frames; for (var _K62 = 0; _K62 < _J62.length; _K62++) { var _L62 = _J62[_K62]; if (_F62(_L62, _9I)) break } } else { _J62 = parent.document.getElementsByTagName("IFRAME"); for (var _K62 in _J62) { var _L62 = _J62[_K62].contentWindow; if (_F62(_L62, _9I)) break } } } var _M62; var _N62; var _O62; var _P62; var _Q62; var _R62; var _S62; var _T62; var _U62; var _V62; var _W62; function _X62() { var _IG = document.getElementById("gm4html5_div_id"); if (_IG) { _N62 = _IG.style.left; _O62 = _IG.style.top; _P62 = _IG.style.margin; var top = window.parent; if (top != null) { if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) { var _Y62 = top.chrome.app.window.current(); if (_Y62 != null) { var _Z62 = window.parent.document.getElementById("container"); var __62 = window.parent.document.getElementById("game"); if (_Z62 != null) { _Q62 = _Z62.style.width; _R62 = _Z62.style.height; _U62 = _Z62.style.left; _S62 = _Z62.style.margin; _T62 = _Z62.style.position; } if (__62 != null) { _V62 = __62.style.width; _W62 = __62.style.height } _Y62.fullscreen(); var _072 = _Y62.getBounds(); if (_Z62 != null) { _Z62.style.width = "100%"; _Z62.style.height = "100%"; _Z62.style.left = "0"; _Z62.style.margin = 'auto'; _Z62.style.position = 'relative' } if (__62 != null) { __62.style.width = "100%"; __62.style.height = "100%"; canvas.style.width = "100%"; canvas.style.height = "100%" } } } } _IG.style.margin = "0px"; _IG.style.top = "0"; _IG.style.left = "0"; _IG.style._172 = "0px"; _IG.style._272 = "0px"; if (_IG.mozRequestFullScreen) { _IG.mozRequestFullScreen(); } else if (_IG.webkitRequestFullScreen) { _IG.onwebkitfullscreenchange = function(e) { _IG.onwebkitfullscreenchange = _372 }; if (_yz == _zK1) { _IG.webkitRequestFullScreen() } else { _IG.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT) } } else if (document.documentElement.requestFullScreen) { document.documentElement.requestFullScreen() } _HT1 = !0; return } if (canvas.mozRequestFullScreen) { canvas.style.margin = "0px"; canvas.style.top = ""; canvas.style.left = ""; canvas.style._172 = "0px"; canvas.style._272 = "0px"; canvas.mozRequestFullScreen(); } else if (canvas.webkitRequestFullScreen) { canvas.style.margin = "0px"; canvas.style.top = ""; canvas.style.left = ""; canvas.style._172 = "0px"; canvas.style._272 = "0px"; canvas.onwebkitfullscreenchange = function(e) { canvas.onwebkitfullscreenchange = _372 }; if (_yz == _zK1) { canvas.webkitRequestFullScreen() } else { canvas.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT) } } else if (document.documentElement.requestFullScreen) { canvas.style.margin = "0px"; canvas.style.top = ""; canvas.style.left = ""; canvas.style._172 = "0px"; canvas.style._272 = "0px"; document.documentElement.requestFullScreen() } _HT1 = !0 } function _372() { if (_AT1) { var _IG = document.getElementById("gm4html5_div_id"); if (_IG) { _IG.style.left = _N62; _IG.style.top = _O62; _IG.style.margin = _P62 } var top = window.parent; if (top != null) { if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) { var _Y62 = top.chrome.app.window.current(); if (_Y62 != null) _Y62.restore() } } _HT1 = !0 } } function _472() { var top = window.parent; if (top != null) { if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) { var _Y62 = top.chrome.app.window.current(); if (_Y62 != null) { _Y62.restore(); _HT1 = !0; var _Z62 = window.parent.document.getElementById("container"); if (_Z62 != null) { _Z62.style.width = _Q62; _Z62.style.height = _R62; _Z62.style.left = _U62; _Z62.style.margin = _S62; _Z62.style.position = _T62 } var __62 = window.parent.document.getElementById("game"); if (__62 != null) { __62.style.width = _V62; __62.style.height = _W62; canvas.style.width = _V62; canvas.style.height = _W62 } } } } if (document.webkitCancelFullScreen) { document.webkitCancelFullScreen(); } else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); _372() } else { _HT1 = !0 } } function _sq() { if (_FT1) return; window.onkeyup = function() { _572(arguments[0] || window.event) }; window.onkeydown = function() { var _YJ1 = arguments[0] || window.event; if ((_BT1) && (_YJ1 != null) && (_YJ1.which == 121) && (!_YJ1.repeat) && (canvas.mozRequestFullScreen)) { if (!document.mozFullScreen) { _672(); _X62() } else { _772() } _YJ1.preventDefault(); return } _872(arguments[0] || window.event) }; _FT1 = !0 } function _gq() { if (_FT1 == !1) return; window.onkeydown = null; window.onkeyup = null; _FT1 = !1 } function _972(_a72) { if (_a72 == 121) { return ! 0 } if (window.chrome && window.chrome.app) { if (_a72 == 183) return ! 0 } return ! 1 } function _872(_YJ1) { var _a72; if (_YJ1 == null) { _a72 = window.event.which; if (_a72 == 122) return; if (_a72 != 121) window.event.preventDefault(); else _HT1 = !0; window.event.preventDefault() } else { if (_YJ1.repeat) return; _a72 = _YJ1.which; if (_a72 == 122) return; if (_a72 == 120) {} else if (!_972(_a72)) { _YJ1.preventDefault() } else { if (_BT1) { if (!_AT1) { _672(); _X62(); } else { _472() } } } _YJ1.preventDefault() } if (_1z[_a72]) return; _1z[_a72] = 1; _2z[_a72] = 1; _3z = _a72; if (_yz == _zz) { _y62 = _YJ1.char } else { if (_YJ1.shiftKey) { _y62 = _C62[_a72] } else { _y62 = _B62[_a72] } } if (!_y62) _y62 = "" } function _572(_YJ1) { var _a72; if (_YJ1 == null) { _a72 = window.event.which; if (_a72 == 122) return; window.event.preventDefault() } else { _a72 = _YJ1.which; if (_a72 == 122) return; _YJ1.preventDefault() } _5z[_a72] = 1; _1z[_a72] = 0; return ! 1 } function _ep1(_fp1) { _eh = _fp1.pageX; _fh = _fp1.pageY; _hh[_fp1.button]._f3 = _eh; _hh[_fp1.button]._g3 = _fh } function _b72(_fp1) { if (!_tL) { _I62() } _t62 = _fp1.button; if (_t62 == 2) _t62 = 1; else if (_t62 == 1) _t62 = 2; _w62 = _u62; _u62 = _t62; _gh |= (1 << _t62); _hh[_fp1.button]._ih = _jh | _kh | _lh; _hh[_fp1.button]._f3 = _fp1.pageX; _hh[_fp1.button]._g3 = _fp1.pageY; return _fp1 } function _c72(_fp1) { _t62 = _fp1.button; if (_t62 == 2) _t62 = 1; else if (_t62 == 1) _t62 = 2; _x62 = _v62; _v62 = _t62; _gh &= ~ (1 << _t62); _u62 = -1; _hh[_fp1.button]._ih = 0; return ! 1 } function _d72(_fp1) { if (_fp1.detail) { _z62 = -_fp1.detail } else { _z62 = _fp1.wheelDelta } } function _e72() { _dy._g9(_9L1, 0); return undefined } function _tV1() { this._f72 = "a"; this._g72 = []; this._h72 = this._i72 = -1; this._j72 = []; this._k72 = []; this._l72 = []; this._m72 = this._n72 = 0; this._nf = []; this._mf = []; this._if = []; this._o72 = this._p72 = !1; this._q72 = []; this._r72 = this._s72 = this._t72 = this._u72 = this._gI1 = this._hI1 = this._F8 = 0; for (var _R9 = 0; _R9 < _q62; _R9++) { this._g72[_R9] = "" } for (var _R9 = 0; _R9 < _o62; _R9++) { this._j72[_R9] = this._k72[_R9] = this._l72[_R9] = !1; this._q72[_R9] = _R9 } for (var _R9 = 0; _R9 < _p62; _R9++) { this._nf[_R9] = this._mf[_R9] = this._if[_R9] = !1 } this._Ag = _v72; this._w72 = _x72; this._y72 = _y72; this._z72 = _z72; this._A72 = _A72; this._B72 = _B72; this._C72 = _C72; this._D72 = _D72; this._E72 = _E72; this._F72 = _F72; this._G72 = _G72; this._H72 = _H72; this._I72 = _I72; this._J72 = _J72; this._K72 = _K72; this._L72 = _L72; this._M72 = _M72; this._N72 = _N72; this._O72 = _O72; this._P72 = _P72; this._Q72 = _Q72; this._R72 = _S72; this._T72 = _U72; this._V72 = _W72; this._X72 = _X72; for (var _R9 = 0; _R9 < _o62; _R9++) { _1z[_R9] = _5z[_R9] = !1 } canvas.onmousemove = _ep1; canvas.onmousedown = _b72; canvas.onmouseup = _c72; canvas.onmousewheel = _d72; canvas.onselectstart = function() { return ! 1 }; canvas.addEventListener("DOMMouseScroll", _d72, !1); var _R9 = document.getElementById("loading_screen"); if (_R9) { _R9.onmousemove = _ep1; _R9.onmousedown = _b72; _R9.onmouseup = _c72; _R9.onmousewheel = _d72; _R9.addEventListener("DOMMouseScroll", _d72, !1) } document.body.onfocusin = _2G1; document.body.onfocusout = _D62; document.onfocusin = _2G1; document.onfocusout = _D62; window.onfocus = _2G1; window.onblur = _D62; if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined") _sq(); if (!_U32) { window._Y72 = _e72 } _iL = new Array(_s62); _hh = new Array(_s62); for (var _Z72 = 0; _Z72 < _s62; _Z72++) { _iL[_Z72] = new __72(); _hh[_Z72] = new __72() } } function __72() { this._ih = 0; this._f3 = 0; this._g3 = 0 } function _E62() { _082(); _182(); _w6._m02 = 0; _w6._m02 = ""; _3z = 0; _y62 = "" } _tV1.prototype._zg = function() { this._282(); this._Q72(); _w6._m02 = 0; _w6._n02 = 0; _w6._m02 = ""; _3z = 0; _y62 = ""; _w6._o02 = ""; _w6._p02 = "" }; function _y72() { return this._f72 } function _z72(_382) { this._f72 = _yL } function _A72() { return this._i72 } function _B72() { return this._h72 } function _C72(_ii) { if (_ii < 0 || _ii > 255) return ! 1; this._i72 = _ii } function _D72(_ii) { if (_ii < 0 || _ii > 255) return ! 1; this._h72 = _ii } function _E72(_ii) { if (_ii < 0 || _ii > 255) return ! 1; return this._j72[_ii] } function _F72(_ii) { if (_ii < 0 || _ii > 255) return ! 1; return this._l72[_ii] } function _G72(_ii) { if (_ii < 0 || _ii > 255) return ! 1; return this._k72[_ii] } function _H72(_ii) { if (_ii < 0 || _ii > 255) return; this._j72[_ii] = 0; this._l72[_ii] = 0; this._k72[_ii] = 0 } _tV1.prototype._282 = function() { this._i72 = 0; this._h72 = 0; this._f72 = 0; for (var _H3 = 0; _H3 <= _o62; _H3++) { this._j72[_H3] = 0; this._l72[_H3] = 0; this._k72[_H3] = 0 } }; function _082() { for (var _H3 = 0; _H3 < _o62; _H3++) { _2z[_H3] = 0; _5z[_H3] = 0; _1z[_H3] = 0 } } function _I72() { return this._m72 } function _J72() { return this._n72 } function _K72(_9L) { if ((_9L < 1) || (_9L > 3)) return; this._m72 = _9L } function _L72(_9L) { if ((_9L < 1) || (_9L > 3)) return; this._n72 = _9L } function _M72(_9L) { _9L--; if (_9L >= 0 && _9L < _p62) { return this._nf[_9L] } return ! 1 } function _N72(_9L) { _9L--; if (_9L >= 0 && _9L < _p62) { return this._if[_9L] } } function _O72(_9L) { _9L--; if (_9L >= 0 && _9L < _p62) { return this._mf[_9L] } return ! 1 } function _P72(_9L) { _9L--; if (_9L >= 0 && _9L < _p62) { this._nf[_9L] = !1; this._if[_9L] = !1; this._mf[_9L] = !1 } } function _Q72() { this._m72 = 0; this._n72 = 0; for (var _H3 = 0; _H3 <= _p62; _H3++) { this._nf[_H3] = !1; this._if[_H3] = !1; this._mf[_H3] = !1 } this._p72 = !1; this._o72 = !1; for (var _7h = 0; _7h < _1h.length; _7h++) { _1h[_7h]._zg() } } function _182() { _x62 = -1; _v62 = -1; _u62 = -1; _gh = 0; _hh[0]._ih = 0; _hh[0]._f3 = 0; _hh[0]._g3 = 0; _t62 = -1 } function _v72() { for (var _7h = 0; _7h < _1h.length; _7h++) { var _8h = _1h[_7h]; if (_8h._nf) { _8h._mf = 0; _8h._if = _8h._Hg ^ _8h._nf } else { _8h._mf = _8h._Hg ^ _8h._nf; _8h._if = 0 } _8h._Hg = _8h._nf } for (var _Z72 = 0; _Z72 < _hh.length; _Z72++) { _iL[_Z72]._ih = _hh[_Z72]._ih; _iL[_Z72]._f3 = _hh[_Z72]._f3; _iL[_Z72]._g3 = _hh[_Z72]._g3; _hh[_Z72]._ih &= ~_lh } if (_w6._m02 != 0) { _w6._n02 = _w6._m02 } _w6._m02 = _3z; if (_3z) { if (_y62) { if (_3z == 13) {} else if (_3z == 8) { _w6._o02 = _y62; if (_w6._p02.length > 0) { _w6._p02 = _w6._p02.substring(0, _w6._p02.length - 1) } } else { _w6._o02 = _y62; _w6._p02 += _w6._o02; if (_w6._p02.length > 1024) { _w6._p02 = _w6._p02.substring(1, _w6._p02.length - 1) } } } _3z = 0 } this._gI1 = _eh; this._hI1 = _fh; this._s72 = _gh; if ((this._s72 & 1) != 0) { this._nf[0] = 1; if ((this._t72 ^ this._s72) != 0) { this._if[0] = 1 } } else { this._nf[0] = 0; if ((this._s72 ^ this._t72) == 1) { this._mf[0] = 1 } } if ((this._s72 & 2) != 0) { this._nf[1] = 1; if ((this._t72 ^ this._s72) != 0) { this._if[1] = 1 } } else { this._nf[1] = 0; if ((this._s72 ^ this._t72) == 2) { this._mf[1] = 1 } } if ((this._s72 & 4) != 0) { this._nf[2] = 1; if ((this._t72 ^ this._s72) != 0) { this._if[2] = 1 } } else { this._nf[2] = 0; if ((this._s72 ^ this._t72) == 4) { this._mf[2] = 1 } } this._t72 = this._s72; _w6._h7 = this._gI1; _w6._lL = this._hI1; _w6._k02 = _u62 + 1; _w6._l02 = _w62; this._X72() } function _X72() { var _482 = 0; var _ie = 0; var _J3 = _9U1; var _K3 = _aU1; var _ia = _oI(); var _qG = _pI(); if (_J3 < 0) _J3 = _ia; if (_K3 < 0) _K3 = _qG; for (var _Z72 = 0; _Z72 < _iL.length; _Z72++) { var _582 = _iL[_Z72]; if ((_582._ih & _kh) != 0) { _ie = 1; for (var _682 = 0; _682 < _2K.length; _682++) { var _XJ = _2K[_682]; if ((_XJ._ZJ & __J) != 0) { var _f3 = (_J3 * (_582._f3 - _Pg.left)) / _ia; var _g3 = (_K3 * (_582._g3 - _Pg.top)) / _qG; if ((_f3 >= _XJ._f3) && (_f3 < _XJ._I9) && (_g3 >= _XJ._g3) && (_g3 < _XJ._J9)) { _482 |= _ie } } _ie <<= 1 } _582._ih = 0 } } _ie = 1; var _782 = _A62 ^ _482; for (var _682 = 0; _682 < _2K.length; _682++) { var _XJ = _2K[_682]; if ((_XJ._ZJ & __J) != 0) { var _882 = _482 & _ie; var _Wp = _782 & _ie; if (_XJ._pz != 0) { this._l72[_XJ._pz] |= (_882 && _Wp); this._j72[_XJ._pz] |= (_882 && !_Wp); this._k72[_XJ._pz] |= (!_882 && _Wp) } else { this._if[_XJ.button - 1] |= (_882 && _Wp); this._nf[_XJ.button - 1] |= (_882 && !_Wp); this._mf[_XJ.button - 1] |= (!_882 && _Wp) } } _ie <<= 1 } _A62 = _482 } function _R72(_982) { var _YJ1 = __K1 | _982; var _3i = _H8._Fy._3i; var _a82 = _3i.length; for (var _4s = 0; _4s < _a82; _4s++) { var _Ay = _3i[_4s]; var _li = _Ay._Oy; if (_li._PH1[_YJ1]) { _Ay._g9(__K1, _982, _Ay, _Ay) } } } function _b82(_c82) { var _YJ1 = _2L1 | _c82; var _3i = _H8._Fy._3i; var _a82 = _3i.length; for (var _4s = 0; _4s < _a82; _4s++) { var _Ay = _3i[_4s]; if (_Ay._uy) { continue } var _li = _Ay._Oy; if (_li._PH1[_YJ1]) { _Ay._g9(_2L1, _c82, _Ay, _Ay) } } } function _V72(_d82) { var _YJ1 = _3L1 | _d82; var _3i = _H8._Fy._3i; var _a82 = _3i.length; for (var _4s = 0; _4s < _a82; _4s++) { var _Ay = _3i[_4s]; var _li = _Ay._Oy; if (_li._PH1[_YJ1]) { _Ay._g9(_3L1, _d82, _Ay, _Ay) } } } function _S72() { var _e82 = 0; for (var _H3 = 2; _H3 < _o62; _H3++) { if (this._j72[_H3]) { _e82 = 1; _R72(_H3) } } _R72(_e82) } function _U72() { var _f82 = 0; for (var _H3 = 2; _H3 < _o62; _H3++) { if (this._l72[_H3]) { _f82 = 1; _b82(_H3) } } _b82(_f82) } function _W72() { var _g82 = 0; for (var _H3 = 2; _H3 < _o62; _H3++) { if (this._k72[_H3]) { _g82 = 1; _V72(_H3) } } _V72(_g82) } function _x72() { var _h82 = 0, _i82 = 0, _j82 = 0; this._F8++; for (var _H3 = 0; _H3 < _o62; _H3++) { this._l72[_H3] = this._k72[_H3] = this._j72[_H3] = 0 } for (var _H3 = 0; _H3 < _o62; _H3++) { var _pz = this._q72[_H3]; this._l72[_pz] |= _2z[_H3]; this._k72[_pz] |= _5z[_H3]; this._j72[_pz] |= _1z[_H3]; _h82 |= _2z[_H3]; _i82 |= _1z[_H3]; _j82 |= _5z[_H3]; _2z[_H3] = 0; _5z[_H3] = 0 } this._l72[1] = _h82; this._j72[1] = _i82; this._k72[1] = _j82; this._l72[0] = _h82 ^ 1; this._j72[0] = _i82 ^ 1; this._k72[0] = _j82 ^ 1; _GI1 = _HI1 = 0; if (_z62 > 0) { _GI1 = 1 } else if (_z62 < 0) { _HI1 = 1 } _z62 = 0; for (var _H3 = 0; _H3 <= _p62; _H3++) { this._if[_H3] = !1; this._mf[_H3] = !1 } this._p72 = !1; this._o72 = !1; this._Ag(); var _Jg; if (!_H8._Kg) { _Jg = _Lg } else { _Jg = _H8._Mg } for (var _xb = 0; _xb <= 7; ++_xb) { _Ng = _Jg[_xb]; if (_Ng && _Ng._Q3) { _w6._h7 = _Ng._Ug(_dh._gI1); _w6._lL = _Ng._Vg(_dh._hI1); break } } for (var _xb = 7; _xb >= 0; _xb--) { _Ng = _Jg[_xb]; if (_Ng && _Ng._Q3) { _Og(canvas, _Pg); if (((this._gI1 - _Pg.left) >= _Ng._Qg) && ((this._gI1 - _Pg.left) < _Ng._Rg) && ((this._hI1 - _Pg.top) >= _Ng._Sg) && ((this._hI1 - _Pg.top) < _Ng._Tg)) { _w6._h7 = _Ng._Ug(_dh._gI1); _w6._lL = _Ng._Vg(_dh._hI1); break } } } } function _k82() { _dh._R72(); _dh._T72(); _dh._V72() } function _l82(index) { this._ZJ = 0; this.index = index; this._f3 = 0; this._g3 = 0; this._I9 = 0; this._J9 = 0; this._J3 = 0; this._K3 = 0; this._vb = 0; this._xb = 0; this._pz = 0; this.button = 0 } function _YJ() { for (var _R9 = 0; _R9 < _2K.length; ++_R9) { if (_2K[_R9]._ZJ == 0) { return _2K[_R9] } } var _H3 = _2K.length; _2K[_H3] = new _l82(_H3); return _2K[_H3] } function _3K(_m82) { _2K[_m82]._ZJ = 0 } function _n82() { for (var _R9 = 0; _R9 < _2K.length; ++_R9) { _2K[_R9]._ZJ = 0 } } _tV1.prototype._o82 = function() { _wq(); _h22(); var _Mu = []; _Mu[0] = 1; _Mu[1] = 0; _Mu[2] = 0; _Mu[3] = 1; _Mu[4] = 0; _Mu[5] = 0; _o12(_Mu); var _ns = _rv(); var _p82 = _sv(); _Y6(0xffffff); for (var _R9 = 0; _R9 < _5K.length; ++_R9) { var _6K = _5K[_R9]; _Iv(_6K._f3, _6K._g3, _6K._f3 + _6K._J3 - 1, _6K._g3 + _6K._K3 - 1, !0) } _Y6(_p82); _pv(_ns); _j22() }; function _Th() { this._q82 = []; this._3i = []; this._Uh = !1; this.length = 0; this._Ea = 0 } _Th.prototype.__U1 = function() { if (this._q82.length == 0) { return this._3i.length } return this._q82.pop(); }; _Th.prototype._Wh = function(_LY1) { var index; if (this._Uh) { index = this._3i.length } else { index = this.__U1() } this._3i[index] = _LY1; this._Ea++; this.length = this._3i.length; return index }; _Th.prototype._Gh = function(_dA) { if (_dA < 0 || _dA >= this._3i.length) return null; return this._3i[_dA] }; _Th.prototype._MY1 = function(_rF1) { for (var _R9 = 0; _R9 < this._3i.length; _R9++) { if (this._3i[_R9] == _rF1) return _R9 } }; _Th.prototype._NY1 = function(_rF1) { for (var _R9 = 0; _R9 < this._3i.length; _R9++) { if (this._3i[_R9] == _rF1) { if (this._Uh) { this._3i.splice(_R9, 1) } else { this._3i[_R9] = null; this._q82.push(_R9) } this._Ea--; this.length = this._3i.length; return ! 0 } } return ! 1 }; _Th.prototype._di = function(_dA) { if (_dA < 0 || _dA >= this._3i.length) return ! 1; if (this._Uh) { this._3i.splice(_dA, 1) } else { this._3i[_dA] = null; this._q82.push(_dA) } this._Ea--; this.length = this._3i.length; return ! 0 }; _Th.prototype._zg = function() { this._3i = []; this._q82 = []; this._Ea = 0; this.length = this._3i.length }; _Th.prototype._gi = function(_NF, _Dh) { if (_NF < 0 || _NF >= this._3i.length) return; this._3i[_NF] = _Dh }; _Th.prototype._r82 = function(_s82) { if (_s82) { this._3i.sort(function(_kb, _W9) { return _kb - _W9; }) } else { this._3i.sort(function(_kb, _W9) { return _W9 - _kb }) } this._q82 = []; for (var _H3 = 0; _H3 < this._3i.length; _H3++) { if (this._3i[_H3] == null || this._3i[_H3] == undefined) { this._q82.push(_H3) } } }; _Th.prototype._yh = function(_zh) { this._3i = _zh._3i.slice(); this._q82 = _zh._q82.slice(); this._Uh = _zh._Uh; this.length = _zh.length; this._Ea = _zh._Ea }; var _G42 = 0, _K42 = 1, _L42 = 2; function _t82() { this._u82 = null; this._v82 = 0; this._w82 = null } function _x82() { this._u82 = null; this._y82 = !1; this.__Y1 = null } function _z82() { this._Vu1 = !1 } function _ov1(_A82, _J8) { this.__type = "[Object]"; this._ih = 0; this.__y = _A82; this._5W1 = _J8; this._x42 = -1; this._Py = 0; this._y42 = 0; this._z42 = !1; this._A42 = !1; this._B42 = !1; this._Yy = 0; this._dq = null; this._B82 = -1; this._gW1 = !1; this._yI1 = new _Th(); this._Zs = new _Th(); this._yI1._Uh = !0; this._Zs._Uh = !0; this._C82 = []; for (var _kb = 0; _kb < _SI1; _kb++) { this._C82[_kb] = null } this._D82 = []; this._E82 = []; this._F82 = []; this._iW1 = []; this._N3 = []; this._st = []; this._PH1 = []; this._C42 = new _z82() } _ov1.prototype._RA = function() { return this._yI1._3i }; _ov1.prototype._AD = function() { return this._Zs._3i }; function _vW1(_G82, _H82) { var _li = new _ov1(_G82, _H82._Z2); with(_li) { if (_H82._P3 != undefined) _Py = _H82._P3; if (_H82._Q3 != undefined) _A42 = _H82._Q3; if (_H82._SA != undefined) _z42 = _H82._SA; if (_H82._R3 != undefined) _y42 = _H82._R3; if (_H82._65 != undefined) _B42 = _H82._65; if (_H82.parent != undefined) _Yy = _H82.parent; if (_H82._I82 != undefined) _x42 = _H82._I82; if (_H82._S3) { _li._S3 = _H82._S3; _li._st[_0j] = !0 } if (_H82._J82) { _li._J82 = _H82._J82; _li._st[_By] = !0 } if (_H82._K82) { _li._K82 = _H82._K82; _li._st[_6L1] = !0 } if (_H82._94) { _li._94 = _H82._94; _li._st[_5L1] = !0 } if (_H82._L82) { _li._L82 = _H82._L82; _li._st[_7L1] = !0 } if (_H82._34) { _li._34 = _H82._34; _li._st[_1L1] = !0 } if (_H82._M82) { _li._M82 = _H82._M82; _li._st[_OL1] = !0 } if (_H82._N82) { _li._N82 = _H82._N82; _li._st[_QL1] = !0 } if (_H82._O82) { _li._O82 = _H82._O82; _li._st[_RL1] = !0 } if (_H82._P82) { _li._P82 = _H82._P82; _li._st[_SL1] = !0 } if (_H82._Q82) { _li._Q82 = _H82._Q82; _li._st[_TL1] = !0 } if (_H82._R82) { _li._R82 = _H82._R82; _li._st[_UL1] = !0 } if (_H82._S82) { _li._S82 = _H82._S82; _li._st[_VL1] = !0 } if (_H82._T82) { _li._T82 = _H82._T82; _li._st[_PL1] = !0 } if (_H82._U82) { _li._U82 = _H82._U82; _li._st[_tI1] = !0 } if (_H82._V82) { _li._V82 = _H82._V82; _li._st[_kI1] = !0 } if (_H82._W82) { _li._W82 = _H82._W82; _li._st[_mI1] = !0 } if (_H82._X82) { _li._X82 = _H82._X82; _li._st[_lI1] = !0 } if (_H82._M4) { _li._M4 = _H82._M4; _li._st[_nI1] = !0 } if (_H82._Y82) { _li._Y82 = _H82._Y82; _li._st[_pI1] = !0 } if (_H82._Z82) { _li._Z82 = _H82._Z82; _li._st[_oI1] = !0 } if (_H82._S4) { _li._S4 = _H82._S4; _li._st[_qI1] = !0 } if (_H82.__82) { _li.__82 = _H82.__82; _li._st[_sI1] = !0 } if (_H82._092) { _li._092 = _H82._092; _li._st[_rI1] = !0 } if (_H82._192) { _li._192 = _H82._192; _li._st[_wI1] = !0 } if (_H82._292) { _li._292 = _H82._292; _li._st[_xI1] = !0 } if (_H82._392) { _li._392 = _H82._392; _li._st[_DI1] = !0 } if (_H82._492) { _li._492 = _H82._492; _li._st[_XL1] = !0 } if (_H82._592) { _li._592 = _H82._592; _li._st[_YL1] = !0; } if (_H82._b4) { _li._b4 = _H82._b4; _li._st[_EI1] = !0 } if (_H82._692) { _li._692 = _H82._692; _li._st[_ZL1] = !0 } if (_H82._792) { _li._792 = _H82._792; _li._st[__L1] = !0 } if (_H82._892) { _li._892 = _H82._892; _li._st[_FI1] = !0 } if (_H82._992) { _li._992 = _H82._992; _li._st[_0M1] = !0 } if (_H82._a92) { _li._a92 = _H82._a92; _li._st[_1M1] = !0 } if (_H82._b92) { _li._b92 = _H82._b92; _li._st[_uI1] = !0 } if (_H82._c92) { _li._c92 = _H82._c92; _li._st[_vI1] = !0 } if (_H82._g4) { _li._g4 = _H82._g4; _li._st[_QH1] = !0 } if (_H82._d92) { _li._d92 = _H82._d92; _li._st[_UH1] = !0 } if (_H82._e92) { _li._e92 = _H82._e92; _li._st[_8L1] = !0 } if (_H82._f92) { _li._f92 = _H82._f92; _li._st[_9L1] = !0 } if (_H82._g92) { _li._g92 = _H82._g92; _li._st[_aL1] = !0 } if (_H82._h92) { _li._h92 = _H82._h92; _li._st[_bL1] = !0 } if (_H82._i92) { _li._i92 = _H82._i92; _li._st[_cL1] = !0 } if (_H82._j92) { _li._j92 = _H82._j92; _li._st[_dL1] = !0 } if (_H82._k92) { _li._k92 = _H82._k92; _li._st[_Yu1] = !0 } if (_H82._l92) { _li._l92 = _H82._l92; _li._st[_eL1] = !0 } if (_H82._m92) { _li._m92 = _H82._m92; _li._st[_fL1] = !0 } if (_H82._n92) { _li._n92 = _H82._n92; _li._st[_0I1] = !0 } if (_H82._o92) { _li._o92 = _H82._o92; _li._st[_wL1] = !0 } if (_H82._p92) { _li._p92 = _H82._p92; _li._st[_xL1] = !0 } if (_H82._q92) { _li._q92 = _H82._q92; _li._st[_yL1] = !0 } if (_H82._r92) { _li._r92 = _H82._r92; _li._st[_zL1] = !0 } if (_H82._s92) { _li._s92 = _H82._s92; _li._st[_AL1] = !0 } if (_H82._t92) { _li._t92 = _H82._t92; _li._st[_BL1] = !0 } if (_H82._u92) { _li._u92 = _H82._u92; _li._st[_CL1] = !0 } if (_H82._v92) { _li._v92 = _H82._v92; _li._st[_1I1] = !0 } if (_H82._w92) { _li._w92 = _H82._w92; _li._st[_DL1] = !0 } if (_H82._x92) { _li._x92 = _H82._x92; _li._st[_EL1] = !0 } if (_H82._y92) { _li._y92 = _H82._y92; _li._st[_FL1] = !0 } if (_H82._z92) { _li._z92 = _H82._z92; _li._st[_GL1] = !0 } if (_H82._A92) { _li._A92 = _H82._A92; _li._st[_HL1] = !0; } if (_H82._B92) { _li._B92 = _H82._B92; _li._st[_IL1] = !0 } if (_H82._C92) { _li._C92 = _H82._C92; _li._st[_JL1] = !0 } if (_H82._D92) { _li._D92 = _H82._D92; _li._st[_h9] = !0 } if (_H82._E92) { _li._E92 = _H82._E92; _li._st[_gL1] = !0 } if (_H82._F92) { _li._F92 = _H82._F92; _li._st[_hL1] = !0 } if (_H82._G92) { _li._G92 = _H82._G92; _li._st[_iL1] = !0; } if (_H82._H92) { _li._H92 = _H82._H92; _li._st[_jL1] = !0 } if (_H82._I92) { _li._I92 = _H82._I92; _li._st[_kL1] = !0 } if (_H82._J92) { _li._J92 = _H82._J92; _li._st[_lL1] = !0 } if (_H82._K92) { _li._K92 = _H82._K92; _li._st[_mL1] = !0 } if (_H82._L92) { _li._L92 = _H82._L92; _li._st[_nL1] = !0 } if (_H82._M92) { _li._M92 = _H82._M92; _li._st[_oL1] = !0 } if (_H82._N92) { _li._N92 = _H82._N92; _li._st[_pL1] = !0; } if (_H82._O92) { _li._O92 = _H82._O92; _li._st[_qL1] = !0 } if (_H82._P92) { _li._P92 = _H82._P92; _li._st[_rL1] = !0 } if (_H82._Q92) { _li._Q92 = _H82._Q92; _li._st[_sL1] = !0 } if (_H82._R92) { _li._R92 = _H82._R92; _li._st[_tL1] = !0 } if (_H82._S92) { _li._S92 = _H82._S92; _li._st[_uL1] = !0 } if (_H82._T92) { _li._T92 = _H82._T92; _li._st[_vL1] = !0 } if (_H82._U92) { _li._U92 = _H82._U92; _li._st[_KL1] = !0 } if (_H82._V92) { _li._V92 = _H82._V92; _li._st[_LL1] = !0 } if (_H82._W92) { _li._W92 = _H82._W92; _li._st[_ML1] = !0 } if (_H82._X92) { _li._X92 = _H82._X92; _li._st[_NL1] = !0 } if (_H82._Y92) { _li._Y92 = _H82._Y92; _li._st[_ey] = !0 } if (_H82._Z92) { _li._Z92 = _H82._Z92; _li._st[_WL1] = !0 } if (_H82.__92) { _li.__92 = _H82.__92; _li._st[_vG1] = !0 } if (_H82._14) { _li._C82[0] = _H82._14; _li._st[_2M1] = !0 } if (_H82.__3) { _li._C82[1] = _H82.__3; _li._st[_3M1] = !0 } if (_H82._Y3) { _li._C82[2] = _H82._Y3; _li._st[_4M1] = !0 } if (_H82._W3) { _li._C82[3] = _H82._W3; _li._st[_5M1] = !0 } if (_H82._U3) { _li._C82[4] = _H82._U3; _li._st[_6M1] = !0 } if (_H82._0a2) { _li._C82[5] = _H82._0a2; _li._st[_7M1] = !0 } if (_H82._1a2) { _li._C82[6] = _H82._1a2; _li._st[_8M1] = !0 } if (_H82._2a2) { _li._C82[7] = _H82._2a2; _li._st[_9M1] = !0 } if (_H82._3a2) { _li._C82[8] = _H82._3a2; _li._st[_aM1] = !0 } if (_H82._4a2) { _li._C82[9] = _H82._4a2; _li._st[_bM1] = !0 } if (_H82._5a2) { _li._C82[10] = _H82._5a2; _li._st[_cM1] = !0 } if (_H82._6a2) { _li._C82[11] = _H82._6a2; _li._st[_dM1] = !0 } if (_H82._7a2) { _li._E82[_1O1] = _H82._7a2; _li._st[_1O1] = !0 } if (_H82._8a2) { _li._E82[_3O1] = _H82._8a2; _li._st[_3O1] = !0 } if (_H82._9a2) { _li._E82[_4O1] = _H82._9a2; _li._st[_4O1] = !0 } if (_H82._aa2) { _li._E82[_5O1] = _H82._aa2; _li._st[_5O1] = !0 } if (_H82._ba2) { _li._E82[_6O1] = _H82._ba2; _li._st[_6O1] = !0 } if (_H82._ca2) { _li._E82[_7O1] = _H82._ca2; _li._st[_7O1] = !0 } if (_H82._da2) { _li._E82[_8O1] = _H82._da2; _li._st[_8O1] = !0 } if (_H82._ea2) { _li._E82[_9O1] = _H82._ea2; _li._st[_9O1] = !0 } if (_H82._fa2) { _li._E82[_aO1] = _H82._fa2; _li._st[_aO1] = !0 } if (_H82._ga2) { _li._E82[_bO1] = _H82._ga2; _li._st[_bO1] = !0 } if (_H82._ha2) { _li._E82[_cO1] = _H82._ha2; _li._st[_cO1] = !0 } if (_H82._ia2) { _li._E82[_dO1] = _H82._ia2; _li._st[_dO1] = !0 } if (_H82._ja2) { _li._E82[_eO1] = _H82._ja2; _li._st[_eO1] = !0 } if (_H82._ka2) { _li._E82[_fO1] = _H82._ka2; _li._st[_fO1] = !0 } if (_H82._la2) { _li._E82[_gO1] = _H82._la2; _li._st[_gO1] = !0 } if (_H82._ma2) { _li._E82[_hO1] = _H82._ma2; _li._st[_hO1] = !0 } if (_H82._na2) { _li._E82[_iO1] = _H82._na2; _li._st[_iO1] = !0 } if (_H82._oa2) { _li._E82[_jO1] = _H82._oa2; _li._st[_jO1] = !0 } if (_H82._pa2) { _li._E82[_kO1] = _H82._pa2; _li._st[_kO1] = !0 } if (_H82._qa2) { _li._E82[_lO1] = _H82._qa2; _li._st[_lO1] = !0 } if (_H82._ra2) { _li._E82[_mO1] = _H82._ra2; _li._st[_mO1] = !0 } if (_H82._sa2) { _li._E82[_nO1] = (_H82._sa2); _li._st[_nO1] = !0 } if (_H82._ta2) { _li._E82[_oO1] = (_H82._ta2); _li._st[_oO1] = !0 } if (_H82._ua2) { _li._E82[_pO1] = (_H82._ua2); _li._st[_pO1] = !0 } if (_H82._va2) { _li._E82[_qO1] = (_H82._va2); _li._st[_qO1] = !0 } if (_H82._wa2) { _li._E82[_rO1] = (_H82._wa2); _li._st[_rO1] = !0 } if (_H82._xa2) { _li._E82[_sO1] = (_H82._xa2); _li._st[_sO1] = !0 } if (_H82._ya2) { _li._E82[_tO1] = (_H82._ya2); _li._st[_tO1] = !0 } if (_H82._za2) { _li._E82[_uO1] = (_H82._za2); _li._st[_uO1] = !0 } if (_H82._Aa2) { _li._E82[_vO1] = (_H82._Aa2); _li._st[_vO1] = !0 } if (_H82._Ba2) { _li._E82[_wO1] = (_H82._Ba2); _li._st[_wO1] = !0 } if (_H82._Ca2) { _li._E82[_xO1] = (_H82._Ca2); _li._st[_xO1] = !0 } if (_H82._Da2) { _li._E82[_yO1] = (_H82._Da2); _li._st[_yO1] = !0 } if (_H82._Ea2) { _li._E82[_zO1] = (_H82._Ea2); _li._st[_zO1] = !0 } if (_H82._Fa2) { _li._E82[_AO1] = (_H82._Fa2); _li._st[_AO1] = !0 } if (_H82._Ga2) { _li._E82[_BO1] = (_H82._Ga2); _li._st[_BO1] = !0 } if (_H82._Ha2) { _li._E82[_CO1] = (_H82._Ha2); _li._st[_CO1] = !0 } if (_H82._Ia2) { _li._E82[_DO1] = (_H82._Ia2); _li._st[_DO1] = !0 } if (_H82._Ja2) { _li._E82[_EO1] = (_H82._Ja2); _li._st[_EO1] = !0 } if (_H82._Ka2) { _li._E82[_FO1] = (_H82._Ka2); _li._st[_FO1] = !0 } if (_H82._La2) { _li._E82[_GO1] = (_H82._La2); _li._st[_GO1] = !0 } if (_H82._Ma2) { _li._E82[_HO1] = (_H82._Ma2); _li._st[_HO1] = !0 } if (_H82._Na2) { _li._E82[_IO1] = (_H82._Na2); _li._st[_IO1] = !0 } if (_H82._Oa2) { _li._E82[_JO1] = (_H82._Oa2); _li._st[_JO1] = !0 } if (_H82._Pa2) { _li._E82[_KO1] = (_H82._Pa2); _li._st[_KO1] = !0 } if (_H82._Qa2) { _li._E82[_LO1] = (_H82._Qa2); _li._st[_LO1] = !0 } if (_H82._Ra2) { _li._E82[_MO1] = (_H82._Ra2); _li._st[_MO1] = !0 } if (_H82._Sa2) { _li._E82[_NO1] = (_H82._Sa2); _li._st[_NO1] = !0 } if (_H82._Ta2) { _li._E82[_OO1] = (_H82._Ta2); _li._st[_OO1] = !0 } if (_H82._Ua2) { _li._E82[_PO1] = (_H82._Ua2); _li._st[_PO1] = !0 } if (_H82._Va2) { _li._E82[_QO1] = (_H82._Va2); _li._st[_QO1] = !0 } if (_H82._Wa2) { _li._E82[_RO1] = (_H82._Wa2); _li._st[_RO1] = !0 } if (_H82._Xa2) { _li._E82[_SO1] = (_H82._Xa2); _li._st[_SO1] = !0 } if (_H82._Ya2) { _li._E82[_TO1] = (_H82._Ya2); _li._st[_TO1] = !0 } if (_H82._Za2) { _li._E82[_UO1] = (_H82._Za2); _li._st[_UO1] = !0 } if (_H82.__a2) { _li._E82[_VO1] = (_H82.__a2); _li._st[_VO1] = !0 } if (_H82._0b2) { _li._E82[_WO1] = (_H82._0b2); _li._st[_WO1] = !0 } if (_H82._1b2) { _li._E82[_XO1] = (_H82._1b2); _li._st[_XO1] = !0 } if (_H82._2b2) { _li._E82[_YO1] = (_H82._2b2); _li._st[_YO1] = !0 } if (_H82._3b2) { _li._E82[_ZO1] = (_H82._3b2); _li._st[_ZO1] = !0 } if (_H82._4b2) { _li._E82[__O1] = (_H82._4b2); _li._st[__O1] = !0 } if (_H82._5b2) { _li._E82[_0P1] = (_H82._5b2); _li._st[_0P1] = !0 } if (_H82._6b2) { _li._E82[_1P1] = (_H82._6b2); _li._st[_1P1] = !0 } if (_H82._7b2) { _li._E82[_2P1] = (_H82._7b2); _li._st[_2P1] = !0 } if (_H82._8b2) { _li._E82[_3P1] = (_H82._8b2); _li._st[_3P1] = !0 } if (_H82._9b2) { _li._E82[_4P1] = (_H82._9b2); _li._st[_4P1] = !0 } if (_H82._ab2) { _li._E82[_5P1] = (_H82._ab2); _li._st[_5P1] = !0 } if (_H82._bb2) { _li._E82[_6P1] = (_H82._bb2); _li._st[_6P1] = !0 } if (_H82._cb2) { _li._E82[_7P1] = (_H82._cb2); _li._st[_7P1] = !0 } if (_H82._db2) { _li._E82[_lP1] = (_H82._db2); _li._st[_lP1] = !0 } if (_H82._eb2) { _li._E82[_mP1] = (_H82._eb2); _li._st[_mP1] = !0 } if (_H82._fb2) { _li._E82[_nP1] = (_H82._fb2); _li._st[_nP1] = !0 } if (_H82._gb2) { _li._E82[_oP1] = (_H82._gb2); _li._st[_oP1] = !0 } if (_H82._hb2) { _li._E82[_pP1] = (_H82._hb2); _li._st[_pP1] = !0 } if (_H82._ib2) { _li._E82[_qP1] = (_H82._ib2); _li._st[_qP1] = !0 } if (_H82._jb2) { _li._E82[_rP1] = (_H82._jb2); _li._st[_rP1] = !0 } if (_H82._kb2) { _li._E82[_sP1] = (_H82._kb2); _li._st[_sP1] = !0 } if (_H82._lb2) { _li._E82[_tP1] = (_H82._lb2); _li._st[_tP1] = !0 } if (_H82._mb2) { _li._E82[_uP1] = (_H82._mb2); _li._st[_uP1] = !0 } if (_H82._nb2) { _li._E82[_vP1] = (_H82._nb2); _li._st[_vP1] = !0 } if (_H82._ob2) { _li._E82[_wP1] = (_H82._ob2); _li._st[_wP1] = !0 } if (_H82._pb2) { _li._E82[_xP1] = (_H82._pb2); _li._st[_xP1] = !0 } if (_H82._qb2) { _li._E82[_yP1] = (_H82._qb2); _li._st[_yP1] = !0; } if (_H82._rb2) { _li._E82[_zP1] = (_H82._rb2); _li._st[_zP1] = !0 } if (_H82._sb2) { _li._E82[_AP1] = (_H82._sb2); _li._st[_AP1] = !0 } if (_H82._tb2) { _li._D82[_BP1] = (_H82._tb2); _li._st[_BP1] = !0 } if (_H82._ub2) { _li._D82[_DP1] = (_H82._ub2); _li._st[_DP1] = !0 } if (_H82._vb2) { _li._D82[_EP1] = (_H82._vb2); _li._st[_EP1] = !0 } if (_H82._wb2) { _li._D82[_FP1] = (_H82._wb2); _li._st[_FP1] = !0 } if (_H82._xb2) { _li._D82[_GP1] = (_H82._xb2); _li._st[_GP1] = !0 } if (_H82._yb2) { _li._D82[_HP1] = (_H82._yb2); _li._st[_HP1] = !0 } if (_H82._zb2) { _li._D82[_IP1] = (_H82._zb2); _li._st[_IP1] = !0 } if (_H82._Ab2) { _li._D82[_JP1] = (_H82._Ab2); _li._st[_JP1] = !0 } if (_H82._Bb2) { _li._D82[_KP1] = (_H82._Bb2); _li._st[_KP1] = !0 } if (_H82._Cb2) { _li._D82[_LP1] = (_H82._Cb2); _li._st[_LP1] = !0 } if (_H82._Db2) { _li._D82[_MP1] = (_H82._Db2); _li._st[_MP1] = !0 } if (_H82._Eb2) { _li._D82[_NP1] = (_H82._Eb2); _li._st[_NP1] = !0 } if (_H82._Fb2) { _li._D82[_OP1] = (_H82._Fb2); _li._st[_OP1] = !0 } if (_H82._Gb2) { _li._D82[_PP1] = (_H82._Gb2); _li._st[_PP1] = !0 } if (_H82._Hb2) { _li._D82[_QP1] = (_H82._Hb2); _li._st[_QP1] = !0 } if (_H82._Ib2) { _li._D82[_RP1] = (_H82._Ib2); _li._st[_RP1] = !0 } if (_H82._Jb2) { _li._D82[_SP1] = (_H82._Jb2); _li._st[_SP1] = !0 } if (_H82._Kb2) { _li._D82[_TP1] = (_H82._Kb2); _li._st[_TP1] = !0 } if (_H82._Lb2) { _li._D82[_UP1] = (_H82._Lb2); _li._st[_UP1] = !0 } if (_H82._Mb2) { _li._D82[_VP1] = (_H82._Mb2); _li._st[_VP1] = !0 } if (_H82._Nb2) { _li._D82[_WP1] = (_H82._Nb2); _li._st[_WP1] = !0 } if (_H82._Ob2) { _li._D82[_XP1] = (_H82._Ob2); _li._st[_XP1] = !0 } if (_H82._Pb2) { _li._D82[_YP1] = (_H82._Pb2); _li._st[_YP1] = !0 } if (_H82._Qb2) { _li._D82[_ZP1] = (_H82._Qb2); _li._st[_ZP1] = !0 } if (_H82._Rb2) { _li._D82[__P1] = (_H82._Rb2); _li._st[__P1] = !0 } if (_H82._Sb2) { _li._D82[_0Q1] = (_H82._Sb2); _li._st[_0Q1] = !0 } if (_H82._Tb2) { _li._D82[_1Q1] = (_H82._Tb2); _li._st[_1Q1] = !0 } if (_H82._Ub2) { _li._D82[_2Q1] = (_H82._Ub2); _li._st[_2Q1] = !0 } if (_H82._Vb2) { _li._D82[_3Q1] = (_H82._Vb2); _li._st[_3Q1] = !0 } if (_H82._Wb2) { _li._D82[_4Q1] = (_H82._Wb2); _li._st[_4Q1] = !0 } if (_H82._Xb2) { _li._D82[_5Q1] = (_H82._Xb2); _li._st[_5Q1] = !0 } if (_H82._Yb2) { _li._D82[_6Q1] = (_H82._Yb2); _li._st[_6Q1] = !0 } if (_H82._Zb2) { _li._D82[_7Q1] = (_H82._Zb2); _li._st[_7Q1] = !0 } if (_H82.__b2) { _li._D82[_8Q1] = (_H82.__b2); _li._st[_8Q1] = !0 } if (_H82._0c2) { _li._D82[_9Q1] = (_H82._0c2); _li._st[_9Q1] = !0 } if (_H82._1c2) { _li._D82[_aQ1] = (_H82._1c2); _li._st[_aQ1] = !0 } if (_H82._2c2) { _li._D82[_bQ1] = (_H82._2c2); _li._st[_bQ1] = !0 } if (_H82._3c2) { _li._D82[_cQ1] = (_H82._3c2); _li._st[_cQ1] = !0 } if (_H82._4c2) { _li._D82[_dQ1] = (_H82._4c2); _li._st[_dQ1] = !0 } if (_H82._5c2) { _li._D82[_eQ1] = (_H82._5c2); _li._st[_eQ1] = !0 } if (_H82._6c2) { _li._D82[_fQ1] = (_H82._6c2); _li._st[_fQ1] = !0 } if (_H82._7c2) { _li._D82[_gQ1] = (_H82._7c2); _li._st[_gQ1] = !0 } if (_H82._8c2) { _li._D82[_hQ1] = (_H82._8c2); _li._st[_hQ1] = !0 } if (_H82._9c2) { _li._D82[_iQ1] = (_H82._9c2); _li._st[_iQ1] = !0 } if (_H82._ac2) { _li._D82[_jQ1] = (_H82._ac2); _li._st[_jQ1] = !0 } if (_H82._bc2) { _li._D82[_kQ1] = (_H82._bc2); _li._st[_kQ1] = !0 } if (_H82._cc2) { _li._D82[_lQ1] = (_H82._cc2); _li._st[_lQ1] = !0 } if (_H82._dc2) { _li._D82[_mQ1] = (_H82._dc2); _li._st[_mQ1] = !0 } if (_H82._ec2) { _li._D82[_nQ1] = (_H82._ec2); _li._st[_nQ1] = !0 } if (_H82._fc2) { _li._D82[_oQ1] = (_H82._fc2); _li._st[_oQ1] = !0 } if (_H82._gc2) { _li._D82[_pQ1] = (_H82._gc2); _li._st[_pQ1] = !0 } if (_H82._hc2) { _li._D82[_qQ1] = (_H82._hc2); _li._st[_qQ1] = !0 } if (_H82._ic2) { _li._D82[_rQ1] = (_H82._ic2); _li._st[_rQ1] = !0 } if (_H82._jc2) { _li._D82[_sQ1] = (_H82._jc2); _li._st[_sQ1] = !0 } if (_H82._kc2) { _li._D82[_tQ1] = (_H82._kc2); _li._st[_tQ1] = !0 } if (_H82._lc2) { _li._D82[_uQ1] = (_H82._lc2); _li._st[_uQ1] = !0 } if (_H82._mc2) { _li._D82[_vQ1] = (_H82._mc2); _li._st[_vQ1] = !0 } if (_H82._nc2) { _li._D82[_wQ1] = (_H82._nc2); _li._st[_wQ1] = !0 } if (_H82._oc2) { _li._D82[_xQ1] = (_H82._oc2); _li._st[_xQ1] = !0 } if (_H82._pc2) { _li._D82[_yQ1] = (_H82._pc2); _li._st[_yQ1] = !0 } if (_H82._qc2) { _li._D82[_zQ1] = (_H82._qc2); _li._st[_zQ1] = !0 } if (_H82._rc2) { _li._D82[_AQ1] = (_H82._rc2); _li._st[_AQ1] = !0 } if (_H82._sc2) { _li._D82[_BQ1] = (_H82._sc2); _li._st[_BQ1] = !0 } if (_H82._tc2) { _li._D82[_CQ1] = (_H82._tc2); _li._st[_CQ1] = !0 } if (_H82._uc2) { _li._D82[_DQ1] = (_H82._uc2); _li._st[_DQ1] = !0 } if (_H82._vc2) { _li._D82[_EQ1] = (_H82._vc2); _li._st[_EQ1] = !0 } if (_H82._wc2) { _li._D82[_FQ1] = (_H82._wc2); _li._st[_FQ1] = !0 } if (_H82._xc2) { _li._D82[_GQ1] = (_H82._xc2); _li._st[_GQ1] = !0 } if (_H82._yc2) { _li._D82[_HQ1] = (_H82._yc2); _li._st[_HQ1] = !0 } if (_H82._zc2) { _li._D82[_VQ1] = (_H82._zc2); _li._st[_VQ1] = !0 } if (_H82._Ac2) { _li._D82[_WQ1] = (_H82._Ac2); _li._st[_WQ1] = !0 } if (_H82._Bc2) { _li._D82[_XQ1] = (_H82._Bc2); _li._st[_XQ1] = !0 } if (_H82._Cc2) { _li._D82[_YQ1] = (_H82._Cc2); _li._st[_YQ1] = !0 } if (_H82._Dc2) { _li._D82[_ZQ1] = (_H82._Dc2); _li._st[_ZQ1] = !0 } if (_H82._Ec2) { _li._D82[__Q1] = (_H82._Ec2); _li._st[__Q1] = !0 } if (_H82._Fc2) { _li._D82[_0R1] = (_H82._Fc2); _li._st[_0R1] = !0 } if (_H82._Gc2) { _li._D82[_1R1] = (_H82._Gc2); _li._st[_1R1] = !0 } if (_H82._Hc2) { _li._D82[_2R1] = (_H82._Hc2); _li._st[_2R1] = !0 } if (_H82._Ic2) { _li._D82[_3R1] = (_H82._Ic2); _li._st[_3R1] = !0 } if (_H82._Jc2) { _li._D82[_4R1] = (_H82._Jc2); _li._st[_4R1] = !0 } if (_H82._Kc2) { _li._D82[_5R1] = (_H82._Kc2); _li._st[_5R1] = !0 } if (_H82._Lc2) { _li._D82[_6R1] = (_H82._Lc2); _li._st[_6R1] = !0 } if (_H82._Mc2) { _li._D82[_7R1] = (_H82._Mc2); _li._st[_7R1] = !0 } if (_H82._Nc2) { _li._D82[_8R1] = (_H82._Nc2); _li._st[_8R1] = !0 } if (_H82._Oc2) { _li._D82[_9R1] = (_H82._Oc2); _li._st[_9R1] = !0 } if (_H82._Pc2) { _li._F82[_aR1] = (_H82._Pc2); _li._st[_aR1] = !0 } if (_H82._Qc2) { _li._F82[_cR1] = (_H82._Qc2); _li._st[_cR1] = !0 } if (_H82._Rc2) { _li._F82[_dR1] = (_H82._Rc2); _li._st[_dR1] = !0 } if (_H82._Sc2) { _li._F82[_eR1] = (_H82._Sc2); _li._st[_eR1] = !0 } if (_H82._Tc2) { _li._F82[_fR1] = (_H82._Tc2); _li._st[_fR1] = !0 } if (_H82._Uc2) { _li._F82[_gR1] = (_H82._Uc2); _li._st[_gR1] = !0 } if (_H82._Vc2) { _li._F82[_hR1] = (_H82._Vc2); _li._st[_hR1] = !0 } if (_H82._Wc2) { _li._F82[_iR1] = (_H82._Wc2); _li._st[_iR1] = !0 } if (_H82._Xc2) { _li._F82[_jR1] = (_H82._Xc2); _li._st[_jR1] = !0 } if (_H82._Yc2) { _li._F82[_kR1] = (_H82._Yc2); _li._st[_kR1] = !0 } if (_H82._Zc2) { _li._F82[_lR1] = (_H82._Zc2); _li._st[_lR1] = !0 } if (_H82.__c2) { _li._F82[_mR1] = (_H82.__c2); _li._st[_mR1] = !0 } if (_H82._0d2) { _li._F82[_nR1] = (_H82._0d2); _li._st[_nR1] = !0 } if (_H82._1d2) { _li._F82[_oR1] = (_H82._1d2); _li._st[_oR1] = !0 } if (_H82._2d2) { _li._F82[_pR1] = (_H82._2d2); _li._st[_pR1] = !0 } if (_H82._3d2) { _li._F82[_qR1] = (_H82._3d2); _li._st[_qR1] = !0 } if (_H82._4d2) { _li._F82[_rR1] = (_H82._4d2); _li._st[_rR1] = !0 } if (_H82._5d2) { _li._F82[_sR1] = (_H82._5d2); _li._st[_sR1] = !0 } if (_H82._6d2) { _li._F82[_tR1] = (_H82._6d2); _li._st[_tR1] = !0 } if (_H82._7d2) { _li._F82[_uR1] = (_H82._7d2); _li._st[_uR1] = !0 } if (_H82._8d2) { _li._F82[_vR1] = (_H82._8d2); _li._st[_vR1] = !0 } if (_H82._9d2) { _li._F82[_wR1] = (_H82._9d2); _li._st[_wR1] = !0 } if (_H82._ad2) { _li._F82[_xR1] = (_H82._ad2); _li._st[_xR1] = !0 } if (_H82._bd2) { _li._F82[_yR1] = (_H82._bd2); _li._st[_yR1] = !0 } if (_H82._cd2) { _li._F82[_zR1] = (_H82._cd2); _li._st[_zR1] = !0 } if (_H82._dd2) { _li._F82[_AR1] = (_H82._dd2); _li._st[_AR1] = !0 } if (_H82._ed2) { _li._F82[_BR1] = (_H82._ed2); _li._st[_BR1] = !0 } if (_H82._fd2) { _li._F82[_CR1] = (_H82._fd2); _li._st[_CR1] = !0 } if (_H82._gd2) { _li._F82[_DR1] = (_H82._gd2); _li._st[_DR1] = !0 } if (_H82._hd2) { _li._F82[_ER1] = (_H82._hd2); _li._st[_ER1] = !0 } if (_H82._id2) { _li._F82[_FR1] = (_H82._id2); _li._st[_FR1] = !0; } if (_H82._jd2) { _li._F82[_GR1] = (_H82._jd2); _li._st[_GR1] = !0 } if (_H82._kd2) { _li._F82[_HR1] = (_H82._kd2); _li._st[_HR1] = !0 } if (_H82._ld2) { _li._F82[_IR1] = (_H82._ld2); _li._st[_IR1] = !0 } if (_H82._md2) { _li._F82[_JR1] = (_H82._md2); _li._st[_JR1] = !0 } if (_H82._nd2) { _li._F82[_KR1] = (_H82._nd2); _li._st[_KR1] = !0 } if (_H82._od2) { _li._F82[_LR1] = (_H82._od2); _li._st[_LR1] = !0 } if (_H82._pd2) { _li._F82[_MR1] = (_H82._pd2); _li._st[_MR1] = !0 } if (_H82._qd2) { _li._F82[_NR1] = (_H82._qd2); _li._st[_NR1] = !0 } if (_H82._rd2) { _li._F82[_OR1] = (_H82._rd2); _li._st[_OR1] = !0 } if (_H82._sd2) { _li._F82[_PR1] = (_H82._sd2); _li._st[_PR1] = !0 } if (_H82._td2) { _li._F82[_QR1] = (_H82._td2); _li._st[_QR1] = !0 } if (_H82._ud2) { _li._F82[_RR1] = (_H82._ud2); _li._st[_RR1] = !0 } if (_H82._vd2) { _li._F82[_SR1] = (_H82._vd2); _li._st[_SR1] = !0 } if (_H82._wd2) { _li._F82[_TR1] = (_H82._wd2); _li._st[_TR1] = !0 } if (_H82._xd2) { _li._F82[_UR1] = (_H82._xd2); _li._st[_UR1] = !0 } if (_H82._yd2) { _li._F82[_VR1] = (_H82._yd2); _li._st[_VR1] = !0 } if (_H82._zd2) { _li._F82[_WR1] = (_H82._zd2); _li._st[_WR1] = !0 } if (_H82._Ad2) { _li._F82[_XR1] = (_H82._Ad2); _li._st[_XR1] = !0 } if (_H82._Bd2) { _li._F82[_YR1] = (_H82._Bd2); _li._st[_YR1] = !0; } if (_H82._Cd2) { _li._F82[_ZR1] = (_H82._Cd2); _li._st[_ZR1] = !0 } if (_H82._Dd2) { _li._F82[__R1] = (_H82._Dd2); _li._st[__R1] = !0 } if (_H82._Ed2) { _li._F82[_0S1] = (_H82._Ed2); _li._st[_0S1] = !0 } if (_H82._Fd2) { _li._F82[_1S1] = (_H82._Fd2); _li._st[_1S1] = !0 } if (_H82._Gd2) { _li._F82[_2S1] = (_H82._Gd2); _li._st[_2S1] = !0 } if (_H82._Hd2) { _li._F82[_3S1] = (_H82._Hd2); _li._st[_3S1] = !0 } if (_H82._Id2) { _li._F82[_4S1] = (_H82._Id2); _li._st[_4S1] = !0 } if (_H82._Jd2) { _li._F82[_5S1] = (_H82._Jd2); _li._st[_5S1] = !0 } if (_H82._Kd2) { _li._F82[_6S1] = (_H82._Kd2); _li._st[_6S1] = !0 } if (_H82._Ld2) { _li._F82[_7S1] = (_H82._Ld2); _li._st[_7S1] = !0 } if (_H82._Md2) { _li._F82[_8S1] = (_H82._Md2); _li._st[_8S1] = !0 } if (_H82._Nd2) { _li._F82[_9S1] = (_H82._Nd2); _li._st[_9S1] = !0 } if (_H82._Od2) { _li._F82[_aS1] = (_H82._Od2); _li._st[_aS1] = !0 } if (_H82._Pd2) { _li._F82[_bS1] = (_H82._Pd2); _li._st[_bS1] = !0 } if (_H82._Qd2) { _li._F82[_cS1] = (_H82._Qd2); _li._st[_cS1] = !0 } if (_H82._Rd2) { _li._F82[_dS1] = (_H82._Rd2); _li._st[_dS1] = !0 } if (_H82._Sd2) { _li._F82[_eS1] = (_H82._Sd2); _li._st[_eS1] = !0 } if (_H82._Td2) { _li._F82[_fS1] = (_H82._Td2); _li._st[_fS1] = !0 } if (_H82._Ud2) { _li._F82[_gS1] = (_H82._Ud2); _li._st[_gS1] = !0 } if (_H82._Vd2) { _li._F82[_uS1] = (_H82._Vd2); _li._st[_uS1] = !0 } if (_H82._Wd2) { _li._F82[_vS1] = (_H82._Wd2); _li._st[_vS1] = !0 } if (_H82._Xd2) { _li._F82[_wS1] = (_H82._Xd2); _li._st[_wS1] = !0 } if (_H82._Yd2) { _li._F82[_xS1] = (_H82._Yd2); _li._st[_xS1] = !0 } if (_H82._Zd2) { _li._F82[_yS1] = (_H82._Zd2); _li._st[_yS1] = !0 } if (_H82.__d2) { _li._F82[_zS1] = (_H82.__d2); _li._st[_zS1] = !0 } if (_H82._0e2) { _li._F82[_AS1] = (_H82._0e2); _li._st[_AS1] = !0 } if (_H82._1e2) { _li._F82[_BS1] = (_H82._1e2); _li._st[_BS1] = !0 } if (_H82._2e2) { _li._F82[_CS1] = (_H82._2e2); _li._st[_CS1] = !0 } if (_H82._3e2) { _li._F82[_DS1] = (_H82._3e2); _li._st[_DS1] = !0 } if (_H82._4e2) { _li._F82[_ES1] = (_H82._4e2); _li._st[_ES1] = !0; } if (_H82._5e2) { _li._F82[_FS1] = (_H82._5e2); _li._st[_FS1] = !0 } if (_H82._6e2) { _li._F82[_GS1] = (_H82._6e2); _li._st[_GS1] = !0 } if (_H82._7e2) { _li._F82[_HS1] = (_H82._7e2); _li._st[_HS1] = !0 } if (_H82._8e2) { _li._F82[_IS1] = (_H82._8e2); _li._st[_IS1] = !0 } if (_H82._9e2) { _li._F82[_JS1] = (_H82._9e2); _li._st[_JS1] = !0 } var _H3 = 0; if (_H82._54 != undefined) { while (_H3 < _H82._54.length) { var _pz = parseInt(_H82._54[_H3]) + 1; var _hr = _H82._54[_H3 + 1]; var _ae2 = _rT1._Gh(_pz); _li._st[_4L1] = !0; _li._st[_4L1 | _pz] = !0; var _be2 = new _t82(); _be2._u82 = _hr; _be2._w82 = _ae2; _be2._v82 = _pz; _li._N3[_4L1 | _pz] = _be2; _H3 += 2 } } _H3 = 0; if (_H82._64 != undefined) { while (_H3 < _H82._64.length) { _li._st[_jv1] = !0; var _pz = parseInt(_H82._64[_H3]); var _Im1 = _H82._64[_H3 + 1]; var _ce2 = new _x82(); _ce2._u82 = _Im1; _ce2._de2 = !1; _ce2.__Y1 = this; _li._iW1[_pz] = _ce2; _H3 += 2 } } if (_H82._Vu1 != undefined) { _li._C42._Vu1 = _H82._Vu1; _li._C42._O42 = _H82._O42; _li._C42._F42 = _H82._F42; _li._C42._Q42 = _H82._Q42; _li._C42._R42 = _H82._R42; _li._C42._P42 = _H82._P42; _li._C42._N42 = _H82._N42; _li._C42._M42 = _H82._M42; _li._C42._S42 = _H82._S42; _li._C42._T42 = _H82._T42; _li._C42._U42 = _H82._U42; _li._C42._I42 = _H82._I42 } } return _li } _ov1.prototype._g9 = function(_fr, index, _lt, _ut) { if (_LD != -1) { return } var _ee2 = _wt; var _fe2 = _xt; var _ge2 = _ZT1; var _he2 = _Ii; _ZT1 = this; _wt = _fr; _xt = index; _Ii = !1; var _nY = !0; switch (_fr) { case _0j: if (this._S3) this._S3(_lt, _ut); else _nY = !1; break; case _By: if (this._J82) this._J82(_lt, _ut); else _nY = !1; break; case _TI1: _nY = !1; break; case _ZK1: _nY = !1; break; case _jv1: if (this._iW1[index]) this._iW1[index]._u82(_lt, _ut); break; case __K1: if (this._D82[_fr | index]) this._D82[_fr | index](_lt, _ut); else _nY = !1; break; case _0L1: _nY = !1; break; case _TH1: _nY = !1; break; case _1L1: if (this._34) this._34(_lt, _ut); else _nY = !1; break; case _2L1: if (this._E82[_fr | index]) this._E82[_fr | index](_lt, _ut); else _nY = !1; break; case _3L1: if (this._F82[_fr | index]) this._F82[_fr | index](_lt, _ut); else _nY = !1; break; case _4L1: if (this._N3[_fr | index]) { var _ie2 = this._N3[_fr | index]; var _be2 = _ie2._w82; var _8j = _be2._hr(_lt, _ut); if (_8j | _ET1) { _ie2._u82(_lt, _ut) } } break; case _OL1: if (this._M82) this._M82(_lt, _ut); else _nY = !1; break; case _QL1: if (this._N82) this._N82(_lt, _ut); else _nY = !1; break; case _RL1: if (this._O82) this._O82(_lt, _ut); else _nY = !1; break; case _SL1: if (this._P82) this._P82(_lt, _ut); else _nY = !1; break; case _TL1: if (this._Q82) this._Q82(_lt, _ut); else _nY = !1; break; case _UL1: if (this._R82) this._R82(_lt, _ut); else _nY = !1; break; case _VL1: if (this._S82) this._S82(_lt, _ut); else _nY = !1; break; case _PL1: if (this._T82) this._T82(_lt, _ut); else _nY = !1; break; case _6L1: if (this._K82) this._K82(_lt, _ut); else _nY = !1; break; case _5L1: if (this._94) this._94(_lt, _ut); else _nY = !1; break; case _7L1: if (this._L82) this._L82(_lt, _ut); else _nY = !1; break; case _QH1: if (this._g4) this._g4(_lt, _ut); else _nY = !1; break; case _UH1: if (this._d92) this._d92(_lt, _ut); else _nY = !1; break; case _8L1: if (this._e92) this._e92(_lt, _ut); else _nY = !1; break; case _9L1: if (this._f92) this._f92(_lt, _ut); else _nY = !1; break; case _aL1: if (this._g92) this._g92(_lt, _ut); else _nY = !1; break; case _bL1: if (this._h92) this._h92(_lt, _ut); else _nY = !1; break; case _cL1: if (this._i92) this._i92(_lt, _ut); else _nY = !1; break; case _dL1: if (this._j92) this._j92(_lt, _ut); else _nY = !1; break; case _Yu1: if (this._k92) this._k92(_lt, _ut); else _nY = !1; break; case _eL1: if (this._l92) this._l92(_lt, _ut); else _nY = !1; break; case _fL1: if (this._m92) this._m92(_lt, _ut); else _nY = !1; break; case _0I1: if (this._n92) this._n92(_lt, _ut); else _nY = !1; break; case _wL1: if (this._o92) this._o92(_lt, _ut); else _nY = !1; break; case _xL1: if (this._p92) this._p92(_lt, _ut); else _nY = !1; break; case _yL1: if (this._q92) this._q92(_lt, _ut); else _nY = !1; break; case _zL1: if (this._r92) this._r92(_lt, _ut); else _nY = !1; break; case _AL1: if (this._s92) this._s92(_lt, _ut); else _nY = !1; break; case _BL1: if (this._t92) this._t92(_lt, _ut); else _nY = !1; break; case _CL1: if (this._u92) this._u92(_lt, _ut); else _nY = !1; break; case _1I1: if (this._v92) this._v92(_lt, _ut); else _nY = !1; break; case _DL1: if (this._w92) this._w92(_lt, _ut); else _nY = !1; break; case _EL1: if (this._x92) this._x92(_lt, _ut); else _nY = !1; break; case _FL1: if (this._y92) this._y92(_lt, _ut); else _nY = !1; break; case _GL1: if (this._z92) this._z92(_lt, _ut); else _nY = !1; break; case _HL1: if (this._A92) this._A92(_lt, _ut); else _nY = !1; break; case _IL1: if (this._B92) this._B92(_lt, _ut); else _nY = !1; break; case _JL1: if (this._C92) this._C92(_lt, _ut); else _nY = !1; break; case _h9: if (this._D92) this._D92(_lt, _ut); else _nY = !1; break; case _KL1: if (this._U92) this._U92(_lt, _ut); else _nY = !1; break; case _LL1: if (this._V92) this._V92(_lt, _ut); else _nY = !1; break; case _ML1: if (this._W92) this._W92(_lt, _ut); else _nY = !1; break; case _NL1: if (this._X92) this._X92(_lt, _ut); else _nY = !1; break; case _ey: if (this._Y92) this._Y92(_lt, _ut); else _nY = !1; break; case _WL1: if (this._Z92) this._Z92(_lt, _ut); else _nY = !1; break; case _vG1: if (this.__92) this.__92(_lt, _ut); else _nY = !1; break; case _gL1: if (this._E92) this._E92(_lt, _ut); else _nY = !1; break; case _hL1: if (this._F92) this._F92(_lt, _ut); else _nY = !1; break; case _iL1: if (this._G92) this._G92(_lt, _ut); else _nY = !1; break; case _jL1: if (this._H92) this._H92(_lt, _ut); else _nY = !1; break; case _kL1: if (this._I92) this._I92(_lt, _ut); else _nY = !1; break; case _lL1: if (this._J92) this._J92(_lt, _ut); else _nY = !1; break; case _mL1: if (this._K92) this._K92(_lt, _ut); else _nY = !1; break; case _nL1: if (this._L92) this._L92(_lt, _ut); else _nY = !1; break; case _oL1: if (this._M92) this._M92(_lt, _ut); else _nY = !1; break; case _pL1: if (this._N92) this._N92(_lt, _ut); else _nY = !1; break; case _qL1: if (this._O92) this._O92(_lt, _ut); else _nY = !1; break; case _rL1: if (this._P92) this._P92(_lt, _ut); else _nY = !1; break; case _sL1: if (this._Q92) this._Q92(_lt, _ut); else _nY = !1; break; case _tL1: if (this._R92) this._R92(_lt, _ut); else _nY = !1; break; case _uL1: if (this._S92) this._S92(_lt, _ut); else _nY = !1; break; case _vL1: if (this._T92) this._T92(_lt, _ut); else _nY = !1; break; case _tI1: if (this._U82) this._U82(_lt, _ut); else _nY = !1; break; case _kI1: if (this._V82) this._V82(_lt, _ut); else _nY = !1; break; case _mI1: if (this._W82) this._W82(_lt, _ut); else _nY = !1; break; case _lI1: if (this._X82) this._X82(_lt, _ut); else _nY = !1; break; case _nI1: if (this._M4) this._M4(_lt, _ut); else _nY = !1; break; case _pI1: if (this._Y82) this._Y82(_lt, _ut); else _nY = !1; break; case _oI1: if (this._Z82) this._Z82(_lt, _ut); else _nY = !1; break; case _qI1: if (this._S4) this._S4(_lt, _ut); else _nY = !1; break; case _sI1: if (this.__82) this.__82(_lt, _ut); else _nY = !1; break; case _rI1: if (this._092) this._092(_lt, _ut); else _nY = !1; break; case _wI1: if (this._192) this._192(_lt, _ut); else _nY = !1; break; case _xI1: if (this._292) this._292(_lt, _ut); else _nY = !1; break; case _DI1: if (this._392) this._392(_lt, _ut); else _nY = !1; break; case _XL1: if (this._492) this._492(_lt, _ut); else _nY = !1; break; case _YL1: if (this._592) this._592(_lt, _ut); else _nY = !1; break; case _EI1: if (this._b4) this._b4(_lt, _ut); else _nY = !1; break; case _ZL1: if (this._692) this._692(_lt, _ut); else _nY = !1; break; case __L1: if (this._792) this._792(_lt, _ut); else _nY = !1; break; case _FI1: if (this._892) this._892(_lt, _ut); else _nY = !1; break; case _0M1: if (this._992) this._992(_lt, _ut); else _nY = !1; break; case _1M1: if (this._a92) this._a92(_lt, _ut); else _nY = !1; break; case _uI1: if (this._b92) this._b92(_lt, _ut); else _nY = !1; break; case _vI1: if (this._c92) this._c92(_lt, _ut); else _nY = !1; break; case _2M1: if (this._C82[0] != null) this._C82[0](_lt, _ut); else _nY = !1; break; case _3M1: if (this._C82[1] != null) this._C82[1](_lt, _ut); else _nY = !1; break; case _4M1: if (this._C82[2] != null) this._C82[2](_lt, _ut); else _nY = !1; break; case _5M1: if (this._C82[3] != null) this._C82[3](_lt, _ut); else _nY = !1; break; case _6M1: if (this._C82[4] != null) this._C82[4](_lt, _ut); else _nY = !1; break; case _7M1: if (this._C82[5] != null) this._C82[5](_lt, _ut); else _nY = !1; break; case _8M1: if (this._C82[6] != null) this._C82[6](_lt, _ut); else _nY = !1; break; case _9M1: if (this._C82[7] != null) this._C82[7](_lt, _ut); else _nY = !1; break; case _aM1: if (this._C82[8] != null) this._C82[8](_lt, _ut); else _nY = !1; break; case _bM1: if (this._C82[9] != null) this._C82[9](_lt, _ut); else _nY = !1; break; case _cM1: if (this._C82[10] != null) this._C82[10](_lt, _ut); else _nY = !1; break; case _dM1: if (this._C82[11] != null) this._C82[11](_lt, _ut); else _nY = !1; break; default: _nY = !1 } _Ii = _he2; _wt = _ee2; _xt = _fe2; _ZT1 = _ge2; return _nY }; _ov1.prototype._w42 = function(_yy) { this._yI1._Wh(_yy); var _li = this; while (_li != null) { _li._Zs._Wh(_yy); _li = _li._dq } }; _ov1.prototype._v42 = function(_yy) { this._yI1._NY1(_yy); var _je2 = this; while (_je2 != null) { _je2._Zs._NY1(_yy); _je2 = _je2._dq } }; _ov1.prototype._ke2 = function(_fr, _NF) { if (!this._st[_fr | _NF]) return; var _3i = this._Zs._3i; for (var _H3 = 0; _H3 < _3i.length; _H3++) { var _Ay = _3i[_H3]; this._g9(_fr, _NF, _Ay, _Ay) } }; function _wV1() { this._le2 = []; this._Gv1 = []; this.length = 0 } _wV1.prototype._RA = function() { return this._Gv1 }; _wV1.prototype._Wh = function(_me2) { this.length++; this._le2[_me2._5W1] = _me2; this._Gv1[_me2.__y] = _me2 }; _wV1.prototype._Gh = function(_G82) { return this._Gv1[_G82] }; _wV1.prototype._Uy = function(_Ch) { if (!this._Gv1[_Ch]) return ! 1; else return ! 0 }; _wV1.prototype._uG1 = function(_fr, _NF) { for (var _4s = 0; _4s < _Ys._Gv1.length; _4s++) { var _li = _Ys._Gv1[_4s]; if (_li._st[_fr | _NF]) { _li._ke2(_fr | _NF) } } }; _wV1.prototype._wW1 = function() { var _3i = this._Gv1; for (var index = 0; index < _3i.length; index++) { var _li = _3i[index]; _li._dq = _Ys._Gh(_li._Yy); if (!_li._dq) _li._dq = null; for (var e = 0; e < _li._st.length; e++) { var _YJ1 = _li._st[e]; if (_YJ1) { _li._PH1[e] = !0 } } } for (var index = 0; index < _3i.length; index++) { var _n42 = _3i[index]; var _li = _n42._dq; while (_li != null) { for (var e = 0; e < _li._st.length; e++) { var _YJ1 = _li._st[e]; if (_YJ1) { _n42._PH1[e] = !0 } } _li = _li._dq } } }; function _j7(_G82) { if (_G82 === _fA) { return _H8._RA().slice(0) } var _li = _Ys._Gh(_G82); if (_li != null) { return _li._Zs._3i.slice(0) } var _Ay = _dy._Gh(_G82); if (_Ay != null) { var _V9 = []; _V9[0] = _Ay; return _V9 } return null } function _ne2() { this._3i = []; this.length = 0; this._Ea = 0; this._oe2 = -1 } _ne2.prototype._Gh = function(_NF) { return this._3i[_NF] }; _ne2.prototype._Wh = function(_LY1) { for (var _H3 = 0; _H3 < this._3i.length; _H3++) { if (_LY1._R3 < this._3i[_H3]._R3) { this._3i.splice(_H3, 0, _LY1); this._Ea++; this.length = this._3i.length; return _H3 } } this._3i[this._3i.length] = _LY1; this._Ea++; this.length = this._3i.length; return this.length - 1 }; _ne2.prototype._pe2 = function(_LY1) { if (this._oe2 < 0) { this._oe2 = this._3i.length } this._3i[this._3i.length] = _LY1; this._Ea++; this.length = this._3i.length; return this.length - 1 }; _ne2.prototype._r82 = function(_LY1) { var _H3 = this._oe2; if (_H3 < 0) return; var _Yh = []; while (_H3 < this._3i.length) { _Yh[_Yh.length] = this._3i[_H3]; _H3++ } this._3i.splice(this._oe2, this._3i.length - this._oe2); for (_H3 = 0; _H3 < _Yh.length; _H3++) { this._Wh(_Yh[_H3]) } this._oe2 = -1 }; _ne2.prototype._MK = function(_LY1) { for (var _H3 = 0; _H3 < this._3i.length; _H3++) { if (_LY1 == this._3i[_H3]) { this._3i.splice(_H3, 1); this._Ea--; this.length = this._3i.length; return ! 0 } } return ! 1 }; _ne2.prototype._zg = function() { this._3i = []; this.length = this._Ea = 0 }; _ne2.prototype._Gh = function(_NF) { return this._3i[_NF] }; _ne2.prototype._yh = function(_zh) { this._3i = _zh._3i.slice(); this.length = _zh.length; this._Ea = _zh._Ea; this._oe2 = _zh._oe2 }; var _qe2 = 0, _re2 = 1, _se2 = 2, _CH1 = 3, _wH1 = 4, _te2 = 5, _oH1 = 6, _ue2 = 7, _rH1 = 8, _yH1 = 9, _lH1 = 10, _ve2 = 11, _we2 = 12, _FH1 = 13, _xe2 = 14, _ye2 = 0, _ze2 = 1, _Ae2 = 2, _Be2 = 3, _Ce2 = 4, _De2 = 5, _Ee2 = 0, _Fe2 = 1, _Ge2 = 2, _He2 = 0, _Ie2 = 1, _Je2 = 2, _Ke2 = 3; function _Le2() { this._aP = _Me2; this._zg = _Me2; this._aP() } function _Me2() { this.__type = "[ParticleType]"; this._1j = !0; this._Ne2 = -1; this._Oe2 = !0; this._Pe2 = !1; this._Qe2 = !1; this._DP = _qe2; this._Re2 = 1.0; this._Se2 = 1.0; this._Te2 = 0.0; this._Ue2 = 0.0; this._dZ1 = 1.0; this._eZ1 = 1.0; this._Ve2 = 100; this._We2 = 100; this._Xe2 = 0; this._Ye2 = 0; this._Ze2 = 0; this.__e2 = 0; this._0f2 = 0.0; this._1f2 = 0.0; this._2f2 = 0.0; this._3f2 = 0.0; this._4f2 = 0.0; this._5f2 = 0.0; this._6f2 = 0.0; this._7f2 = 0.0; this._8f2 = 0.0; this._9f2 = 0.0; this._af2 = 0.0; this._bf2 = 0.0; this._cf2 = 0.0; this._df2 = 0.0; this._ef2 = 270.0; this._ff2 = _ye2; this._gf2 = []; this._gf2[0] = _4T1; this._gf2[1] = _4T1; this._gf2[2] = _4T1; this._hf2 = 1.0; this._if2 = 1.0; this._jf2 = 1.0; this._kf2 = !1 } function _lf2() { this._zg = _mf2; this._aP = _mf2; this._aP() } function _mf2() { this._1j = !0; this._Gp1 = 0; this._nf2 = 0; this._e52 = 0.0; this._f52 = 0.0; this._g52 = 0.0; this._h52 = 0.0; this._DP = _He2; this._of2 = _Ee2 } function _pf2() { this._qf2 = !1; this._nf2 = 0; this._rf2 = 0; this._sf2 = 0; this._f3 = 0; this._g3 = 0; this._h3 = 0; this._tf2 = 0; this._G12 = 0; this._bb = 0xffffff; this.alpha = 1.0; this._x3 = 0; this._uf2 = 0; this._vf2 = 0 } function _wf2() { this._zg = _xf2; this._aP = _xf2; this._aP() } function _xf2() { this._1j = !1; this._yf2 = []; this._zf2 = []; this._Af2 = !0; this._R3 = 0.0; this._Bf2 = 0.0; this._Cf2 = 0.0; this._Df2 = !0; this._Ef2 = !0 } function _tH1(_Fd) { var _T9 = _Pz(); return _T9 * _Fd } function _Ff2(_Gf2, _Hf2, _If2) { var _Gk = _Hf2 - _Gf2; if (_Gk <= 0) return _Gf2; var _0a = 0.0; var _nv = 0.0; switch (_If2) { case _Ee2: _nv = _Gf2 + _tH1(1) * _Gk; break; case _Fe2: { do { _0a = (_tH1(1) - 0.5) * 6.0 } while (( exp ( - ( _0a * _0a ) * 0.5) <= _tH1(1))); _nv = _Gf2 + ((_0a + 3.0) * (1.0 / 6.0)) * _Gk } break; case _Ge2: { do { _0a = (_tH1(1) - 0.5) * 6.0 } while (!( exp ( - ( _0a * _0a ) * 0.5) > _tH1(1))); if (_0a < 0.0) _0a += 6.0; _nv = _Gf2 + (_0a * (1.0 / 6.0)) * _Gk } break; default: _nv = _Gf2 + _tH1(1) * _Gk } return _nv } function _Jf2(_wh, _Fd) { var _tf2; if (_wh == 0) { if (_Fd > 0) { _tf2 = 270; } else if (_Fd < 0) { _tf2 = 90 } else { _tf2 = 0 } } else { var _Cw = 180.0 * (Math.atan2(_Fd, _wh)) / Math.PI; if (_Cw <= 0) { _tf2 = -_Cw } else { _tf2 = 360.0 - _Cw } } return _tf2 - 360.0 * Math.floor(_tf2 / 360.0) } function _Kf2(_pA, _Lf2) { return _Lf2 * Math.cos(_pA * Math.PI / 180.0) } function _Mf2(_pA, _Lf2) { return - _Lf2 * Math.sin(_pA * Math.PI / 180.0) } function _Nf2(_Of2) { _Pf2 = _hT1[_Of2._nf2]; { if (_Of2._rf2 <= 0 || _Of2._sf2 <= 0) { switch (_Pf2._ff2) { case _ye2: _Of2._bb = _Pf2._gf2[0]; break; case _ze2: _Of2._bb = _Pf2._gf2[0]; break; case _Ae2: _Of2._bb = _Pf2._gf2[0]; break; case _Be2: { var _T9 = ~~ (_Ff2(_Pf2._gf2[0], _Pf2._gf2[1], _Ee2)); var _jb = ~~ (_Ff2(_Pf2._gf2[2], _Pf2._gf2[3], _Ee2)); var _W9 = ~~ (_Ff2(_Pf2._gf2[4], _Pf2._gf2[5], _Ee2)); _Of2._bb = (_T9 << 16) + (_1b._jb << 8) + _1b._W9 } break; case _Ce2: { var _K3 = ~~ (_Ff2(_Pf2._gf2[0], _Pf2._gf2[1], _Ee2)); var _9q = ~~ (_Ff2(_Pf2._gf2[2], _Pf2._gf2[3], _Ee2)); var _xb = ~~ (_Ff2(_Pf2._gf2[4], _Pf2._gf2[5], _Ee2)); _Of2._bb = 0xffffff } break; case _De2: _Of2._bb = _Dd(_jt(_Pf2._gf2[0], _Pf2._gf2[1], _tH1(1))); break } } else { switch (_Pf2._ff2) { case _ze2: { var _cf = _Of2._rf2 / _Of2._sf2; if (_cf > 1) _cf = 1; _Of2._bb = _jt((_Pf2._gf2[0]), (_Pf2._gf2[1]), _cf) } break; case _Ae2: { var _cf = 2.0 * _Of2._rf2 / _Of2._sf2; if (_cf > 2) _cf = 2; if (_cf < 1) { _Of2._bb = _jt(_Pf2._gf2[0], _Pf2._gf2[1], _cf) } else { _Of2._bb = _jt(_Pf2._gf2[1], _Pf2._gf2[2], _cf - 1) } } break } } } } function _531(_V8, _W8, _Qf2) { var _nv = new _pf2; _Rf2 = _hT1[_Qf2]; if (_Rf2 == null || _Rf2 == undefined) return null; _nv._qf2 = !0; _nv._nf2 = _Qf2; _nv._f3 = _V8; _nv._g3 = _W8; _nv._h3 = _Ff2(_Rf2._0f2, _Rf2._1f2, 0); _nv._tf2 = _Ff2(_Rf2._4f2, _Rf2._5f2, 0); _nv._G12 = _Ff2(_Rf2._8f2, _Rf2._9f2, 0); _nv._sf2 = _Ff2(_Rf2._Ve2, _Rf2._We2, 0); _nv._rf2 = 0; _nv._bb = 0xffffff; _Nf2(_nv); _nv.alpha = _Rf2._hf2; _nv._x3 = _Ff2(_Rf2._Re2, _Rf2._Se2, 0); _nv._kf2 = _Rf2._kf2; if (_Rf2._Qe2) { _nv._uf2 = _tH1(10000) } else { _nv._uf2 = 0 } _nv._vf2 = _tH1(100000); return _nv } function _nj() { var _Dk = _hT1.length; _hT1[_Dk] = new _Le2(); return _Dk } function _tB(_U8) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return ! 1; _hT1[_U8] = null; return ! 0 } function _xB(_U8) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return ! 1; _hT1[_U8]._zg(); return ! 0 } function _vB(_U8) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return ! 1; return ! 0 } function _zB(_U8, _Tf2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._DP = _Tf2; _Sf2._Ne2 = -1 } function _BB(_U8, _ZH, _Uf2, _Vf2, _Wf2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._Ne2 = _ZH; _Sf2._Oe2 = _Uf2; _Sf2._Pe2 = _Vf2; _Sf2._Qe2 = _Wf2 } function _DB(_U8, _Xf2, _Yf2, _Zf2, __f2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._Re2 = _Xf2; _Sf2._Se2 = _Yf2; _Sf2._Te2 = _Zf2; _Sf2._Ue2 = __f2; } function _FB(_U8, __l, _0m) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._dZ1 = __l; _Sf2._eZ1 = _0m } function _5C(_U8, _0g2, _1g2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._Ve2 = _0g2; _Sf2._We2 = _1g2 } function _7C(_U8, _2g2, _3g2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._Ye2 = _2g2; _Sf2._Xe2 = _3g2 } function _9C(_U8, _4g2, _5g2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2.__e2 = _4g2; _Sf2._Ze2 = _5g2 } function _dC(_U8, _6g2, _7g2, _8g2, _9g2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._0f2 = _6g2; _Sf2._1f2 = _7g2; _Sf2._2f2 = _8g2; _Sf2._3f2 = _9g2 } function _fC(_U8, _ag2, _bg2, _cg2, _dg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._4f2 = _ag2; _Sf2._5f2 = _bg2; _Sf2._6f2 = _cg2; _Sf2._7f2 = _dg2 } function _bC(_U8, _eg2, _fg2, _gg2, _hg2, _ig2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._8f2 = _eg2; _Sf2._9f2 = _fg2; _Sf2._af2 = _gg2; _Sf2._bf2 = _hg2; _Sf2._cf2 = _ig2 } function _hC(_U8, _jg2, _kg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._df2 = _jg2; _Sf2._ef2 = _kg2 } function _VB(_U8, _lg2, _mg2, _ng2, _og2, _pg2, _qg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._ff2 = _Be2; _Sf2._gf2[0] = _lg2; _Sf2._gf2[1] = _mg2; _Sf2._gf2[2] = _ng2; _Sf2._gf2[3] = _og2; _Sf2._gf2[4] = _pg2; _Sf2._gf2[5] = _qg2 } function _pj(_U8, _9t, _at) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._ff2 = _De2; _Sf2._gf2[0] = _Dd(_9t); _Sf2._gf2[1] = _Dd(_at) } function _YB(_U8, _rg2, _sg2, _tg2, _ug2, _vg2, _wg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._ff2 = _Ce2; _Sf2._gf2[0] = _rg2; _Sf2._gf2[1] = _sg2; _Sf2._gf2[2] = _tg2; _Sf2._gf2[3] = _ug2; _Sf2._gf2[4] = _vg2; _Sf2._gf2[5] = _wg2 } function _JB(_U8, _xg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._ff2 = _ye2; _Sf2._gf2[0] = _Dd(_xg2) } function _qj(_U8, _xg2, _yg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._ff2 = _ze2; _Sf2._gf2[0] = _Dd(_xg2); _Sf2._gf2[1] = _Dd(_yg2) } function _OB(_U8, _xg2, _zg2, _yg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._ff2 = _ye2; _Sf2._gf2[0] = _Dd(_xg2); _Sf2._gf2[1] = _Dd(_zg2); _Sf2._gf2[2] = _Dd(_yg2) } function _0C(_U8, _Ag2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._hf2 = _Ag2; _Sf2._if2 = _Ag2; _Sf2._jf2 = _Ag2 } function _rj(_U8, _Ag2, _Bg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._hf2 = _Ag2; _Sf2._if2 = (_Ag2 + _Bg2) / 2.0; _Sf2._jf2 = _Bg2 } function _3C(_U8, _Ag2, _Cg2, _Bg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._hf2 = _Ag2; _Sf2._if2 = _Cg2; _Sf2._jf2 = _Bg2 } function _HB(_U8, _Dg2) { var _Sf2 = _hT1[_U8]; if (_Sf2 == null || _Sf2 == undefined) return; _Sf2._kf2 = _Dg2 } function _jC(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return - 1; var _Dk = _Eg2._zf2.length; _Eg2._zf2[_Dk] = new _lf2(); return _Dk } function _lC(_kH1, _U8) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return ! 1; var _Fg2 = _Eg2._zf2[_U8]; if (_Fg2 == null || _Fg2 == undefined) return ! 1; _Eg2._zf2[_U8] = null; return ! 0 } function _nC(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return ! 1; _Eg2._zf2 = []; return ! 0 } function _pC(_kH1, _U8) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return ! 1; var _Fg2 = _Eg2._zf2[_U8]; if (_Fg2 == null || _Fg2 == undefined) return ! 1; return ! 0 } function _rC(_kH1, _U8) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return ! 1; var _Fg2 = _Eg2._zf2[_U8]; if (_Fg2 == null || _Fg2 == undefined) return ! 1; _Fg2._aP() } function _tC(_kH1, _U8, _Gg2, _Hg2, _Ig2, _Jg2, _Tf2, _Kg2) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; var _Fg2 = _Eg2._zf2[_U8]; if (_Fg2 == null || _Fg2 == undefined) return; _Fg2._e52 = _Gg2; _Fg2._f52 = _Hg2; _Fg2._g52 = _Ig2; _Fg2._h52 = _Jg2; _Fg2._DP = _Tf2; _Fg2._of2 = _Kg2 } function _vC(_kH1, _U8, _Lg2, _Mg2) { if (_Mg2 < 0) { var _Pz = _tH1( - _Mg2) | 0; if (_Pz == 0) { _Mg2 = 1 } else { return } } var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; var _Fg2 = _Eg2._zf2[_U8]; if (_Fg2 == null || _Fg2 == undefined) return; for (var _H3 = 0; _H3 <= _Mg2 - 1; _H3++) { var _0a, _2a; var _Ng2 = !1; while (_Ng2 == !1) { _0a = _Ff2(0.0, 1.0, _Fg2._of2); _2a = _Ff2(0.0, 1.0, _Fg2._of2); if ((_Fg2._of2 == _Ge2) && (_Fg2._DP != _Ke2)) { if (_tH1() < 0.5) { _0a = _Ff2(0.0, 1.0, 0) } else { _2a = _Ff2(0.0, 1.0, 0) } } switch (_Fg2._DP) { case _He2: _Ng2 = !0; break; case _Ie2: { var _Yb = _0a - 0.5; var _Zb = _2a - 0.5; if ((_Yb * _Yb + _Zb * _Zb) <= 0.25) _Ng2 = !0; break } case _Je2: if ((Math.abs(_0a - 0.5) + Math.abs(_2a - 0.5)) <= 0.5) _Ng2 = !0; break; case _Ke2: _Ng2 = !0; break; default: _Ng2 = !0; break } } if (_Fg2._DP == _Ke2) { _jB(_kH1, _Fg2._e52 + (_Fg2._f52 - _Fg2._e52) * _0a, _Fg2._g52 + (_Fg2._h52 - _Fg2._g52) * _0a, _Lg2, 1) } else { _jB(_kH1, _Fg2._e52 + (_Fg2._f52 - _Fg2._e52) * _0a, _Fg2._g52 + (_Fg2._h52 - _Fg2._g52) * _2a, _Lg2, 1) } } } function _xC(_kH1, _U8, _Lg2, _Mg2) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; var _Fg2 = _Eg2._zf2[_U8]; if (_Fg2 == null || _Fg2 == undefined) return; _Fg2._Gp1 = _Mg2; _Fg2._nf2 = _Lg2 } function _jB(_kH1, _V8, _W8, _Qf2, _Mg2) { _Mg2 = ~~_Mg2; _Qf2 = ~~_Qf2; var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; var _Rf2 = _hT1[_Qf2]; if (_Rf2 == null || _Rf2 == undefined) return ! 1; for (var _H3 = 0; _H3 < _Mg2; _H3++) { var index = _Eg2._yf2.length; _Eg2._yf2[index] = _531(_V8, _W8, _Qf2) } } function _lB(_kH1, _V8, _W8, _Qf2, _Sd, _Mg2) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; var _Rf2 = _hT1[_Qf2]; if (_Rf2 == null || _Rf2 == undefined) return ! 1; for (var _H3 = 1; _H3 <= _Mg2; _H3++) { var index = _Eg2._yf2.length; _Eg2._yf2[index] = _531(_V8, _W8, _Qf2); _Eg2._yf2[index]._bb = _Dd(_Sd) } } function _oB(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return ! 1; _Eg2._yf2 = []; return ! 0 } function _qB(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return 0; return _Eg2._yf2.length } function _mj() { var index = _iT1.length; _iT1[index] = new _wf2(); _iT1[index]._zg(); return index } function _1B(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return ! 1; return ! 0 } function __A(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _iT1[_kH1] = null; return ! 0 } function _3B(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _Eg2._zg() } function _Og2() { for (var _nQ = 0; _nQ < _iT1.length; _nQ++) { if (!_iT1.hasOwnProperty(_nQ)) continue; var _Eg2 = _iT1[_nQ]; if (_Eg2) { _Eg2._yf2 = [] } } } function _5B(_kH1, _Pg2) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _Eg2._Af2 = _Pg2 } function _7B(_kH1, _Uj1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _Eg2._R3 = _Uj1 } function _9B(_kH1, _V8, _W8) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _Eg2._Bf2 = _V8; _Eg2._Cf2 = _W8 } function _bB(_kH1, _Qg2) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _Eg2._Df2 = _Qg2 } function _dB(_kH1, _Qg2) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; _Eg2._Ef2 = _Qg2 } function _Rg2(_kH1) { var _H3 = 0; var _P9 = 0; var _Dk = 0; var _Eg2 = _iT1[_kH1]; var _Sg2 = _Eg2._yf2; _H3 = 0; while (_H3 < _Sg2.length) { var _Tg2 = _Sg2[_H3]; var _Rf2 = _hT1[_Tg2._nf2]; _Tg2._rf2++; if (_Tg2._rf2 >= _Tg2._sf2) { _P9 = _Rf2.__e2; if (_P9 < 0) { if (_tH1( - _P9) == 0) _P9 = 1 } if (_P9 > 0) { _jB(_kH1, _Tg2._f3, _Tg2._g3, _Rf2._Ze2, _P9) } _Sg2.splice(_H3, 1) } else { _P9 = _Rf2._Ye2; if (_P9 < 0) { if (_tH1( - _P9) == 0) _P9 = 1 } if (_P9 > 0) { _jB(_kH1, _Tg2._f3, _Tg2._g3, _Rf2._Xe2, _P9) } _H3++ } } } function _Ug2(_kH1) { var _H3 = 0; var __9 = 0; var _H7 = 0.0; var _G7 = 0.0; var _Gt = 0.0; var _ic = 0.0; var _Vg2 = 0.0; var _i71 = 0.0; var _Wg2 = 0.0; var _Xg2 = 0.0; var _Yg2 = 0.0; var _Zg2 = 0.0; var __g2 = 0.0; var _Eg2 = _iT1[_kH1]; var _Sg2 = _Eg2._yf2; for (_H3 = 0; _H3 < _Sg2.length; _H3++) { var _Tg2 = _Sg2[_H3]; var _Rf2 = _hT1[_Tg2._nf2]; _Tg2._h3 = _Tg2._h3 + _Rf2._2f2; if (_Tg2._h3 < 0) _Tg2._h3 = 0; _Tg2._tf2 = _Tg2._tf2 + _Rf2._6f2; _Tg2._G12 = _Tg2._G12 + _Rf2._af2; _Xg2 = 0; _Yg2 = 0; if ((_Rf2._df2 != 0) || (_Eg2._0h2 > 0)) { _H7 = _Kf2(_Tg2._tf2, _Tg2._h3); _G7 = _Mf2(_Tg2._tf2, _Tg2._h3); if (_Rf2._df2 != 0) { _Gt = _Kf2(_Rf2._ef2, _Rf2._df2); _ic = _Mf2(_Rf2._ef2, _Rf2._df2); _H7 = _H7 + _Gt; _G7 = _G7 + _ic } _Tg2._tf2 = _Jf2(_H7, _G7); _Tg2._h3 = Math.sqrt(_H7 * _H7 + _G7 * _G7) } _Zg2 = ((_Tg2._rf2 + 3 * _Tg2._vf2) % 24) / 6.0; if (_Zg2 > 2.0) { _Zg2 = 4.0 - _Zg2 } _Zg2 = _Zg2 - 1.0; __g2 = ((_Tg2._rf2 + 4 * _Tg2._vf2) % 20) / 5.0; if (__g2 > 2.0) { __g2 = 4.0 - __g2 } __g2 = __g2 - 1.0; _H7 = _Kf2(_Tg2._tf2 + _Zg2 * _Rf2._7f2, _Tg2._h3 + __g2 * _Rf2._3f2); _G7 = _Mf2(_Tg2._tf2 + _Zg2 * _Rf2._7f2, _Tg2._h3 + __g2 * _Rf2._3f2); _Tg2._f3 = _Tg2._f3 + _H7 + _Xg2; _Tg2._g3 = _Tg2._g3 + _G7 + _Yg2 } } function _1h2(_kH1) { var _Eg2 = _iT1[_kH1]; var _Sg2 = _Eg2._yf2; for (var _H3 = 0; _H3 < _Sg2.length; _H3++) { var _Tg2 = _Sg2[_H3]; var _Rf2 = _hT1[_Tg2._nf2]; _Tg2._x3 = _Tg2._x3 + _Rf2._Te2; if (_Tg2._x3 < 0) { _Tg2._x3 = 0 } _Nf2(_Tg2); var _2h2; if (_Tg2._sf2 > 0) { _2h2 = 2.0 * _Tg2._rf2 / _Tg2._sf2 } else { _2h2 = 1 } if (_2h2 < 1) { _Tg2.alpha = _Rf2._hf2 * (1.0 - _2h2) + _Rf2._if2 * _2h2; } else { _Tg2.alpha = _Rf2._if2 * (2.0 - _2h2) + _Rf2._jf2 * (_2h2 - 1) } } } function _fB(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return 0; _Rg2(_kH1); _Ug2(_kH1); _1h2(_kH1); var _3h2 = _Eg2._zf2; if (_3h2) { for (var _H3 = 0; _H3 < _3h2.length; _H3++) { if (_3h2[_H3] != null && _3h2[_H3]._Gp1 != 0) { _vC(_kH1, _H3, _3h2[_H3]._nf2, _3h2[_H3]._Gp1) } } } } function _4h2() { for (var _H3 = 0; _H3 < _iT1.length; _H3++) { var _Eg2 = _iT1[_H3]; if (_Eg2 != null) { if (_Eg2._Df2) { _fB(_H3) } } } } function _5h2(_Of2, _DC, _EC) { var _wG = null; var _ho1 = null; if (_Of2._sf2 <= 0) return; var _Rf2 = _hT1[_Of2._nf2]; _wG = _Ry._Gh(_Rf2._Ne2); if (_wG == null) { var _DP = _Rf2._DP; if ((_DP >= 0) && (_DP < _xe2)) { _ho1 = _gT1[_DP] } else { return } } var _C9; if (_ho1 != null) {} else { if (_wG._ju <= 0) return; if (!_Rf2._Oe2) { _C9 = _Of2._uf2 } else if (_Rf2._Pe2) { _C9 = _Of2._uf2 + (_wG._P9 * _Of2._rf2 / _Of2._sf2) } else { _C9 = _Of2._uf2 + _Of2._rf2 } } var _T9 = ((_Of2._rf2 + 2 * _Of2._vf2) % 16) / 4.0; if (_T9 > 2.0) _T9 = 4.0 - _T9; _T9 = _T9 - 1.0; var _BG1 = _Of2._G12; if (_Rf2._cf2) _BG1 = _BG1 + _Of2._tf2; _BG1 = _BG1 + _T9 * _Rf2._bf2; _T9 = ((_Of2._rf2 + _Of2._vf2) % 16) / 4.0; if (_T9 > 2.0) _T9 = 4.0 - _T9; _T9 = _T9 - 1.0; _2x(_Of2._kf2 ? 1 : 0); var _9q = _Of2._x3 + _T9 * _Rf2._Ue2; var _I3 = _Of2._bb; if (_ho1 != null) { var _dZ1, _eZ1, _G12; var _s12 = _Rf2._dZ1 * _9q; var _t12 = _Rf2._eZ1 * _9q; var _6h2 = _BG1; var _7h2 = ~~ (_Of2._f3 + _DC); var _8h2 = ~~ (_Of2._g3 + _EC); if (_s12 == 1 && _t12 == 1 && _6h2 == 0 && _Of2._bb == 0xffffff) { _T12(_ho1, _7h2, _8h2, _Of2.alpha) } else { _722(_ho1, 0, 0, _7h2, _8h2, _s12, _t12, _6h2 * 0.017453293, _I3, _I3, _I3, _I3, _Of2.alpha) } } else { _wG._6b(_C9, _Of2._f3 + _DC, _Of2._g3 + _EC, _hT1[_Of2._nf2]._dZ1 * _9q, _hT1[_Of2._nf2]._eZ1 * _9q, _BG1, _I3, _Of2.alpha) } } function _hB(_kH1) { var _Eg2 = _iT1[_kH1]; if (_Eg2 == null || _Eg2 == undefined) return; var _Sg2 = _Eg2._yf2; if (_Eg2._Af2) { for (var _H3 = 0; _H3 < _Eg2._yf2.length; _H3++) { _5h2(_Sg2[_H3], _Eg2._Bf2, _Eg2._Cf2) } } else { for (var _H3 = _Eg2._yf2.length - 1; _H3 >= 0; _H3--) { _5h2(_Sg2[_H3], _Eg2._Bf2, _Eg2._Cf2) } } _2x(0) } function _9h2(_ah2) { for (var _H3 = 0; _H3 < _iT1.length; _H3++) { var _Eg2 = _iT1[_H3]; if (_Eg2 != null) { if (_Eg2._Ef2) { if (Math.abs(_Eg2._R3 - _ah2) < 0.01) _hB(_H3) } } } } function _bh2() { var _nv = -1000000000; for (var _H3 = 0; _H3 < _iT1.length; _H3++) { var _Eg2 = _iT1[_H3]; if (_Eg2 != null && _Eg2._yf2.length > 0) { if (_Eg2._Ef2) { if (_Eg2._R3 > _nv) _nv = _Eg2._R3; } } } return _nv } function _ch2(_ah2) { var _nv = -1000000000; for (var _H3 = 0; _H3 < _iT1.length; _H3++) { var _Eg2 = _iT1[_H3]; if (_Eg2 != null && _Eg2._yf2.length > 0) { if (_Eg2._Ef2) { if ((_Eg2._R3 > _nv) && (_Eg2._R3 < _ah2)) _nv = _Eg2._R3 } } } return _nv } var _dh2 = 0, _eh2 = 1; var _fh2 = 0; function _gh2(_V8, _W8, _Ui) { this._f3 = _V8; this._g3 = _W8; this._h3 = _Ui; this._R9 = 0 } function _hh2() { this.__type = "[Path]"; this.name = ""; this.id = _fh2++; this._b3 = 0; this._c3 = 1; this._d3 = 4; this._zg() } _hh2.prototype._zg = function() { this._e3 = []; this._ih2 = []; this._Ea = 0; this._jh2 = 0; this.length = 0 }; _hh2.prototype._kh2 = function() { var _H3 = 0; this.length = 0; if (this._jh2 <= 0) return; this._ih2[0]._R9 = 0; for (_H3 = 1; _H3 < this._jh2; _H3++) { this._ih2[_H3]._R9 = this.length = this.length + sqrt(_do(this._ih2[_H3]._f3 - this._ih2[_H3 - 1]._f3) + _do(this._ih2[_H3]._g3 - this._ih2[_H3 - 1]._g3)); } }; _hh2.prototype._lh2 = function(_042, _142, _mh2) { this._jh2++; var _nh2 = new _gh2(); this._ih2[this._jh2 - 1] = _nh2; _nh2._f3 = _042; _nh2._g3 = _142; _nh2._h3 = _mh2 }; _hh2.prototype._oh2 = function() { this._jh2 = 0; if (this._Ea <= 0) return; for (var _H3 = 0; _H3 < this._Ea; _H3++) { this._lh2(this._e3[_H3]._f3, this._e3[_H3]._g3, this._e3[_H3]._h3) } if (this._c3) { this._lh2(this._e3[0]._f3, this._e3[0]._g3, this._e3[0]._h3) } }; _hh2.prototype._ph2 = function(_Uj1, _aa, _ba, _jp, _x9, _y9, _kp, _fw, _gw, _qh2) { if (_Uj1 == 0) return; var _ga = (_aa + _x9 + _x9 + _fw) / 4.0; var _ha = (_ba + _y9 + _y9 + _gw) / 4.0; var _Wo = (_jp + _kp + _kp + _qh2) / 4.0; if (_do(_x9 - _aa) + _do(_y9 - _ba) > 16.0) { this._ph2(_Uj1 - 1, _aa, _ba, _jp, (_x9 + _aa) / 2.0, (_y9 + _ba) / 2.0, (_kp + _jp) / 2.0, _ga, _ha, _Wo) } this._lh2(_ga, _ha, _Wo); if (_do(_x9 - _fw) + _do(_y9 - _gw) > 16.0) { this._ph2(_Uj1 - 1, _ga, _ha, _Wo, (_fw + _x9) / 2.0, (_gw + _y9) / 2.0, (_qh2 + _kp) / 2.0, _fw, _gw, _qh2) } }; _hh2.prototype._rh2 = function() { var _H3 = 0; var _C9 = 0; this._jh2 = 0; if (this._Ea <= 0) return; if (!this._c3) { this._lh2(this._e3[0]._f3, this._e3[0]._g3, this._e3[0]._h3) } if (this._c3) { _C9 = this._Ea - 1 } else { _C9 = this._Ea - 3 } for (_H3 = 0; _H3 <= _C9; _H3++) { var _S11 = this._e3[_H3 % this._Ea]; var _T11 = this._e3[(_H3 + 1) % this._Ea]; var _sh2 = this._e3[(_H3 + 2) % this._Ea]; this._ph2(this._d3, (_S11._f3 + _T11._f3) / 2.0, (_S11._g3 + _T11._g3) / 2.0, (_S11._h3 + _T11._h3) / 2.0, _T11._f3, _T11._g3, _T11._h3, (_T11._f3 + _sh2._f3) / 2.0, (_T11._g3 + _sh2._g3) / 2.0, (_T11._h3 + _sh2._h3) / 2.0) } if (!this._c3) { this._lh2(this._e3[this._Ea - 1]._f3, this._e3[this._Ea - 1]._g3, this._e3[this._Ea - 1]._h3) } else { this._lh2(this._ih2[0]._f3, this._ih2[0]._g3, this._ih2[0]._h3) } }; _hh2.prototype._th2 = function() { if (this._b3 == 1) { this._rh2() } else { this._oh2() } this._kh2() }; function _IW1(_4Z1) { var _FC = new _hh2(); if ((_4Z1 != undefined) && (_4Z1 != null)) { if (_4Z1._d3 != undefined) { _FC._d3 = _4Z1._d3 } if (_4Z1._c3 != undefined) { _FC._c3 = _4Z1._c3 } if (_4Z1._b3 != undefined) { _FC._b3 = _4Z1._b3 } if (_4Z1._Z2 != undefined) { _FC.name = _4Z1._Z2 } if (_4Z1._e3 != undefined) { _FC._Ea = _4Z1._e3.length } for (var _mv = 0; _mv < _4Z1._e3.length; _mv++) { var _uh2 = _4Z1._e3[_mv]; var _vh2 = new _gh2(_uh2._f3, _uh2._g3, _uh2._h3); _FC._e3[_FC._e3.length] = _vh2 } _FC._th2() } return _FC } var _wh2 = new _gh2(0, 0, 100); _hh2.prototype._JC = function(_U8) { var _Hn = 0; if (this._jh2 <= 0) { _wh2._f3 = 0; _wh2._g3 = 0; _wh2._h3 = 0; return _wh2 } if ((this._jh2 == 1) || (this.length == 0) || (_U8 <= 0)) { return this._ih2[0] } if (_U8 >= 1) { return this._ih2[this._jh2 - 1] } var _R9 = this.length * _U8; _Hn = 0; while ((_Hn < this._jh2 - 2) && (_R9 >= this._ih2[_Hn + 1]._R9)) { _Hn++ } var _L52 = this._ih2[_Hn]; _R9 = _R9 - _L52._R9; var _J3 = this._ih2[_Hn + 1]._R9 - _L52._R9; if (_J3 != 0) { _Hn++; _wh2._f3 = _L52._f3 + _R9 * (this._ih2[_Hn]._f3 - _L52._f3) / _J3; _wh2._g3 = _L52._g3 + _R9 * (this._ih2[_Hn]._g3 - _L52._g3) / _J3; _wh2._h3 = _L52._h3 + _R9 * (this._ih2[_Hn]._h3 - _L52._h3) / _J3; _L52 = _wh2 } return _L52 }; _hh2.prototype._H52 = function(_U8) { _mv = this._JC(_U8); return _mv._f3 }; _hh2.prototype._I52 = function(_U8) { _mv = this._JC(_U8); return _mv._g3 }; _hh2.prototype._xh2 = function(_DC, _EC) { for (var _H3 = 0; _H3 <= this._Ea - 1; _H3++) { this._e3[_H3]._f3 += _DC; this._e3[_H3]._g3 += _EC } this._th2() }; _hh2.prototype._yh2 = function() { var _e52 = 100000000; var _f52 = -100000000; var _g52 = 100000000; var _h52 = -100000000; for (var _H3 = 0; _H3 <= this._Ea - 1; _H3++) { if (this._e3[_H3]._f3 < _e52) _e52 = this._e3[_H3]._f3; if (this._e3[_H3]._f3 > _f52) _f52 = this._e3[_H3]._f3; if (this._e3[_H3]._g3 < _g52) _g52 = this._e3[_H3]._g3; if (this._e3[_H3]._g3 > _h52) _h52 = this._e3[_H3]._g3 } return new _gh2((_e52 + _f52) / 2.0, (_g52 + _h52) / 2.0, 0) }; _hh2.prototype._zh2 = function(_042, _142, _mh2) { _uh2 = new _gh2(_042, _142, _mh2); if (!this._e3) this._e3 = []; this._e3[this._e3.length] = _uh2; this._Ea++; this._th2() }; function _CV1() { this._a3 = []; _fh2 = 0 } _CV1.prototype._Wh = function(_Ah2) { this._a3[_Ah2.id] = _Ah2 }; _CV1.prototype._MK = function(_Ah2) { this._a3[_Ah2.id] = undefined }; function _Bh2(_Uj1) { this._R3 = _Uj1; this._Q3 = !0; this._Ch2 = new _Th() } _Bh2.prototype._Wh = function(_Dh2) { this._Ch2._Wh(_Dh2); }; _Bh2.prototype._MK = function(_Dh2) { this._Ch2._NY1(_Dh2) }; _Bh2.prototype._6b = function(_322) { if (!this._Q3) { return } var _3i = this._Ch2._3i; for (var index = 0; index < _3i.length; index++) { var _Eh2 = _3i[index]; if (_Eh2 != null) { var _Ze1 = _Eh2._f3 + (_Eh2._dZ1 * _Eh2._J3), _Fh2 = _Eh2._g3 + (_Eh2._eZ1 * _Eh2._K3); var _G9 = (_Eh2._f3 < _Ze1) ? _Eh2._f3: _Ze1, _I9 = (_Eh2._f3 > _Ze1) ? _Eh2._f3: _Ze1, _H9 = (_Eh2._g3 < _Fh2) ? _Eh2._g3: _Fh2, _J9 = (_Eh2._g3 > _Fh2) ? _Eh2._g3: _Fh2; if ((_G9 <= _322._q9) && (_H9 <= _322.bottom) && (_I9 >= _322.left) && (_J9 >= _322.top)) { _Eh2._6b() } } } }; _Bh2.prototype._RA = function() { return this._Ch2._3i }; function _Gh2() { this._Hh2 = new _ne2(); this._Ih2 = -1 } _Gh2.prototype._Gh = function(_Uj1) { var _Jh2; for (var index = 0; index < this._Hh2._Ea; index++) { _Jh2 = this._Hh2._Gh(index); if (_Jh2._R3 == _Uj1) return _Jh2 } return null }; _Gh2.prototype._MK = function(_Uj1) { var _Jh2 = this._Gh(_Uj1); if (_Jh2) { this._Hh2._MK(_Jh2) } }; _Gh2.prototype._Wh = function(_Dh2) { var _Jh2; _Jh2 = this._Gh(_Dh2._R3); if (!_Jh2) { _Jh2 = new _Bh2(_Dh2._R3); this._Hh2._Wh(_Jh2) } _Jh2._Wh(_Dh2) }; _Gh2.prototype._Kh2 = function(_Dh2) { _Jh2 = this._Gh(_Dh2._R3); if (_Jh2) { _Jh2._MK(_Dh2) } }; _Gh2.prototype._Lh2 = function() { this._Ih2 = this._Hh2.length - 1; return this._Hh2._Gh(this._Ih2) }; _Gh2.prototype._y_ = function() { this._Ih2--; if (this._Ih2 < 0) return null; return this._Hh2._Gh(this._Ih2) }; function _Mh2() { this._Di = []; this._L3 = 0; this._M31 = _Mh2.prototype._Nh2; this._L31 = _Mh2.prototype._Oh2 }; _Mh2.prototype._Ph2 = function() { return (this._Di.length == 0) }; _Mh2.prototype._Oh2 = function(_rF1) { this._Di.push(_rF1) }; _Mh2.prototype._Nh2 = function() { if (this._Ph2()) return undefined; var _oi = this._Di[this._L3]; if ((++this._L3 * 2) >= this._Di.length) { this._Di = this._Di.slice(this._L3); this._L3 = 0 } return _oi }; function _yW1() { this.id = _IT1++; this._KE() } _yW1.prototype._KE = function() { this.__type = "[Room]"; this._Qh2 = ""; this._Rh2 = ""; this._Sh2 = 30; this._Hn1 = 1024; this._In1 = 768; this._Th2 = !1; this._Uh2 = !1; this._Vh2 = 0xc0c0c0; this._Wh2 = !0; this._Xh2 = !0; this._Yh2 = !0; this._Zh2 = []; for (var _V9 = 0; _V9 < _OS1; _V9++) { this._Zh2[_V9] = null } this._Kg = !1; this.__h2 = null; this._Fy = new _ne2(); this._0i2 = new _Th(); this._0i2._Uh = !0; this._r42 = []; this._1i2 = 0; this._2i2 = []; this._3i2 = new _Gh2(); this._Mg = []; this._4i2 = []; this._HD = null; this._5i2 = "Room"; this._kD = null }; _yW1.prototype._6i2 = function() { return this._Kg }; _yW1.prototype._DH1 = function() { return this._Hn1 }; _yW1.prototype._DR = function() { return this._In1 }; _yW1.prototype._I8 = function() { return this._Sh2 }; _yW1.prototype._RA = function() { return this._Fy._3i }; _yW1.prototype._7i2 = function(_Dh) { this._Hn1 = _Dh; _w6._B6 = _Dh }; _yW1.prototype._8i2 = function(_Dh) { this._In1 = _Dh; _w6._z6 = _Dh }; _yW1.prototype._9i2 = function(_Dh) { this._Sh2 = _Dh; _w6._P_1 = _Dh; }; _yW1.prototype._ai2 = function(_J8) { this._5i2 = _J8 }; _yW1.prototype._bi2 = function(_ci2) { this._Rh2 = _ci2; _w6._O_1 = _ci2 }; _yW1.prototype._R02 = function(_Dh) { this._Th2 = _Dh; _w6._Q_1 = _Dh }; _yW1.prototype._di2 = function() { this._HD = { _Z2: "room_empty_" + this.id, width: 640, height: 480, _d5: [{}, {}, {}, {}, {}, {}, {}, {}], _e5: [{}, {}, {}, {}, {}, {}, {}, {}], _h5: [], _j5: [] }; this._zW1(this._HD) }; _yW1.prototype._ei2 = function(_4Z1) { if (_4Z1 != null) { this._HD.width = _4Z1.width; this._HD.height = _4Z1.height; this._HD._b5 = _4Z1._b5; this._HD._k5 = _4Z1._k5; this._HD._c5 = _4Z1._c5; this._HD._l5 = _4Z1._l5; this._HD._fi2 = _4Z1._fi2; this._HD._h3 = _4Z1._h3; this._HD._65 = _4Z1._65; for (var _H3 = 0; _H3 < _4Z1._d5.length; _H3++) { var _gi2 = _4Z1._d5[_H3]; if (_gi2 != null) { this._HD._d5[_H3] = { _Q3: _gi2._Q3, index: _gi2.index, _G7: _gi2._G7, _H7: _gi2._H7, _7Z1: _gi2._7Z1, _f3: _gi2._f3, _g3: _gi2._g3, _m5: _gi2._m5, _n5: _gi2._n5, _H7: _gi2._H7, _G7: _gi2._G7, _cZ1: _gi2._cZ1, alpha: _gi2.alpha, _iX1: _gi2._iX1 } } } for (var _H3 = 0; _H3 < _4Z1._e5.length; _H3++) { var _hi2 = _4Z1._e5[_H3]; if (_hi2) { this._HD._e5[_H3] = { _Q3: _hi2._Q3, _ii2: _hi2._ii2, _ji2: _hi2._ji2, _f5: _hi2._f5, _o5: _hi2._o5, _ki2: _hi2._ki2, _li2: _hi2._li2, _g5: _hi2._g5, _p5: _hi2._p5, _mi2: _hi2._mi2, _ni2: _hi2._ni2, _H7: _hi2._H7, _G7: _hi2._G7, index: _hi2.index } } } this._HD._h5 = new Array(_4Z1._h5.length); for (var _H3 = 0; _H3 < _4Z1._h5.length; _H3++) { var _oi2 = _4Z1._h5[_H3]; if (_oi2) { this._HD._h5[_H3] = { _f3: _oi2._f3, _g3: _oi2._g3, index: _oi2.index, id: _oi2.id, _i5: _oi2._qv1, _E3: _oi2._E3, _F3: _oi2._F3, _b5: _oi2._d42 } } } this._HD._j5 = new Array(_4Z1._h5.length); for (var _H3 = 0; _H3 < _4Z1._j5.length; _H3++) { var _pi2 = _4Z1._j5[_H3]; if (_pi2 != null) { this._HD._j5[_H3] = { _f3: _pi2._f3, _g3: _pi2._g3, index: _pi2.index, _qi2: _pi2._qi2, _ri2: _pi2._ri2, _J3: _pi2._J3, _K3: _pi2._K3, _R3: _pi2._R3, id: _pi2.id } } } } }; _yW1.prototype._zW1 = function(_si2) { this._KE(); this._HD = _si2; if (_si2._Z2 != undefined) this._ai2(_si2._Z2); if (_si2._fi2 != undefined) this._bi2(_si2._fi2); if (_si2.width != undefined) this._7i2(_si2.width); if (_si2.height != undefined) this._8i2(_si2.height); if (_si2._h3 != undefined) this._9i2(_si2._h3); if (_si2._65 != undefined) this._R02(_si2._65); if (_si2._b5 != undefined) this._Vh2 = _si2._b5; if (_si2._k5 != undefined) this._Wh2 = _si2._k5; if (_si2._c5 != undefined) this._Kg = _si2._c5; if (_si2._l5 != undefined) this._Xh2 = _si2._l5; if (_si2._ti2 != undefined) this._Yh2 = _si2._ti2; this._7i2(this._Hn1); this._8i2(this._In1); this._9i2(this._Sh2); this._bi2(this._Rh2); this._R02(this._Th2); this._Mg = []; this._1i2 = 0; for (var index = 0; index < _si2._j5.length; index++) { var _ui2 = _si2._j5[index]; if (_ui2 != null) { var _Eh2 = _vi2(_ui2); this._3i2._Wh(_Eh2); this._2i2[_Eh2.id] = _Eh2; this._1i2++ } } if (_si2._wi2 != undefined) this.__h2 = _si2._wi2; for (var _xb = 0; _xb < _si2._e5.length; _xb++) { this._Mg[_xb] = _xi2(_si2._e5[_xb]) } }; _yW1.prototype._yi2 = function() { if (this._HD._zi2) { this._kD = new _vu1(this._HD._Ai2, this._I8()); this._kD._621(this._HD._Bi2, this._HD._Ci2) } }; _yW1.prototype._Di2 = function() { var _H3; var _Ei2 = 0; var _Fi2 = []; for (_H3 = this._Fy.length - 1; _H3 >= 0; _H3--) { this._Gi2(this._Fy._Gh(0)) } for (_H3 = this._0i2.length - 1; _H3 >= 0; _H3--) { this._Gi2(this._0i2._Gh(0)) } }; _yW1.prototype._Hi2 = function() { var _H3, _J3, _K3; if (_H8._6i2()) {} else { _J3 = _H8._DH1(); _K3 = _H8._DR() } if (_J3 > _X12()) _J3 = _X12(); if (_K3 > _Y12()) _K3 = _Y12() }; _yW1.prototype.__i = function(_V8, _W8, _Vi) { return this._w42(_V8, _W8, _OT1++, _Vi, !0) }; _yW1.prototype._w42 = function(_V8, _W8, _Ch, _Ky, _Ii2, _Ji2, _Xq1, _Cd) { var _Ki2 = _Ii2; if (_Ki2 != !0 && _Ki2 != !1) { _Ki2 = !0 } else { _Ii2 = undefined } var _Li2 = new __32(_V8, _W8, _Ch, _Ky, _Ki2); this._Fy._pe2(_Li2); _dy._Wh(_Li2); if (_Ii2 != undefined) _Li2._v7 = _Ii2; if (_Ji2 != undefined) _Li2._J7 = _Ji2; if (_Xq1 != undefined) _Li2._qv1 = _Xq1; if (_Cd != undefined) _Li2._d42 = _Cd; _Li2._D42(); return _Li2 }; _yW1.prototype._Mi2 = function() { var index = 0; for (var _H3 = 0; _H3 < this._Mg.length; _H3++) { _Ng = this._Mg[_H3]; _w6._902[index] = _Ng._Q3; _w6._g8[index] = _Ng._jH; _w6._h8[index] = _Ng._kH; _w6._A6[index] = _Ng._lH; _w6._y6[index] = _Ng._mH; _w6._a02[index] = _Ng._nH; _w6._b02[index] = _Ng._oH; _w6._c02[index] = _Ng._pH; _w6._d02[index] = _Ng._qH; _w6._e02[index] = _Ng._0b; _w6._f02[index] = _Ng._mi2; _w6._g02[index] = _Ng._ni2; _w6._h02[index] = _Ng._H7; _w6._i02[index] = _Ng._G7; _w6._j02[index] = _Ng._Wi; _w6._O02[index] = _Ng._Ni2; index++ } }; _yW1.prototype._Oi2 = function() { var index = 0; for (var _H3 = 0; _H3 < this._Mg.length; _H3++) { _Ng = this._Mg[_H3]; _Ng._Q3 = _w6._902[index]; _Ng._jH = _w6._g8[index]; _Ng._kH = _w6._h8[index]; _Ng._lH = _w6._A6[index]; _Ng._mH = _w6._y6[index]; _Ng._nH = _w6._a02[index]; _Ng._oH = _w6._b02[index]; _Ng._pH = _w6._c02[index]; _Ng._qH = _w6._d02[index]; _Ng._0b = _w6._e02[index]; _Ng._mi2 = _w6._f02[index]; _Ng._ni2 = _w6._g02[index]; _Ng._H7 = _w6._h02[index]; _Ng._G7 = _w6._i02[index]; _Ng._Wi = _w6._j02[index]; _Ng._Ni2 = _w6._O02[index]; index++ } }; _yW1.prototype._Pi2 = function() { for (var _H3 = 0; _H3 < _Nj._gZ1.length; _H3++) { var _hZ1 = _Nj._Gh(_H3); _hZ1._H7 = _w6._302[_H3]; _hZ1._G7 = _w6._402[_H3]; _hZ1._f3 = _w6._W_1[_H3]; _hZ1._g3 = _w6._X_1[_H3]; _hZ1._f3 += _hZ1._H7; _hZ1._g3 += _hZ1._G7; _w6._W_1[_H3] = _hZ1._f3; _w6._X_1[_H3] = _hZ1._g3 } }; _yW1.prototype._Qi2 = function() { var _H3; var _R9, _V9, _b52, _Ri2; var _Ng; var _Ay; if (!this._Kg) return; this._Oi2(); for (_H3 = 0; _H3 < this._Mg.length; _H3++) { _Ng = this._Mg[_H3]; if ((_Ng._Q3) && (_Ng._Wi >= 0)) { _Ay = null; if (_Ng._Wi < 100000) { var _li = _Ys._Gh(_Ng._Wi); if (_li != null) { var _3i = _li._AD(); for (var _4s = 0; _4s < _3i.length; _4s++) { _Ay = _3i[_4s]; if (!_Ay._uy) break; _Ay = null } } } else { _Ay = _dy._Gh(_Ng._Wi); if (!_Ay && _Ay._uy) _Ay = null } if (_Ay != null) { _R9 = _Ng._jH; _V9 = _Ng._kH; _b52 = Math.round(_Ay._f3); _Ri2 = Math.round(_Ay._g3); if (2 * _Ng._mi2 >= _Ng._lH) { _R9 = _b52 - _Ng._lH / 2 } else if (_b52 - _Ng._mi2 < _Ng._jH) { _R9 = _b52 - _Ng._mi2 } else if (_b52 + _Ng._mi2 > _Ng._jH + _Ng._lH) { _R9 = _b52 + _Ng._mi2 - _Ng._lH } if (2 * _Ng._ni2 >= _Ng._mH) { _V9 = _Ri2 - _Ng._mH / 2 } else if (_Ri2 - _Ng._ni2 < _Ng._kH) { _V9 = _Ri2 - _Ng._ni2 } else if (_Ri2 + _Ng._ni2 > _Ng._kH + _Ng._mH) { _V9 = _Ri2 + _Ng._ni2 - _Ng._mH; } if (_R9 < 0) _R9 = 0; if (_R9 + _Ng._lH > this._Hn1) _R9 = this._Hn1 - _Ng._lH; if (_V9 < 0) _V9 = 0; if (_V9 + _Ng._mH > this._In1) _V9 = this._In1 - _Ng._mH; if (_Ng._H7 >= 0) { if ((_R9 < _Ng._jH) && (_Ng._jH - _R9 > _Ng._H7)) _R9 = _Ng._jH - _Ng._H7; if ((_R9 > _Ng._jH) && (_R9 - _Ng._jH > _Ng._H7)) _R9 = _Ng._jH + _Ng._H7 } if (_Ng._G7 >= 0) { if ((_V9 < _Ng._kH) && (_Ng._kH - _V9 > _Ng._G7)) _V9 = _Ng._kH - _Ng._G7; if ((_V9 > _Ng._kH) && (_V9 - _Ng._kH > _Ng._G7)) _V9 = _Ng._kH + _Ng._G7 } _Ng._jH = _R9; _Ng._kH = _V9 } } } this._Mi2() }; var _Si2 = !1; _yW1.prototype._Ti2 = function(_322) { var _Jh2 = this._3i2._Lh2(); var _Ui2 = _Jh2._R3; for (var _H3 = this._Fy.length - 1; _H3 >= 0; _H3--) { var _Ay = this._Fy._Gh(_H3); if (_Ay._uy || _Ay._Q3 == 0) continue; while (_Ui2 > _Ay._R3) { _Jh2._6b(_322); _Jh2 = this._3i2._y_(); if (_Jh2) { _Ui2 = _Jh2._R3 } else { _Ui2 = -1000000000000 } } if (!_Ay._PH1[_1L1]) { var _Qy = _Ry._Gh(_Ay._Ny); if (_Qy) { if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) { _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad) } else { _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad) } } } else { _Ay._g9(_1L1, 0, _Ay, _Ay) } } while (_Jh2) { _Jh2._6b(_322); _Jh2 = this._3i2._y_() } }; _yW1.prototype._Vi2 = function(_322) { var _Qy, _Ay, _H3, _3i, _Y02; _3i = this._Fy._3i; _Y02 = _Ry._Y2; for (_H3 = _3i.length - 1; _H3 >= 0; _H3--) { _Ay = _3i[_H3]; if (_Ay._uy || !_Ay._Q3) continue; if (!_Ay._PH1[_1L1]) { _Qy = _Y02[_Ay._Ny]; if (_Qy) { _na = _Ay; if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) { _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad) } else { _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad) } _na = null } } else { _Ay._g9(_1L1, 0, _Ay, _Ay) } } }; _yW1.prototype._Wi2 = function(_322) { var _Xi2 = _bh2(); for (var _H3 = this._Fy.length - 1; _H3 >= 0; _H3--) { var _Ay = this._Fy._Gh(_H3); if (_Ay._uy || _Ay._Q3 == 0) continue; var _Yi2 = _Xi2; while (_Xi2 > _Ay._R3) { _9h2(_Xi2); _Xi2 = _ch2(_Xi2); if (_Xi2 == _Yi2) { break } _Yi2 = _Xi2 } if (!_Ay._PH1[_1L1]) { var _Qy = _Ry._Gh(_Ay._Ny); if (_Qy) { if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) { _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad) } else { _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad) } } } else { _Ay._g9(_1L1, 0, _Ay, _Ay) } } while (_Xi2 > -1000000000) { _9h2(_Xi2); _Xi2 = _ch2(_Xi2) } }; _yW1.prototype._Zi2 = function(_322) { var _Xi2 = _bh2(); var _Jh2 = this._3i2._Lh2(); var __i2 = _Jh2._R3; for (var _H3 = this._Fy.length - 1; _H3 >= 0; _H3--) { var _Ay = this._Fy._Gh(_H3); if (_Ay._uy || _Ay._Q3 == 0) continue; while (!0) { if (__i2 > _Ay._R3) { if (__i2 > _Xi2) { _Jh2._6b(_322); _Jh2 = this._3i2._y_(); if (_Jh2) { __i2 = _Jh2._R3 } else { __i2 = -1000000000000 } } else { _9h2(_Xi2); _Xi2 = _ch2(_Xi2) } } else if (_Xi2 > _Ay._R3) { _9h2(_Xi2); _Xi2 = _ch2(_Xi2) } else { break } } if (!_Ay._PH1[_1L1]) { var _Qy = _Ry._Gh(_Ay._Ny); if (_Qy) { if ((_Ay._v7 == 1.0) && (_Ay._J7 == 1.0) && (_Ay._qv1 == 0.0) && (_Ay._d42 == 0xffffff)) { _Qy._0I(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._c42 * _Ad) } else { _Qy._6b(_Ay._L7, _Ay._f3, _Ay._g3, _Ay._v7, _Ay._J7, _Ay._qv1, _Ay._d42, _Ay._c42 * _Ad) } } } else { _Ay._g9(_1L1, 0, _Ay, _Ay) } } while (!0) { if (__i2 > _Xi2) { _Jh2._6b(_322); _Jh2 = this._3i2._y_(); if (_Jh2) { __i2 = _Jh2._R3 } else { __i2 = -1000000000000 } } else { if (_Xi2 <= -1000000000) break; _9h2(_Xi2); _Xi2 = _ch2(_Xi2) } } }; _yW1.prototype._0j2 = function(_322) { _gH = _322; if (this._Wh2) { _V12(_Dd(_w6._R_1)) } this._1j2(_322, _QL1); for (var _H3 = 0; _H3 < _Nj._gZ1.length; _H3++) { var _hZ1 = _Nj._Gh(_H3); if (_hZ1) { _hZ1._Q3 = _w6._T_1[_H3]; _hZ1._7Z1 = _w6._U_1[_H3]; _hZ1._f3 = _w6._W_1[_H3]; _hZ1._g3 = _w6._X_1[_H3]; _hZ1.index = _w6._V_1[_H3]; _hZ1._8Z1 = _w6.___1[_H3]; _hZ1._9Z1 = _w6._002[_H3]; _hZ1.alpha = _w6._602[_H3]; _hZ1._iX1 = _w6._502[_H3]; _hZ1._H7 = _w6._302[_H3]; _hZ1._G7 = _w6._402[_H3]; _hZ1._dZ1 = _w6._102[_H3]; _hZ1._eZ1 = _w6._202[_H3]; if (_hZ1 != null && _hZ1._Q3 && !_hZ1._7Z1) { var _hG = _Nj._Xj(_hZ1.index); if (_hG != null) { if (_hZ1._cZ1) { _NH(_hG._Mj, _hZ1._f3, _hZ1._g3, this._Hn1, this._In1, _hZ1._iX1, _hZ1.alpha) } else { _U12(_hG._Mj, _hZ1._f3, _hZ1._g3, _hZ1._dZ1, _hZ1._eZ1, _hZ1._9Z1, _hZ1._8Z1, _hZ1._iX1, _hZ1.alpha) } } } } } if (this._3i2._Hh2._Ea > 0) { if (_iT1.length != 0) { this._Zi2(_322) } else { this._Ti2(_322) } } else if (_iT1.length != 0) { this._Wi2(_322) } else { this._Vi2(_322) } for (var _H3 = 0; _H3 < _Nj._gZ1.length; _H3++) { var _hZ1 = _Nj._Gh(_H3); if (_hZ1 != null && _hZ1._Q3 && _hZ1._7Z1) { var _hG = _Nj._Xj(_hZ1.index); if (_hG != null) { if (_hZ1._cZ1) { _NH(_hG._Mj, _hZ1._f3, _hZ1._g3, this._Hn1, this._In1, _hZ1._iX1, _hZ1.alpha) } else { _U12(_hG._Mj, _hZ1._f3, _hZ1._g3, _hZ1._dZ1, _hZ1._eZ1, _hZ1._9Z1, _hZ1._8Z1, _hZ1._iX1, _hZ1.alpha) } } } } this._1j2(_322, _RL1) }; _yW1.prototype._2j2 = function() { if (_7U1 >= 0) { var _fG = _Ry._Gh(_7U1); if (_fG != null) { _fG._6b(_8U1, _dh._gI1 - _Pg.left, _dh._hI1 - _Pg.top, 1.0, 1.0, 0, 0xffffff, 1.0) } _8U1++; if (_8U1 > _fG._P9) _8U1 -= _fG._P9 } }; _yW1.prototype._1j2 = function(_322, _fr) { var _Qy, _Ay, _H3, _3i, _Y02; _3i = this._Fy._3i; _Y02 = _Ry._Y2; for (_H3 = _3i.length - 1; _H3 >= 0; _H3--) { _Ay = _3i[_H3]; if (_Ay._uy || !_Ay._Q3) continue; if (_Ay._PH1[_fr]) { _Ay._g9(_fr, 0, _Ay, _Ay) } } }; _yW1.prototype._3j2 = function(_T9) { _iH = _XU1; _iH._Qg = 0; _iH._Sg = 0; _iH._rH = _T9._q9; _iH._sH = _T9.bottom; _iH._Rg = _T9._q9; _iH._Tg = _T9.bottom; _iH._4j2 = 1.0; _iH._5j2 = 1.0; _h22(); { _tH(0, 0, _T9._q9, _T9.bottom); _uH(0, 0, _T9._q9, _T9.bottom, 0); if (this._Yh2 && _AL) { _V12(_5I) } this._1j2(_T9, _UL1) } _j22() }; _yW1.prototype._6j2 = function() { if (_AL) { if (_RG < 0) { _RG = _Dj(_BL, _CL); _w6._N02 = _RG; debug("Application Surface created: w=" + _BL + ", h=" + _CL) } if (_SG) { _SG = !1; _Dj(_TG, _UG, _RG); _BL = _TG; _CL = _UG; debug("Application Surface resized: w=" + _BL + ", h=" + _CL); _7j2() } _5H(_RG) } }; _yW1.prototype._8j2 = function(_T9) { var _9j2 = new _Iq(); _9j2._yh(_gH); this._Qi2(); var _Jg; if (!this._Kg) { _Jg = _Lg; _lI = _BL / _H8._Hn1; _mI = _CL / _H8._In1 } else { _Jg = this._Mg; if (this._Xh2) { _tH(0, 0, _BL, _CL); _uH(0, 0, _BL, _CL, 0); _V12(_5I) } } var _aj2 = _gH._q9 - _gH.left; var _bj2 = _gH.bottom - _gH.top; var _cj2 = _DL._J3 / _aj2; var _dj2 = _DL._K3 / _bj2; var _932 = _BL / _aj2; var _a32 = _CL / _bj2; _xT1 = 0; for (_H3 = 0; _H3 < _Jg.length; _H3++) { _iH = _Jg[_H3]; if (_iH._Q3) { var _ej2 = _yH; _h22(); { if (_iH._Ni2 != -1) { _5H(_iH._Ni2) } _iH._Qg = _iH._nH * _cj2 + _DL._f3; _iH._Sg = _iH._oH * _dj2 + _DL._g3; _iH._rH = _iH._pH * _cj2; _iH._sH = _iH._qH * _dj2; _iH._Rg = _iH._Qg + _iH._rH; _iH._Tg = _iH._Sg + _iH._sH; _iH._4j2 = _iH._rH / _iH._lH; _iH._5j2 = _iH._sH / _iH._mH; if (_iH._Ni2 != -1) { _tH(0, 0, _3H(_iH._Ni2), _4H(_iH._Ni2)) } else { _tH(_iH._nH * _932, _iH._oH * _a32, _iH._pH * _932, _iH._qH * _a32) } _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH, _iH._0b); _T9.left = _iH._jH; _T9.top = _iH._kH; _T9._q9 = _iH._jH + _iH._lH; _T9.bottom = _iH._kH + _iH._mH; _w6._802 = _xT1; this._0j2(_T9); if (_iH._Ni2 != -1) { _vH() } _xT1++ } _j22() } } _gH._yh(_9j2) }; _yW1.prototype._fj2 = function(_T9) { _h22({ _gj2: !0, _hj2: !0 }); { if (_ij2 && _AL) { _T9.left = 0; _T9.top = 0; _T9._q9 = _oI(); _T9.bottom = _pI(); var rect = _DL; _tH(0, 0, _T9._q9, _T9.bottom); _uH(0, 0, _T9._q9, _T9.bottom, 0); _MH(_RG, rect._f3, rect._g3, rect._J3, rect._K3); } } _j22({ _jj2: !0, _kj2: !0 }) }; _yW1.prototype._lj2 = function(_T9) { _T9.left = 0; _T9.top = 0; _T9._q9 = _oI(); _T9.bottom = _pI(); _iH = _XU1; _iH._Qg = 0; _iH._Sg = 0; _iH._rH = _T9._q9; _iH._sH = _T9.bottom; _iH._Rg = _T9._q9; _iH._Tg = _T9.bottom; _iH._4j2 = 1.0; _iH._5j2 = 1.0; _h22(); { _tH(0, 0, _T9._q9, _T9.bottom); _uH(0, 0, _T9._q9, _T9.bottom, 0); this._1j2(_T9, _VL1) } _j22() }; _yW1.prototype._M82 = function(_T9) { var _mj2 = _lI; var _nj2 = _mI; var _oj2 = _9U1; var _pj2 = _aU1; if (_oj2 < 0) _oj2 = _oI(); if (_pj2 < 0) _pj2 = _pI(); _h22({ _gj2: !0 }); { _T9.left = 0; _T9.top = 0; _T9._q9 = _oI(); _T9.bottom = _pI(); _lI = _T9._q9 / _oj2; _mI = _T9.bottom / _pj2; _iH = _XU1; _iH._Qg = 0; _iH._Sg = 0; _iH._rH = _T9._q9; _iH._sH = _T9.bottom; _iH._Rg = _T9._q9; _iH._Tg = _T9.bottom; _iH._4j2 = _lI; _iH._5j2 = _mI; _qj2 = !0; _tH(0, 0, _T9._q9, _T9.bottom); _rj2(); var _9j2 = new _Iq(); _9j2._yh(_gH); _gH.left = 0; _gH.top = 0; _gH._q9 = _oj2; _gH.bottom = _pj2; this._1j2(_T9, _SL1); this._1j2(_T9, _OL1); this._1j2(_T9, _TL1); _qj2 = !1; _gH._yh(_9j2) } _j22({ _jj2: !0 }); _lI = _mj2; _mI = _nj2; }; _yW1.prototype._sj2 = function(_T9) { if (_7U1 >= 0) { _h22(); _tH(0, 0, _T9._q9, _T9.bottom); _uH(0, 0, _T9._q9, _T9.bottom, 0); this._2j2(); _j22() } }; _yW1.prototype._6b = function() { var _T9 = new _Iq(); _T9.left = 0; _T9.top = 0; _T9._q9 = _oI(); _T9.bottom = _pI(); this._3j2(_T9); this._6j2(); this._8j2(_T9); if (_AL) { _vH() } if (_OG.length != 0) { _Xg("Unbalanced surface stack. You MUST use surface_reset_target() for each set."); return } this._lj2(_T9); this._fj2(_T9); this._M82(_T9); this._sj2(_T9); }; function _rj2() { var _oj2 = _9U1; var _pj2 = _aU1; if (_oj2 < 0) _oj2 = _bI; if (_pj2 < 0) _pj2 = _cI; var _932 = 1; var _a32 = 1; var _BE1 = 0; var _CE1 = 0; if (_bU1) { _932 = _eU1; _a32 = _fU1; _BE1 = _cU1; _CE1 = _dU1; _b22(_932, _a32, _BE1, _CE1) } else { _BE1 = _DL._f3; _CE1 = _DL._g3; if (_9U1 > 0) { _932 = _DL._J3 / _oj2 } if (_aU1 > 0) { _a32 = _DL._K3 / _pj2 } _b22(_932, _a32, _BE1, _CE1) } } _yW1.prototype._tj2 = function() { var _uj2 = []; var _ty = _dy._i62._3i; for (var _H3 = 0; _H3 < _ty.length; _H3++) { var _Ay = _ty[_H3]; if (_Ay._uy) { _uj2[_uj2.length] = _Ay } } for (var _H3 = 0; _H3 < _uj2.length; _H3++) { var _Ay = _uj2[_H3]; this._Gi2(_Ay) } }; _yW1.prototype._Gi2 = function(_Ay) { if (this._kD && _Ay._Wu1) { this._kD._k11(_Ay._Wu1) } _dy._k62(_Ay); this._Fy._MK(_Ay); this._0i2._NY1(_Ay); _Ay._Oy._v42(_Ay) }; _yW1.prototype._vj2 = function(_lt) { if (_lt._HY) { this._Fy._MK(_lt); _lt._Oy._v42(_lt); this._0i2._Wh(_lt); _lt._HY = !1 } }; _yW1.prototype._wj2 = function(_lt) { if (!_lt._HY) { this._0i2._NY1(_lt); this._Fy._pe2(_lt); _lt._Oy._w42(_lt); _lt._HY = !0 } }; _yW1.prototype._Kh2 = function(_Ch) { var _Eh2 = this._2i2[_Ch]; if (_Eh2) { this._3i2._Kh2(_Eh2); this._2i2[_Ch] = undefined; this._1i2-- } }; _yW1.prototype._xj2 = function() { if (this._r42.length == 0) return; var _Yh = this._r42; var _HY = this._Fy; var _yj2; if (_HY._oe2 < 0) { _zj2 = _HY._3i.length } else { _zj2 = _HY._oe2 } var _Ea = 0; for (var _H3 = 0; _H3 < _Yh.length; _H3++) { var _Ay = _Yh[_H3]; for (var __9 = 0; __9 < _zj2; __9++) { if (_Ay == _HY._3i[__9]) { _HY._3i.splice(__9, 1); _HY._3i[_HY._3i.length] = _Ay; _Ea += 1; _zj2 -= 1; _Aj2 = !0; break } } } if (_Ea > 0) { if (_HY._oe2 < 0) { _HY._oe2 = _HY._3i.length - _Ea } else { _HY._oe2 -= _Ea } } this._r42 = [] }; function _xV1() { this._KD = []; this._DW1 = [] } _xV1.prototype._AW1 = function(_Si1) { this._DW1 = _Si1 }; _xV1.prototype._Wh = function(_Bj2) { return this._KD[this._KD.length] = _Bj2 }; _xV1.prototype._Gh = function(_Cj2) { return this._KD[_Cj2]; }; _xV1.prototype._MD = function(_Cj2) { return this._KD[this._DW1[_Cj2]] }; _xV1.prototype._MK = function(_Cj2) { this._KD[_Cj2] = null }; _xV1.prototype._Dj2 = function() { for (var _Ej2 in this._KD) { if (!this._KD.hasOwnProperty(_Ej2)) continue; var _F_1 = this._KD[_Ej2]; _F_1._zW1(_F_1._HD) } }; var _HF = []; function _Fj2() { this.__type = "[sound]"; this._Z2 = ""; this._b3 = 0; this._aW1 = ""; this._9W1 = ""; this._Gj2 = 0; this.volume = 1; this._Hj2 = 0; this.preload = !0; this._Ij2 = 1.0; this._Jj2 = 0; this._Kj2 = [] } _Fj2.prototype._Lj2 = function(_4Z1) { this._Z2 = _4Z1._Z2; this._b3 = _4Z1._b3; this._aW1 = _4Z1._aW1; this._9W1 = _4Z1._9W1; this._Gj2 = _4Z1._Gj2; this.volume = _4Z1.volume; this._Hj2 = _4Z1._Hj2; this.preload = _4Z1.preload; this._Ij2 = 1.0; this._Mj2(this._Z2) }; _Fj2.prototype._Mj2 = function(_MV1) { this._Jj2 = 0; this._Kj2 = []; if ((_yz == _yK1) || (_yz == _zz)) { _QS1 = 1; this._Kj2[0] = _HF[this._Z2] } else { if (_HF[this._Z2] != null) { for (var _H3 = 0; _H3 < _QS1; _H3++) { this._Kj2[_H3] = _HF[this._Z2].cloneNode(!0) } } } }; var _Nj2 = !1; function _bW1(_lz, _Ch, _AF, _cz, _gC1) { _lz = _CF(_lz); if (_DF == !1) { return undefined } var _Oj2 = !1; var _EF; var index; index = _lz.indexOf(_AF); if (index >= 0) { _lz = _lz.substr(0, index) } if (_FF) { _AF = "ogg" } else if (_GF) { _AF = "mp3" } else { _AF = "ogg" } _Oj2 = !0; if (_Oj2) { _lz = _lz + "." + _AF; try { var _Pj2 = new Audio(); _Pj2.URL = _lz; _Pj2._Ij2 = 1.0; _Pj2.autobuffer = !0; if (typeof _Pj2.loop == 'boolean') _Pj2.loop = !1; _Pj2.preload = 'auto'; _Pj2._SV1 = !1; _Pj2._Qj2 = !1; var _Qj = document.createElement('source'); _Qj.setAttribute("src", _lz); if (_AF == "ogg") { _Qj.setAttribute("type", 'audio/ogg'); _Qj.setAttribute("codecs", 'vorbis') } else { _Qj.setAttribute("type", 'audio/mpeg') } _Pj2.setAttribute("networkState", 0); _Pj2.insertBefore(_Qj, null); document.body.appendChild(_Pj2); _HF[_Ch] = _Pj2; _Pj2.addEventListener('canplaythrough', _cz, !1); _Pj2.addEventListener('error', _gC1, !1); _Pj2.addEventListener("loadstart", _PV1, !1); _Pj2.addEventListener("suspend", _QV1, !1); _Pj2.addEventListener("stalled", _RV1, !1); _Pj2.addEventListener("stall", _RV1, !1); _Pj2.load() } catch(e) { if (_yz == _zK1 && _Nj2 == !1) { var _Rj2 = navigator; _Nj2 = !0; var _Sj2 = _Rj2.userAgent.indexOf("Windows"); if (_Sj2 != -1) { alert("Audio Error: Please ensure that quicktime is installed") } } } } return _Ch } function _AV1() { this._X2 = []; this.length = 0 } _AV1.prototype._MK = function(_NF) { if (this._X2[_NF]) { this._Tj2(_NF); this._X2[_NF] = undefined } }; function _Uj2() { this._Qj2 = !1 } _AV1.prototype._Vj2 = function(_NF) { try { var _Wj2 = this._X2[_NF]; if (!_Wj2) return null; var _Xj2 = _Wj2._Kj2[this._X2[_NF]._Jj2]; this._X2[_NF]._Jj2++; if (this._X2[_NF]._Jj2 >= _QS1) { this._X2[_NF]._Jj2 = 0 } return _Xj2 } catch(e) { debug("Sound buffer unavailable for sound: " + _NF) } return null }; _AV1.prototype._Tj2 = function(_ce) { with(this) { var _Yj2 = this._X2[_ce]; if (!_Yj2) return; _Yj2 = _Yj2._Kj2; for (var _H3 = 0; _H3 < _Yj2.length; _H3++) { _Wj2 = _Yj2[_H3]; if (_Wj2 != null) { try { _Wj2.pause(); _Wj2._Qj2 = !1 } catch(_yF) { if (_vF) debug("Error stopping sound: " + this._X2[_ce]._Z2) } } } } }; function _Zj2() { try { this.currentTime = 0 } catch(_yF) { if (_vF) debug("Error setting current sound time: " + this._X2[_NF]._Z2) } this.play() } _AV1.prototype._Gh = function(_NF) { return this._X2[_NF] }; _AV1.prototype._zg = function() { this._X2 = []; length = 0 }; _AV1.prototype._Wh = function(_4Z1) { with(this) { var _hZ1 = null; if (_4Z1 != null) { _hZ1 = new _Fj2(); _hZ1._Lj2(_4Z1) } _X2[_X2.length] = _hZ1 } }; function _Iq() { this.left = 0; this.top = 0; this._q9 = 0; this.bottom = 0 } _Iq.prototype._yh = function(_nG) { this.left = _nG.left; this._q9 = _nG._q9; this.top = _nG.top; this.bottom = _nG.bottom }; function _0G() { this.__type = "[sprite]"; this._Z2 = "sprite"; this.width = 16; this.height = 16; this._Iy = new _Iq; this._03 = !0; this._13 = !0; this.preload = !0; this._3G = 0; this._4G = !1; this._23 = 0; this._33 = 0; this._5G = !1; this._P9 = 0; this._gG = 8; this._6G = !1; this._7G = !1; this._Q9 = []; this.__j2 = []; this._VF = []; this._8G = [] } _0G.prototype._d52 = function() { return this._4G }; _0G.prototype._mw1 = function() { return this._P9 }; _0G.prototype._9G = function() { var _0k2 = (this._33 * this._33); var _1k2 = (this._23 * this._23); var _2k2 = (this.width - this._23) * (this.width - this._23); var _3k2 = (this.height - this._33) * (this.height - this._33); var _4k2 = ~~ceil(sqrt(_1k2 + _0k2)); var _5k2 = ~~ceil(sqrt(_2k2 + _0k2)); var _6k2 = ~~ceil(sqrt(_1k2 + _3k2)); var _7k2 = ~~ceil(sqrt(_2k2 + _3k2)); this._gG = _S9(_4k2, _S9(_5k2, _S9(_6k2, _7k2))) }; _0G.prototype._8k2 = function(_9k2, _tD, _uD) { try { if (_Ry._ak2 !== undefined) { var _bk2 = !0; var _ck2 = 0; var _dk2 = _Ry._ak2[_9k2]; var _dk1 = new DataView(_dk2); if (_dk1 !== undefined) { var _ek2 = _dk1.getInt32(_ck2, _bk2); var _fk2 = (1 << 31); if ((_ek2 & _fk2) != 0) { _ek2 &= (~_fk2); _ck2 += 4 } _ck2 += 4; var _gk2 = null; if (_ek2 > 0) { _gk2 = new Uint8Array(_dk2, _ck2, _ek2); _ck2 += ((_ek2 + 3) & ~3) } var _hk2 = _dk1.getUint32(_ck2, _bk2); _ck2 += 4; this._ik2 = []; for (var _H3 = 0; _H3 < _hk2; _H3++) { var type = _dk1.getInt32(_ck2, _bk2); _ck2 += 4; var id = _dk1.getInt32(_ck2, _bk2); _ck2 += 4; var _jk2 = null; if (type === _nC1) { _jk2 = new _wC1(type, id); _ck2 = _jk2._xC1(_dk1, _ck2, _bk2, this._ik2) } else if (type === _oC1) { _jk2 = new _OB1(type, id); _ck2 = _jk2._PB1(_dk2, _dk1, _ck2, _bk2, _gk2) } else { _jk2 = { type: _mC1, id: id } } this._ik2.push(_jk2) } this._q42 = new _BD1(); _ck2 = this._q42._FD1(_dk1, _ck2, _bk2); if (this._q42._ED1._GD1 > 0) { _ck2 = this._kk2(_dk1, _ck2, _bk2) } else { this.width = this._q42._r9; this.height = this._q42._t9; this._4G = !1 } this._3G = 0; this.preload = !0; if (!this._4G) { this._Iy.left = this._q42._p9; this._Iy._q9 = this._q42._r9; this._Iy.top = this._q42._s9; this._Iy.bottom = this._q42._t9; this._23 = _tD; this._33 = _uD } this._9G(); this._lk2() } } } catch(e) { debug("Cannot build SWF data " + e.message) } }; _0G.prototype._kk2 = function(_QB1, _RB1, _SB1) { if (!0 != this._4G) { return } this._Q9 = []; this.width = this._q42._ED1._HD1; this.height = this._q42._ED1._ID1; var _GD1 = this._q42._ED1._GD1; for (var _H3 = 0; _H3 < _GD1; _H3++) { var _mk2 = _QB1.getInt32(_RB1, _SB1); _RB1 += 4; var _nk2 = _RB1; var _ok2 = 0; var _Gm1 = []; for (var __9 = 0; __9 < _mk2; __9++) { var _pk2 = _QB1.getUint8(_RB1, _SB1); _RB1 += 1; var _qk2 = ((_pk2) & 0x80) != 0 ? !0 : !1; var _rk2 = ((_pk2) & 0x7f) + 1; for (var _eT = 0; _eT < _rk2; _eT++) { _Gm1[_ok2++] = _qk2 } } this._Q9[_H3] = _Gm1; _RB1 = _nk2 + ((_mk2 + 3) & ~3) } this._6G = !0; return _RB1 }; _0G.prototype._lk2 = function() { this._6b = function(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) { _s22(this._ik2, this._q42, _U8, this._23, this._33, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) }; this._0I = function(_sk2, _V8, _W8, _Gd) { _s22(this._ik2, this._q42, _sk2, this._23, this._33, _V8, _W8, 1.0, 1.0, 0.0, 0xffffffff, _Gd) } }; _0G.prototype._tk2 = function(_uk2) { if (_uk2 >= 0) { if (_Ry._by1 !== undefined) { var _oy1 = _Ry._by1[_uk2]; this._o42 = new _oa(); this._o42._Ia(_oy1._0y, _oy1._7B1, _oy1.width, _oy1.height) } this._6b = function(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) { this._o42._6b(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) }; this._0I = function(_U8, _V8, _W8, _Gd) { this._o42._6b(_U8, _V8, _W8, 1, 1, 0, 0xffffff, _Gd) } } }; function _vk2(_wk2, _Ym1) { if (_wk2._8G[_Ym1] != null) { var _F9 = []; var src = 0; var _6x = 0; var _mk; while (src < _wk2._8G[_Ym1].length) { var _xk2 = _wk2._8G[_Ym1][src++]; if (_xk2 & 0x80) { _xk2 = (_xk2 & 0x7f) + 1; _mk = _wk2._8G[_Ym1][src++]; for (var _xb = 0; _xb < _xk2; _xb++) { _F9[_6x++] = _mk } } else { _xk2++; for (var _xb = 0; _xb < _xk2; _xb++) { _F9[_6x++] = _wk2._8G[_Ym1][src++] } } } } _wk2._8G[_Ym1] = _F9 } function _FW1(_yk2) { var _Qy = new _0G(); if (_yk2._Z2 !== undefined) _Qy._Z2 = _yk2._Z2; if (_yk2.width !== undefined) _Qy.width = _yk2.width; if (_yk2.height !== undefined) _Qy.height = _yk2.height; if (_yk2._43 !== undefined) _Qy._Iy.left = _yk2._43; if (_yk2._53 !== undefined) _Qy._Iy._q9 = _yk2._53; if (_yk2._63 !== undefined) _Qy._Iy.top = _yk2._63; if (_yk2._73 !== undefined) _Qy._Iy.bottom = _yk2._73; if (_yk2._03 !== undefined) _Qy._03 = _yk2._03; if (_yk2._13 !== undefined) _Qy._13 = _yk2._13; if (_yk2.preload !== undefined) _Qy.preload = _yk2.preload; if (_yk2.__2 !== undefined) _Qy._3G = _yk2.__2; if (_yk2._zk2 !== undefined) _Qy._4G = _yk2._zk2; if (_yk2._23 !== undefined) _Qy._23 = _yk2._23; if (_yk2._33 !== undefined) _Qy._33 = _yk2._33; _Qy._8G = null; if (_yk2._Ak2 !== undefined) { _Qy._8k2(_yk2._Ak2, _Qy._23, _Qy._33) } if (_yk2._Bk2 !== undefined) { _Qy._tk2(_yk2._Bk2) } if (_yk2._8G !== undefined) _Qy._8G = _yk2._8G; _Qy._VF = []; for (var _H3 = _yk2._83.length - 1; _H3 >= 0; _H3--) { _Qy._VF[_H3] = _yk2._83[_H3] } _Qy._P9 = _Qy._VF.length; _Qy._9G(); for (var _H3 = 0; _H3 < _Qy._VF.length; _H3++) { _Qy._VF[_H3] = _5Z1(_Qy._VF[_H3]); if (_Qy._VF[_H3] != null) { if (_Qy._VF[_H3]._u5 == 0) _Qy._VF[_H3]._u5 = 1; if (_Qy._VF[_H3]._v5 == 0) _Qy._VF[_H3]._v5 = 1 } } if (_Qy._8G) { for (var _H3 = 0; _H3 < _yk2._8G.length; _H3++) { if (!_yk2._Ck2) _vk2(_Qy, _H3); _Qy._6G = !0; var _x3 = _Qy.width * _Qy.height; var _Gm1 = []; _Gm1[_x3 - 1] = 0; var _Dk2 = ((_Qy.width + 7) >> 3); var _T52 = 0; for (var _g3 = 0; _g3 < _Qy.height; ++_g3, _T52 += _Dk2) { var _F9 = 0x80; var _Ek2 = _T52; for (var _f3 = 0; _f3 < _Qy.width; ++_f3, _F9 >>= 1) { if (_F9 == 0) { _F9 = 0x80; ++_Ek2 } _Gm1[_f3 + (_g3 * _Qy.width)] = ((_Qy._8G[_H3][_Ek2] & _F9) != 0) } } _Qy._Q9[_H3] = _Gm1 } } _yk2._Ck2 = !0; return _Qy } _0G.prototype._0I = function(_sk2, _V8, _W8, _Gd) { if (this._P9 <= 0) return; var _gG = this._gG; if (((_gH.top - _W8) <= _gG) && ((_W8 - _gH.bottom) <= _gG) && ((_gH.left - _V8) <= _gG) && ((_V8 - _gH._q9) <= _gG)) { _sk2 = (~~_sk2) % this._P9; if (_sk2 < 0) _sk2 = _sk2 + this._P9; var _Kj = this._VF[_sk2]; if ((_Kj._J3 == _Kj._u5) && (_Kj._K3 == _Kj._v5)) { _T12(_Kj, _V8 - this._23, _W8 - this._33, _Gd) } else { var _1b = 0xffffffff; _722(_Kj, 0, 0, _V8 - this._23, _W8 - this._33, 1, 1, 0, _1b, _1b, _1b, _1b, 1) } } }; _0G.prototype._6b = function(_U8, _V8, _W8, __l, _0m, _Z8, _Cd, _Gd) { if (this._P9 <= 0) return; var _Fk2 = abs(this._gG * __l); var _Gk2 = abs(this._gG * _0m); var _gG; if (_Fk2 > _Gk2) { _gG = _Fk2 } else { _gG = _Gk2 } if (((_gH.top - _W8) <= _gG) && ((_W8 - _gH.bottom) <= _gG) && ((_gH.left - _V8) <= _gG) && ((_V8 - _gH._q9) <= _gG)) { _U8 = (~~_U8) % this._P9; if (_U8 < 0) _U8 += this._P9; _Z8 = _5V1(_Z8, 360.0); _722(this._VF[_U8], this._23, this._33, _V8, _W8, __l, _0m, _Z8 * Math.PI / 180.0, _Cd, undefined, undefined, undefined, _Gd) } }; _0G.prototype._r52 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _V8, _W8) { var _0a, _2a; if (!this._6G) return ! 0; if (this._P9 <= 0) return ! 1; _Hk2 = _Hk2 % this._Q9.length; if (_Hk2 < 0) _Hk2 = _Hk2 + this._Q9.length; if (Math.abs(_Z8) < 0.0001) { _0a = Math.floor((_V8 - _aa) / _X8 + this._23); _2a = Math.floor((_W8 - _ba) / _Y8 + this._33) } else { var _la = Math.sin( - _Z8 * Math.PI / 180.0); var _ma = Math.cos( - _Z8 * Math.PI / 180.0); _0a = Math.floor((_ma * (_V8 - _aa) + _la * (_W8 - _ba)) / _X8 + this._23); _2a = Math.floor((_ma * (_W8 - _ba) - _la * (_V8 - _aa)) / _Y8 + this._33) } if ((_0a < 0) || (_0a >= this.width)) return ! 1; if ((_2a < 0) || (_2a >= this.height)) return ! 1; return this._Q9[_Hk2][_0a + (_2a * this.width)]; }; _0G.prototype._t52 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _fa) { if (!this._6G) return ! 0; if (this._P9 <= 0) return ! 1; _Hk2 = _Hk2 % this._Q9.length; if (_Hk2 < 0) { _Hk2 = _Hk2 + this._Q9.length } var _R9 = _S9(_Ik2.left, _fa.left); var _T9 = _U9(_Ik2._q9, _fa._q9); var _V9 = _S9(_Ik2.top, _fa.top); var _W9 = _U9(_Ik2.bottom, _fa.bottom); if ((_X8 == 1) && (_Y8 == 1) && (Math.abs(this._0b) < 0.0001)) { for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { var _0a = _H3 - _aa + this._23; var _2a = __9 - _ba + this._33; if ((_0a < 0) || (_0a >= this._J3)) continue; if ((_2a < 0) || (_2a >= this._K3)) continue; if (this._Q9[_Hk2][_0a + (_2a * this._J3)] == !0) return ! 0 } } } else { var _la = Math.sin( - _Z8 * _Y9 / 180.0); var _ma = Math.cos( - _Z8 * _Y9 / 180.0); var _Jk2 = 1.0 / _X8; var _Kk2 = 1.0 / _Y8; for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { var _0a = Math.floor((_ma * (_H3 - _aa) + _la * (__9 - _ba)) * _Jk2 + this._23); var _2a = Math.floor((_ma * (__9 - _ba) - _la * (_H3 - _aa)) * _Kk2 + this._33); if ((_0a < 0) || (_0a >= this.width)) continue; if ((_2a < 0) || (_2a >= this.height)) continue; if (this._Q9[_Hk2][_0a + (_2a * this.width)]) return ! 0; } } } return ! 1 }; _0G.prototype._Lk2 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _fa) { var _H3, __9; if (!this._6G) return ! 0; if (_Mk2 > 3) { _Mk2 = (1 + _Mk2) - 1 } if (this._P9 <= 0) return ! 1; _Hk2 = _Hk2 % this._Q9.length; if (_Hk2 < 0) _Hk2 = _Hk2 + this._Q9.length; var _R9 = _S9(_Ik2.left, _fa.left); var _T9 = _U9(_Ik2._q9, _fa._q9); var _V9 = _S9(_Ik2.top, _fa.top); var _W9 = _U9(_Ik2.bottom, _fa.bottom); var _ga = ((_fa._q9 + _fa.left) / 2); var _ha = ((_fa.bottom + _fa.top) / 2); var _ia = 1.0 / ((_fa._q9 - _fa.left) / 2); var _ja = 1.0 / ((_fa.bottom - _fa.top) / 2); var _Nk2 = this._Q9[_Hk2]; var _uj2; if ((_X8 == 1) && (_Y8 == 1) && (Math.abs(_Z8) < 0.0001)) { for (_H3 = _R9; _H3 <= _T9; _H3++) { _uj2 = (_H3 - _ga) * _ia; var _Ok2 = _uj2 * _uj2; var _0a = _H3 - _aa + this._23; if ((_0a < 0) || (_0a >= this.width)) continue; for (__9 = _V9; __9 <= _W9; __9++) { _uj2 = (__9 - _ha) * _ja; if (_Ok2 + (_uj2 * _uj2) > 1) continue; var _2a = __9 - _ba + this._33; if ((_2a < 0) || (_2a >= this.height)) continue; if (_Nk2[_0a + (_2a * this.width)]) return ! 0 } } } else { var _la = Math.sin( - _Z8 * Math.PI / 180.0); var _ma = Math.sin( - _Z8 * Math.PI / 180.0); var _Jk2 = 1.0 / _X8; var _Kk2 = 1.0 / _Y8; for (_H3 = _R9; _H3 <= _T9; _H3++) { var _Pk2 = (_H3 - _aa); var _Qk2 = _ma * _Pk2; var _Rk2 = _la * _Pk2; var _uj2 = (_H3 - _ga) * _ia; var _Sk2 = _uj2 * _uj2; for (__9 = _V9; __9 <= _W9; __9++) { var _Tk2 = (__9 - _ha) * _ja; if ((_Sk2 + (_Tk2 * _Tk2)) > 1) continue; var _Uk2 = __9 - _ba; var _0a = ~~ ((_Qk2 + _la * _Uk2 * _Jk2) + this._23); if ((_0a < 0) || (_0a >= this.width)) continue; var _2a = ~~ ((_ma * _Uk2 - _Rk2 * _Kk2) + this._33); if ((_2a < 0) || (_2a >= this.height)) continue; if (_Nk2[_0a + (_2a * this.width)]) return ! 0 } } } return ! 1 }; _0G.prototype._E52 = function(_Hk2, _Ik2, _aa, _ba, _Vk2, _Wk2, _Xk2, _Yk2, _Zk2, _O9, _x9, _y9, _z9, _A9, _B9) { if (_Yk2 == null) return ! 1; if (this._P9 <= 0) return ! 1; if (_Yk2._P9 <= 0) return ! 1; if (this._Q9.length > 0) _Hk2 = _Hk2 % this._Q9.length; if (_Hk2 < 0) { _Hk2 = _Hk2 + this._Q9.length; } if (_Yk2._Q9.length > 0) _Zk2 = _Zk2 % _Yk2._Q9.length; if (_Zk2 < 0) { _Zk2 = _Zk2 + _Yk2._Q9.length } _Vk2 = 1.0 / _Vk2; _Wk2 = 1.0 / _Wk2; _z9 = 1.0 / _z9; _A9 = 1.0 / _A9; var _R9 = _S9(_Ik2.left, _O9.left); var _T9 = _U9(_Ik2._q9, _O9._q9); var _V9 = _S9(_Ik2.top, _O9.top); var _W9 = _U9(_Ik2.bottom, _O9.bottom); if ((_Vk2 == 1) && (_z9 == 1) && (_Wk2 == 1) && (_A9 == 1) && (_Xk2 == 0) && (_B9 == 0)) { for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { var _0a = _H3 - _aa + this._23; var _2a = __9 - _ba + this._33; if ((_0a < 0) || (_0a >= this.width)) continue; if ((_2a < 0) || (_2a >= this.height)) continue; if (this._6G) { if (!this._Q9[_Hk2][_0a + (_2a * this.width)]) continue } _0a = _H3 - _x9 + _Yk2._23; _2a = __9 - _y9 + _Yk2._33; if ((_0a < 0) || (_0a >= _Yk2.width)) continue; if ((_2a < 0) || (_2a >= _Yk2.height)) continue; if (_Yk2._6G) { if (!_Yk2._Q9[_Zk2][_0a + (_2a * _Yk2.width)]) continue } return ! 0 } } } else if ((_Xk2 == 0) && (_B9 == 0)) { for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { var _0a = Math.floor(((_H3 - _aa) * _Vk2 + this._23)); var _2a = Math.floor(((__9 - _ba) * _Wk2 + this._33)); if ((_0a < 0) || (_0a >= this.width)) continue; if ((_2a < 0) || (_2a >= this.height)) continue; if (this._6G) { if (!this._Q9[_Hk2][_0a + (_2a * this.width)]) continue } _0a = Math.floor(((_H3 - _x9) * _z9 + _Yk2._23)); _2a = Math.floor(((__9 - _y9) * _A9 + _Yk2._33)); if ((_0a < 0) || (_0a >= _Yk2.width)) continue; if ((_2a < 0) || (_2a >= _Yk2.height)) continue; if (_Yk2._6G) { if (!_Yk2._Q9[_Zk2][_0a + (_2a * _Yk2.width)]) continue } return ! 0 } } } else { var __k2 = Math.sin( - _Xk2 * _Y9 / 180); var _0l2 = Math.cos( - _Xk2 * _Y9 / 180); var _X9 = Math.sin( - _B9 * _Y9 / 180); var _Z9 = Math.cos( - _B9 * _Y9 / 180); for (var _H3 = _R9; _H3 <= _T9; _H3++) { for (var __9 = _V9; __9 <= _W9; __9++) { var _0a = Math.floor(((_0l2 * (_H3 - _aa) + __k2 * (__9 - _ba)) * _Vk2 + this._23)); var _2a = Math.floor(((_0l2 * (__9 - _ba) - __k2 * (_H3 - _aa)) * _Wk2 + this._33)); if ((_0a < 0) || (_0a >= this.width)) continue; if ((_2a < 0) || (_2a >= this.height)) continue; if (this._6G) { if (!this._Q9[_Hk2][_0a + (_2a * this.width)]) continue } _0a = Math.floor(((_Z9 * (_H3 - _x9) + _X9 * (__9 - _y9)) * _z9 + _Yk2._23)); _2a = Math.floor(((_Z9 * (__9 - _y9) - _X9 * (_H3 - _x9)) * _A9 + _Yk2._33)); if ((_0a < 0) || (_0a >= _Yk2.width)) continue; if ((_2a < 0) || (_2a >= _Yk2.height)) continue; if (_Yk2._6G) { if (!_Yk2._Q9[_Zk2][_0a + (_2a * _Yk2.width)]) continue } return ! 0 } } } return ! 1 }; _0G.prototype._1l2 = function(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _2l2, _3l2, _4l2, _5l2) { if (!this._6G) { return ! 0 } if (this._P9 <= 0) { return ! 1 } _Hk2 = _Hk2 % this._Q9.length; if (_Hk2 < 0) { _Hk2 = _Hk2 + this._Q9.length } if ((_2l2 == _4l2) || (_3l2 == _5l2)) { var _6l2 = new _Iq(); _6l2.left = _2l2; _6l2.top = _U9(_3l2, _5l2); _6l2._q9 = _4l2; _6l2.bottom = _S9(_3l2, _5l2); return this._t52(_Hk2, _Ik2, _aa, _ba, _X8, _Y8, _Z8, _6l2) } var _la = Math.sin( - _Z8 * Math.PI / 180.0); var _ma = Math.cos( - _Z8 * Math.PI / 180.0); if (Math.abs(_4l2 - _2l2) >= Math.abs(_5l2 - _3l2)) { if (_4l2 < _2l2) { var _cf = _4l2; _4l2 = _2l2; _2l2 = _Dh; _cf = _5l2; _5l2 = _7l2; _3l2 = _cf } var _Cw = (_5l2 - _3l2) / (_4l2 - _2l2); for (var _H3 = _S9(_Ik2.left, _2l2); _H3 <= _U9(_Ik2._q9, _4l2); _H3++) { var _0a = Math.floor((_ma * (_H3 - _aa) + _la * (_3l2 + (_H3 - _2l2) * _Cw - _ba)) / _X8 + this._23); var _2a = Math.floor((_ma * (_3l2 + (_H3 - _2l2) * _Cw - _ba) - _la * (_H3 - _aa)) / _Y8 + this._33); if ((_0a < 0) || (_0a >= this.width)) continue; if ((_2a < 0) || (_2a >= this.height)) continue; if (this._Q9[_Hk2][_0a + (_2a * this.width)]) return ! 0 } } else { if (_5l2 < _3l2) { var _cf = _5l2; _5l2 = _3l2; _3l2 = _cf; _cf = _4l2; _4l2 = _2l2; _2l2 = _cf } var _Cw = (_4l2 - _2l2) / (_5l2 - _3l2); for (var _H3 = _S9(_Ik2.top, _3l2); _H3 <= _U9(_Ik2.bottom, _5l2); _H3++) { var _0a = Math.floor((_ma * (_2l2 + (_H3 - _3l2) * _Cw - _aa) + _la * (_H3 - _ba)) / _X8 + this._23); var _2a = Math.floor((_ma * (_H3 - _ba) - _la * (_2l2 + (_H3 - _3l2) * _Cw - _aa)) / _Y8 + this._33); if ((_0a < 0) || (_0a >= this.width)) continue; if ((_2a < 0) || (_2a >= this.height)) continue; if (this._Q9[_Hk2][_0a + (_2a * this.width)]) return ! 0; } } return ! 1 }; _0G.prototype._xG = function(_U8) { if (this._P9 <= 0) { return null } _U8 = _U8 % this._P9; if (_U8 < 0) { _U8 = _U8 + this._P9 } if (this._VF) { return this._VF[_U8] } return null }; function _yV1() { this._Y2 = [] } _yV1.prototype._2G = function(_wk2) { var _C9 = this._Y2.length; this._Y2[_C9] = _wk2; return _C9 }; _yV1.prototype._352 = function(_8l2) { if (_8l2 < 0 || _8l2 > this._Y2.length) return null; var _Ne2 = this._Y2[_8l2]; if ((_Ne2._q42 !== null) && (_Ne2._q42 !== undefined)) { return _Ne2._q42._DD1 } return _Ne2._VF.length }; _yV1.prototype._Gh = function(_8l2) { if (_8l2 < 0 || _8l2 > this._Y2.length) return null; return this._Y2[_8l2] }; _yV1.prototype._MK = function(_Ch) { if (this._Y2[_Ch] != undefined) this._Y2[_Ch] = undefined }; _yV1.prototype._3W1 = function(_bk1) { try { var _9l2 = { data: new Uint8Array(_bk1), _L3: 0 }; function _al2(_bl2) { var _cl2 = ";"; var _zi = ""; while (_9l2._L3 < _bl2.data.byteLength) { if (_bl2.data[_9l2._L3] === _cl2.charCodeAt(0)) { _9l2._L3++; break } _zi = _zi + String.fromCharCode(_bl2.data[_9l2._L3]); _9l2._L3++ } return _zi }; var type = _al2(_9l2); if (type == "rswf") { var version = _al2(_9l2), _dl2 = version.split('.', 3); _vC1._LM = parseInt(_dl2[0]); _vC1._MM = parseInt(_dl2[1]); _vC1.version = parseInt(_dl2[2]); var _el2 = parseInt(_al2(_9l2)), _fl2 = parseInt(_al2(_9l2)); this._ak2 = []; var _je = _el2; for (var _H3 = 0; _H3 < _fl2; _H3++) { var _gl2 = parseInt(_al2(_9l2)); this._ak2[_H3] = _bk1.slice(_je, _je + _gl2); _je += _gl2 } } } catch(e) { debug("Cannot parse SWF data " + e.message) } }; _yV1.prototype._1W1 = function(_hl2) { function _il2(_kb, _W9) { var _Vg2 = (_kb >> 16) & 0xffff, _UI1 = _kb & 0xffff; var _7E1 = (_W9 >> 16) & 0xffff, _1h1 = _W9 & 0xffff; var _ri = ((_Vg2 * _1h1) + (_UI1 * _7E1)) & 0xffff; return ((_ri << 16) >>> 0) + (_UI1 * _1h1) }; function _jl2(_bk1) { var _kl2 = Math.pow(2, 32); var _ll2 = 6 * 7; var _ml2 = ""; for (var __9 = 0; __9 < _bk1.length; __9++) { _ml2 += String.fromCharCode((_bk1.charCodeAt(__9) - (_ll2 & 0xff)) & 0xff); _ll2 = _il2(_ll2, (_ll2 + 1) % _kl2) % _kl2 } return _ml2 }; this._by1 = []; try { var _nl2 = _hl2.split(';', 4); if (_nl2[0] == "skel") { var version = _nl2[1]; var _je = parseInt(_nl2[2]); var _ol2 = parseInt(_nl2[3]); var _pl2 = 4 + _ol2; _nl2 = _hl2.split(';', _pl2); for (var _H3 = 0; _H3 < _ol2; _H3++) { var _ql2 = parseInt(_nl2[4 + _H3]); var _rl2 = _hl2.substr(_je, _ql2); var _sl2 = _rl2.split(';', 4); var _Dk = 0; var _tl2 = parseInt(_sl2[_Dk++]); var _ul2 = parseInt(_sl2[_Dk++]); var _vl2 = parseInt(_sl2[_Dk++]); var _wl2 = _sl2[_Dk].substr(0, _tl2); var _xl2 = _sl2[_Dk].substr(_tl2, _sl2[_Dk].length - _tl2); this._by1.push({ _0y: _jl2(_At(_wl2)), _7B1: _jl2(_At(_xl2)), width: _ul2, height: _vl2 }); _je += _ql2 } } } catch(e) { debug("Cannot parse Spine data " + e.message) } }; function _yl2() { this.__type = "[Tile]"; this._f3 = 0; this._g3 = 0; this.index = 0; this._qi2 = 0; this._ri2 = 0; this._J3 = 0; this._K3 = 0; this._R3 = 0.0; this.id = _ST1++; this._dZ1 = 1.0; this._eZ1 = 1.0; this._iX1 = 0xffffff; this.alpha = 1.0; this._Q3 = !0; this._zl2 = !1 } _yl2.prototype._Al2 = function() { var _hG = _Nj._Xj(this.index); if (_hG != null) { var _Kj = _hG._Mj; if (_Kj._y5 >= _Ha.length) return; if (!_Ha[_Kj._y5].complete) return; if (this._qi2 < 0) { this._J3 += this._qi2; this._qi2 = 0 } if (this._ri2 < 0) { this._K3 += this._ri2; this._ri2 = 0 } if (_Kj != null) { if ((this._qi2 + this._J3) >= _Kj._J3) { this._J3 = _Kj._J3 - this._qi2 } if ((this._ri2 + this._K3) >= _Kj._K3) { this._K3 = _Kj._K3 - this._ri2; } } } }; function _vi2(_Bl2) { var _Eh2 = new _yl2(); if (_Bl2._f3 != undefined) _Eh2._f3 = _Bl2._f3; if (_Bl2._g3 != undefined) _Eh2._g3 = _Bl2._g3; if (_Bl2.index != undefined) _Eh2.index = _Bl2.index; if (_Bl2._qi2 != undefined) _Eh2._qi2 = _Bl2._qi2; if (_Bl2._ri2 != undefined) _Eh2._ri2 = _Bl2._ri2; if (_Bl2._J3 != undefined) _Eh2._J3 = _Bl2._J3; if (_Bl2._K3 != undefined) _Eh2._K3 = _Bl2._K3; if (_Bl2._R3 != undefined) _Eh2._R3 = _Bl2._R3; if (_Bl2.id != undefined) _Eh2.id = _Bl2.id; if (_Bl2._E3 != undefined) _Eh2._dZ1 = _Bl2._E3; if (_Bl2._F3 != undefined) _Eh2._eZ1 = _Bl2._F3; if (_Bl2._b5 != undefined) { _Eh2._iX1 = (_Bl2._b5 & 0xffffff); _Eh2.alpha = ((_Bl2._b5 >> 24) & 0xff) / 255.0 } _Eh2._Al2(); if (_ST1 < _Bl2.id) _ST1 = _Bl2.id + 1; return _Eh2 } _yl2.prototype._6b = function() { if (!this._Q3) return ! 1; var _hG = _Nj._Xj(this.index); if (_hG != null) { var _Kj = _hG._Mj; if (_Kj._y5 >= _Ha.length) return; if (!_Ha[_Kj._y5].complete) return; var _W02 = _Kj._J3 / _Kj._w5; var _X02 = _Kj._K3 / _Kj._x5; if (!_sa) { _yb.globalAlpha = this.alpha; if (this._iX1 != 0xffffff) { _d12 = _Bb(_Kj, this._iX1); if (this._dZ1 <= 0 || this._eZ1 <= 0) { _n12(this._f3, this._g3, this._dZ1, this._eZ1, 0.0); _yb._UF(_d12, (this._qi2 * _W02), (this._ri2 * _X02), this._J3 * _W02, this._K3 * _X02, 0, 0, this._J3, this._K3); _o12() } else { _yb._UF(_d12, (this._qi2 * _W02), (this._ri2 * _X02), (this._J3 * _W02), (this._K3 * _X02), this._f3, this._g3, this._J3 * this._dZ1, this._K3 * this._eZ1) } } else { var _ho1 = _Ha[_Kj._y5]; if (this._dZ1 <= 0 || this._eZ1 <= 0) { _n12(this._f3, this._g3, this._dZ1, this._eZ1, 0.0); _yb._UF(_ho1, _Kj._f3 + (this._qi2 * _W02), _Kj._g3 + (this._ri2 * _W02), this._J3 * _W02, this._K3 * _X02, 0, 0, this._J3, this._K3); _o12() } else { _yb._UF(_ho1, _Kj._f3 + (this._qi2 * _W02), _Kj._g3 + (this._ri2 * _W02), this._J3 * _W02, this._K3 * _X02, this._f3, this._g3, this._J3 * this._dZ1, this._K3 * this._eZ1); } } } else { var _1b = this._iX1 | ((this.alpha * 255) << 24); _yb._UF(_Kj, _Kj._f3 + (this._qi2 * _W02), _Kj._g3 + (this._ri2 * _W02), this._J3 * _W02, this._K3 * _W02, this._f3, this._g3, this._J3 * this._dZ1, this._K3 * this._eZ1, _1b) } } }; function _Cl2(_4Z1) { this.__type = "[Timeline]"; if ((_4Z1 != null) && (_4Z1 != undefined)) { this._Z2 = _4Z1._Z2; this._rt = _4Z1._rt } else { this._Z2 = ""; this._rt = [] } } _Cl2.prototype._MI1 = function(_Dl2) { if (this._rt.length == 0) { return 0 } if (_Dl2 > this._rt[this._rt.length - 1]._El2) { return this._rt.length } for (var _H3 = 0; _H3 < this._rt.length; _H3++) { if (this._rt[_H3]._El2 >= _Dl2) { return _H3 } } return this._rt.length }; _Cl2.prototype._QI1 = function(_Dl2) { if (this._rt.length == 0) { return 0 } if (_Dl2 < this._rt[0]._El2) { return - 1 } for (var _H3 = this._rt.length - 1; _H3 >= 0; _H3--) { if (this._rt[_H3]._El2 <= _Dl2) { return _H3 } } return - 1 }; _Cl2.prototype._PI1 = function() { return this._rt[this._rt.length - 1]._El2 }; function _DV1() { this._M3 = [] } _DV1.prototype._Wh = function(_4Z1) { var _hZ1 = null; if (_4Z1 != null) { _hZ1 = new _Cl2(_4Z1) } this._M3[this._M3.length] = _hZ1; }; _DV1.prototype._Gh = function(_U8) { if ((_U8 < 0) || (_U8 >= this._M3.length)) { return undefined } return this._M3[_U8] }; _DV1.prototype._zg = function(_U8) { if ((_U8 >= 0) || (_U8 < this._M3.length)) { this._M3[_U8]._rt._zg() } }; _DV1.prototype._MK = function(_U8) { if ((_U8 >= 0) || (_U8 < this._M3.length)) { this._M3[_U8] = null } }; function _uW1(_Fl2) { if (!_Fl2) { this._3i = [] } else { this._3i = _Fl2 } } _uW1.prototype._Gh = function(_NF) { return this._3i[_NF] }; _uW1.prototype._2Z1 = function(_Gl2) { for (var _H3 = 1; _H3 < this._3i.length; _H3++) { var _ae2 = this._3i[_H3]; if (_ae2._Hl2 == _Gl2) { _dy._g9(_4L1, _H3) } } }; function _Il2() { _nc("vertex_format_begin"); } function _Jl2() { _nc("vertex_format_end") } function _Kl2() { _nc("vertex_format_add_position") } function _Ll2() { _nc("vertex_format_add_position_3d") } function _Ml2() { _nc("vertex_format_add_colour") } function _Nl2() { _nc("vertex_format_add_normal") } function _Ol2() { _nc("vertex_format_add_textcoord") } function _Pl2(type, _he) { _nc("vertex_format_add_custom") } var _Ql2 = null; function _Rl2() { _Il2 = _Sl2; _Jl2 = _Tl2; _Kl2 = _Ul2; _Ll2 = _Vl2; _Ml2 = _Wl2; _Nl2 = _Xl2; _Ol2 = _Yl2; _Pl2 = _Zl2 } function _Sl2() { if (_Ql2 != null) { debug("ERROR vertex_format_begin: Vertex format is already under construction") } else { _Ql2 = new _Oh1() } } function _Ul2() { if (_Ql2 == null) { debug("ERROR vertex_format_add_position: No vertex format is under construction") } else { _Ql2._Yh1() } } function _Vl2() { if (_Ql2 == null) { debug("ERROR vertex_format_add_position_3d: No vertex format is under construction") } else { _Ql2._2i1() } } function _Wl2() { if (_Ql2 == null) { debug("ERROR vertex_format_add_colour: No vertex format is under construction") } else { _Ql2._Zh1() } } function _Xl2() { if (_Ql2 == null) { debug("ERROR vertex_format_add_normal: No vertex format is under construction") } else { _Ql2._3i1() } } function _Yl2() { if (_Ql2 == null) { debug("ERROR vertex_format_add_textcoord: No vertex format is under construction"); } else { _Ql2.__h1() } } function _Zl2(_ce, _be) { if (_Ql2 == null) { debug("ERROR vertex_format_add_normal: No vertex format is under construction") } else { _Ql2._oo1(_ce, _be) } } function _Tl2() { if (_Ql2 == null) { debug("ERROR vertex_format_end: No vertex format under construction"); return - 1 } var __l2 = _sa._4i1(_Ql2); _Ql2 = null; return __l2 } function _WU1() { this.__type = "[View]"; this._Q3 = !1; this._jH = 0; this._kH = 0; this._lH = 640; this._mH = 480; this._nH = 0; this._oH = 0; this._pH = 640; this._qH = 480; this._0b = 0; this._Qg = 0; this._Sg = 0; this._Rg = 0; this._Tg = 0; this._rH = 0; this._sH = 0; this._4j2 = 1; this._5j2 = 1; this._mi2 = 32; this._ni2 = 32; this._H7 = -1; this._G7 = -1; this._Wi = -1; this._Ni2 = -1 } _WU1.prototype._yh = function(_zh) { this._Q3 = _zh._Q3; this._jH = _zh._jH; this._kH = _zh._kH; this._lH = _zh._lH; this._mH = _zh._mH; this._nH = _zh._nH; this._oH = _zh._oH; this._pH = _zh._pH; this._qH = _zh._qH; this._0b = _zh._0b; this._Qg = _zh._Qg; this._Sg = _zh._Sg; this._Rg = _zh._Rg; this._Tg = _zh._Tg; this._rH = _zh._rH; this._sH = _zh._sH; this._4j2 = _zh._4j2; this._5j2 = _zh._5j2; this._mi2 = _zh._mi2; this._ni2 = _zh._ni2; this._H7 = _zh._H7; this._G7 = _zh._G7; this._Wi = _zh._Wi; this._Ni2 = _zh._Ni2 }; _WU1.prototype._Ug = function(_V8) { return ((_V8 - _Pg.left - this._Qg) / this._4j2) + this._jH }; _WU1.prototype._Vg = function(_W8) { return ((_W8 - _Pg.top - this._Sg) / this._5j2) + this._kH }; function _xi2(_0m2) { _Fn = new _WU1(); if (_0m2._Q3 != undefined) _Fn._Q3 = _0m2._Q3; if (_0m2._ii2 != undefined) _Fn._jH = _0m2._ii2; if (_0m2._ji2 != undefined) _Fn._kH = _0m2._ji2; if (_0m2._f5 != undefined) _Fn._lH = _0m2._f5; if (_0m2._o5 != undefined) _Fn._mH = _0m2._o5; if (_0m2._ki2 != undefined) _Fn._nH = _0m2._ki2; if (_0m2._li2 != undefined) _Fn._oH = _0m2._li2; if (_0m2._g5 != undefined) _Fn._pH = _0m2._g5; if (_0m2._p5 != undefined) _Fn._qH = _0m2._p5; if (_0m2._0b != undefined) _Fn._qH = _0m2._0b; if (_0m2._mi2 != undefined) _Fn._mi2 = _0m2._mi2; if (_0m2._ni2 != undefined) _Fn._ni2 = _0m2._ni2; if (_0m2._H7 != undefined) _Fn._H7 = _0m2._H7; if (_0m2._G7 != undefined) _Fn._G7 = _0m2._G7; if (_0m2.index != undefined) _Fn._Wi = _0m2.index; return _Fn } var _sa = null; var _1m2 = null; var _2m2 = null; var _nn = !1, _Cn = !1, _3m2 = _4c._Uk1, _4m2 = _4c._Vk1, _5m2 = 0, _6m2 = 0.0, _7m2 = [], _zn = { _xk: !0, _yk: !0, _zk: !0, alpha: !0 }; var _xn = 0.0, _pn = !0, _rn = !0, _tn = !0, _8m2 = _4c._Wn; var _ho = null, _mo = null, _lo = null, _qo = null, _so = null, _oo = []; var _k12 = !1, _9m2 = !1, _am2 = 1.0; var _bm2 = []; var _gp = null, _cm2 = null, _dm2 = 0; var _em2 = 0, _fm2 = 1, _Lo = 2, _gm2 = 16; var _hm2 = []; var _xd = 16384; var _im2 = 36, _jm2 = [], _km2 = []; function _x22() { _cm(); _Rl2(); _j_1(); _3d(); _lm2(_im2); _Dd = _mm2; _T12 = _nm2; _U12 = _om2; _722 = _pm2; _s22 = _qm2; _t22 = _rm2; _W12 = _sm2; _T22 = _tm2; _sa._UF = _um2; _uH = _vm2; _tH = _wm2; _o12 = _xm2; _b22 = _ym2; _V12 = _zm2; _n12 = _Am2; _h22 = _Bm2; _j22 = _Cm2; _K12 = _Dm2; _m22 = _Em2; _o22 = _Fm2; _q22 = _Gm2; _Iv = _Hm2; _zv = _Im2; _Mv = _Jm2; _Cv = _Im2; _Ov = _Jm2; _Rv = _Km2; _Xv = _Lm2; _4w = _Mm2; _6w = _Nm2; _dw = _Om2; _iw = _Pm2; _Ew = _Qm2; _Pw = _Rm2; _Uw = _Sm2; _kw = _Pm2; _Gw = _Qm2; _Rw = _Rm2; _Ww = _Sm2; _qb = _Tm2; _Zv = _Um2; _Xw = _Vm2; _Zw = _Vm2; _Ju = _Wm2; _Y6 = _Xm2; _wv = _Xm2; _pv = _Ym2; _4x = _Zm2; _QI = __m2; _Dj = _0n2; _dH = _1n2; _5H = _2n2; _vH = _3n2; _1H = _4n2; _GH = _5n2; _IH = _6n2; _KH = _7n2; _RH = _8n2; _UH = _9n2; _zj = _an2; _Pj = _bn2; _OF = _cn2; _XF = _dn2; _bG = _en2; _MA = _fn2; _BC = _gn2; _RD = _hn2; _SD = _in2; _TD = _jn2; _UD = _kn2; _VD = _ln2; _WD = _mn2; _XD = _nn2; _YD = _on2; _ZD = _pn2; __D = _qn2; _0E = _rn2; _1E = _sn2; _2E = _tn2; _3E = _un2; _4E = _vn2; _hX1 = _wn2; _1o = _xn2; _jX1 = _yn2; _kX1 = _zn2; _mX1 = _An2; _0o = _Bn2; _fX1 = _Cn2; _gX1 = _Dn2; _nX1 = _En2; _oX1 = _Fn2; _pX1 = _Gn2; _qX1 = _Hn2; _In2() } function _Jn2(_fh1) { var options = { _Vh1: ((_Yp._7W1 !== undefined) ? !0 : !1), _Wh1: (_Yp._A5._Kn2 ? !0 : !1), _Hh1: _GT1 }; _sa = new _eh1(_fh1, options); if (!_sa._vh1) { _sa = null; return ! 1 } if (!_Ln2()) return ! 1; if (!_Mn2()) return ! 1; if (!_Nn2()) return ! 1; _gp = []; _gp[_em2] = new _Gn(); _gp[_fm2] = new _Gn(); _gp[_Lo] = new _Gn(); _cm2 = []; for (var _H3 = 0; _H3 < _gm2; _H3++) { _cm2[_H3] = new _Gn(); } _dm2 = -1; _Sn = 1; _tT1 = new _Gn(); _uT1 = new _Gn(); var _On2 = _sa._lj1(); for (var _H3 = 0; _H3 < _On2; _H3++) { _7m2[_H3] = !1 } return ! 0 } function _lm2(_Mg2) { _im2 = 4 * (_U9(64, _S9(4, _Mg2)) / 4); _jm2[0] = 1; _km2[0] = 0; for (var _H3 = 1; _H3 < _im2; _H3++) { _jm2[_H3] = Math.cos(_H3 * 2 * Math.PI / _im2); _km2[_H3] = Math.sin(_H3 * 2 * Math.PI / _im2) } _jm2[_im2] = 1; _km2[_im2] = 0 } function _In2() { _Jk(0, 0xff000000, 0, 0); _nX1(0); _qX1(0); _Pn2() } function _Ln2() { return _Qn2() } function _Mn2() { var _Rn2 = document.createElement(_cq); _Rn2._Od = _Rn2.width = 16; _Rn2._Pd = _Rn2.height = 16; _Rn2.complete = !0; _Rn2._YG = !1; _Rn2.name = ""; _Rn2._yb = _Rn2.getContext('2d'); _Rn2._yb.save(); _Rn2._yb.setTransform(1, 0, 0, 1, 0, 0); _Rn2._yb.globalAlpha = 1; _Rn2._yb.fillStyle = '#ffffff'; _Rn2._yb.fillRect(0, 0, 16, 16); _Rn2._yb.restore(); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = 15; _Kj._K3 = 15; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = 15; _Kj._v5 = 15; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = -1; _Kj._Ga = _Rn2; _Kj._Da = []; _Kj._Fa = 1; _Kj._Ea = 0; _0c(_Kj); _sa._wk1(_Kj._Ga.__b); return ! 0 } function _Nn2() { _ho = new Float32Array(_4c._Ck1 * 4); _mo = new Float32Array(_4c._Ck1 * 4); _lo = new Float32Array(_4c._Ck1 * 4); _qo = new Float32Array(4); var _go; for (var _H3 = 0; _H3 < _4c._Ck1; _H3++) { _lo[_H3] = 0; _go = _H3 * 4; _ho[_go + 0] = 0; _ho[_go + 1] = 0; _ho[_go + 2] = 0; _ho[_go + 3] = 0; _mo[_go + 0] = 0; _mo[_go + 1] = 0; _mo[_go + 2] = 0; _mo[_go + 3] = 0; _oo[_H3] = !1 } return ! 0 } function _Pn2() { var _Sn2 = _tG; _tG = function(_uG, _Tn2) { var _Ga = _Sn2(_uG, _Tn2); if (_Ga && !_Ga._vd.__b) { _0c(_Ga._Ld) } return _Ga }; var _Un2 = _Wj; _Wj = function(_U8) { var _Ga = _Un2(_U8); if (_Ga && !_Ga._vd.__b) { _0c(_Ga._Ld) } return _Ga } } function _Em2() { _sa._Ji1(); _sa._Dn(_En()); _sa._7j1(_5m2, _6m2); _sa._to(_so); _sa._ro(_qo); _sa._An(_zn._xk, _zn._yk, _zn._zk, _zn.alpha); for (var _H3 = 0; _H3 < _4c._Ck1; _H3++) { _sa._no(_H3, _mo.subarray(_H3 * 4, (_H3 + 1) * 4), _ho.subarray(_H3 * 4, (_H3 + 1) * 4), _lo.subarray(_H3 * 4, (_H3 + 1) * 4)) } } function _Fm2() { _sa._Ki1() } function _Bm2(_Vn2) { if (_Vn2) { _1m2 = {}; if (_Vn2._gj2) { _1m2._nn = _nn; _1m2._Cn = _Cn; _1m2._so = new Float32Array(_so); _nn = !1; _Cn = !1; _Jk(0, 0xff000000, 0, 0); _sa._on(!1); _sa._sn(!1); _sa._qn(!1); _sa._Dn(_En()) } if (_Vn2._hj2) { _1m2._Wn2 = _3m2; _1m2._Xn2 = _4m2; _sa._Mi1(_4c._Rk1, _4c._Qk1) } } } function _Cm2(_Yn2) { if (_1m2 && _Yn2) { if (_Yn2._jj2) { _nn = _1m2._nn; _Cn = _1m2._Cn; _so = new Float32Array(_1m2._so); _sa._to(_so); if (_nn) { _sa._on(_pn); _sa._qn(_rn); _sa._sn(_tn) } _sa._Dn(_En()) } if (_Yn2._kj2) { _sa._Mi1(_1m2._Wn2, _1m2._Xn2) } _1m2 = null } } function _En() { var _ii1 = undefined; if (_Cn) { _ii1 = _sa._xh1 } else { _ii1 = _sa._wh1 } return _ii1 } function _ym2(_K22, _L22, _M22, _N22) { var _Zn2 = _bI; var __n2 = _cI; _uT1._vp1(); var _J3 = _bI / _K22; var _K3 = _cI / _L22; _uT1._Mo((_Zn2 * -0.5 + _M22) / _K22, (__n2 * -0.5 + _N22) / _L22, 16000); _tT1._Yn(_J3, -_K3 * _Sn, 1.0, 32000.0); _Ko(_fm2, _uT1); _Ko(_em2, _tT1) } function _vm2(_O22, _P22, _Q22, _R22, _Z8) { if (!_nn) { _G22(_O22, _P22, _Q22, _R22, _Z8) } else { var _0b = -_Z8 * (Math.PI / 180.0); var _H22 = new _In((_O22 + _Q22 / 2.0), (_P22 + _R22 / 2.0), -_Q22); var _I22 = new _In((_O22 + _Q22 / 2.0), (_P22 + _R22 / 2.0), 0.0); var _J22 = new _In(Math.sin(_0b), Math.cos(_0b), 0.0); _uT1._Ln(_H22, _I22, _J22); _tT1._Zn(1.0, _R22 / _Q22, 1.0, 32000.0); _tT1._F9[_Rn] *= _Sn; } _Ko(_fm2, _uT1); _Ko(_em2, _tT1); _Ko(_Lo, _gp[_Lo]); _N12 = _O22; _O12 = _P22; _P12 = _Q22; _Q12 = _R22 } function _wm2(_bi1, _ci1, _di1, _ei1) { _Ou = _bi1; _Pu = _ci1; _Qu = _di1; _Ru = _ei1; var _2a = _ci1; if (_Sn == 1) { _2a = _pI() - (_ei1 + _ci1) } _sa._ai1(_bi1, _2a, _di1, _ei1) } function _zm2(_Sd) { _sa._Tj1(!0, !0, !1, _Dd(_Sd) | 0xff000000) } function _Wm2(_Sd, _Gd) { var _1b = ((_Gd * 255.0) << 24) | _Dd(_Sd); _sa._Tj1(!0, !0, !1, _1b) } function _mm2(_Sd) { return (_Sd & 0x00ffffff) } function _Ym2(_Gd) { if (_Gd < 0) { _Gd = 0 } if (_Gd > 1) { _Gd = 1 } _Ad = _Gd; } function _xm2(_0o2) { if (_xm2.arguments.length > 0) { var _Mu = _xm2.arguments[0] } else {} } function _Am2(_V8, _W8, _VH, _WH, _Z8) {} function _Dm2(_es, _Xr, _V8, _W8, __l, _0m, _Z8, _Sd, _Gd) { if (!_2m2) { var _ia = 1024; var _ja = 1024; var _1o2 = _S22(_ia, _ja); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _ia; _Kj._K3 = _ja; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _1o2; _Kj._Ga = _Ha[_Kj._y5]; _2m2 = _Kj } var _I3 = document.createElement("canvas"); var _Jb = _I3.getContext("2d"); _es = "20px arial"; _Jb.font = _es; _Jb.textBaseline = "top"; _Jb.textAlign = "left"; var _2o2 = _Jb.measureText(_Xr); var width = _2o2.width; var height = 20; _I3.width = width; _I3.height = height; _Jb.globalAlpha = 0.0; _Jb.globalCompositeOperation = "copy"; _Jb.fillStyle = "black"; _Jb.fillRect(0, 0, _I3.width, _I3.height); _Jb.globalAlpha = 1.0; _Jb.globalCompositeOperation = "source-over"; _Jb.fillStyle = "white"; _Jb.fillText(_Xr, 0, 0) } function _bp(_Vl) { if (_dm2 >= _gm2) { return ! 1 } _dm2++; if (_dm2 == 0) { _cm2[_dm2] = new _Gn(_Vl) } else { _cm2[_dm2]._Vo(_cm2[_dm2 - 1], _Vl) } return ! 0 } function _cp(_Vl) { if (_dm2 < 0) { return ! 1 } _Ko(_Lo, _cm2[_dm2]); _dm2--; return ! 0 } function _9p() { _dm2 = -1 } function _ap() { if (_dm2 < 0) { return ! 0 } return ! 1 } function _dp() { if (_dm2 < 0) { return ! 1 } _Ko(_Lo, _cm2[_dm2]); return ! 0 } function _ep() { if (_dm2 < 0) { return ! 1 } _dm2--; return ! 0 } function _nm2(_lG, _V8, _W8, _Gd) { var _2c, _882, _3o2, _ac, _cc, _ec, _1b; if (!_lG._Ga.__b) _0c(_lG); _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 6; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; _V8 = _V8 + _lG._s5; _W8 = _W8 + _lG._t5; _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _V8; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _lG._u5; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _lG._v5; _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _lG._f3 / _lG._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _lG._g3 / _lG._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_lG._f3 + _lG._J3) / _lG._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_lG._g3 + _lG._K3) / _lG._Ga.height; _1b = ((_Gd * 255.0) << 24) | 0xffffff; var _Uv = _1b, _Vv = _1b, _i12 = _1b, _j12 = _1b; if (_k12) { _Uv &= 0xfffefffe; _Vv &= 0xfffefffe; _i12 &= 0xfffefffe; _j12 &= 0xfffefffe; _Vv |= 0x00010000; _i12 |= 0x00000001; _j12 |= 0x00010001 } _cc[_gc] = _cc[_lc] = _Uv; _cc[_hc] = _Vv; _cc[_ic] = _cc[_jc] = _i12; _cc[_kc] = _j12 } function _um2(_lG, _M22, _N22, _4o2, _5o2, _V8, _W8, _vh, _wh, _Sd) { var _2c, _882, _3o2, _ac, _cc, _ec, _1b; if (!_lG._Ga.__b) _0c(_lG); if (_Sd == undefined) _Sd = 0xffffffff; _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 6; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _V8; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _vh; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _wh; _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _M22 / _lG._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _N22 / _lG._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_M22 + _4o2) / _lG._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_N22 + _5o2) / _lG._Ga.height; var _Uv = _Sd, _Vv = _Sd, _i12 = _Sd, _j12 = _Sd; if (_k12) { _Uv &= 0xfffefffe; _Vv &= 0xfffefffe; _i12 &= 0xfffefffe; _j12 &= 0xfffefffe; _Vv |= 0x00010000; _i12 |= 0x00000001; _j12 |= 0x00010001 } _cc[_gc] = _cc[_lc] = _Uv; _cc[_hc] = _Vv; _cc[_ic] = _cc[_jc] = _i12; _cc[_kc] = _j12 } function _om2(_lG, _V8, _W8, _232, _332, _n5, _m5, _Sd, _Gd) { var _2c, _882, _3o2, _ac, _cc, _ec, _J3, _K3; if (!_lG._Ga.__b) _0c(_lG); _6o2 = _lG._w5 + ~~_V8; _7o2 = _lG._x5 + ~~_W8; var _ia = ~~ (_232 * _lG._w5); var _ja = ~~ (_332 * _lG._x5); if (_m5) { _V8 = (((~~ (_N12 / _ia)) * _ia) + (~~_V8) % _ia) - _ia; _6o2 = (((((_iH._lH + (_ia - 1)) / _ia) & 0xffffffff) + 2) * _ia) + ~~_V8; } if (_n5) { _W8 = (((~~ (_O12 / _ja)) * _ja) + (~~_W8) % _ja) - _ja; _7o2 = (((((_iH._mH + (_ja - 1)) / _ja) & 0xffffffff) + 2) * _ja) + ~~_W8 } _V8 = ~~_V8; _W8 = ~~_W8; var _ZF = 0; var __F = 0; if ((_ia <= 0) || (_ja <= 0)) return; var _b5 = _Dd(_Sd) | (~~ ((_Gd * 255.0) << 24)); var _Uv = _b5, _Vv = _b5, _i12 = _b5, _j12 = _b5; if (_k12) { _Uv &= 0xfffefffe; _Vv &= 0xfffefffe; _i12 &= 0xfffefffe; _j12 &= 0xfffefffe; _Vv |= 0x00010000; _i12 |= 0x00000001; _j12 |= 0x00010001 } var _G9 = ( - _232 * (_ZF - _lG._s5)); var _H9 = ( - _332 * (__F - _lG._t5)); var _8o2 = _232 * _lG._u5; var _9o2 = _332 * _lG._v5; var _0a = _V8 + _G9; var _2a = ~~_W8 + _H9; var _vb = _lG._f3; var _sU = _vb + _lG._J3; var _xb = _lG._g3; var _ic = _lG._g3 + _lG._K3; _vb /= _lG._Ga.width; _sU /= _lG._Ga.width; _xb /= _lG._Ga.height; _ic /= _lG._Ga.height; var _Kw = _2a; while (_0a < _6o2) { _2a = _Kw; var _vw = _0a + _8o2; while (_2a < _7o2) { _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 6; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; var _xw = _2a + _9o2; _cc[index] = _j12; _ac[index + 0] = (_0a); _ac[index + 1] = (_2a); _ec[index + 0] = (_vb); _ec[index + 1] = (_xb); index += _7c; _cc[index] = _Uv; _ac[index + 0] = (_vw); _ac[index + 1] = (_2a); _ec[index + 0] = (_sU); _ec[index + 1] = (_xb); index += _7c; _cc[index] = _Vv; _ac[index + 0] = (_vw); _ac[index + 1] = (_xw); _ec[index + 0] = (_sU); _ec[index + 1] = (_ic); index += _7c; _cc[index] = _Vv; _ac[index + 0] = (_vw); _ac[index + 1] = (_xw); _ec[index + 0] = (_sU); _ec[index + 1] = (_ic); index += _7c; _cc[index] = _i12; _ac[index + 0] = (_0a); _ac[index + 1] = (_xw); _ec[index + 0] = (_vb); _ec[index + 1] = (_ic); index += _7c; _cc[index] = _Uv; _ac[index + 0] = (_0a); _ac[index + 1] = (_2a); _ec[index + 0] = (_vb); _ec[index + 1] = (_xb); if (!_n5) { break; } _2a = _2a + _ja } if (!_m5) { break } _0a = _0a + _ia } } function _qm2(_ao2, _q42, _Dk, _bo2, _co2, _f3, _g3, _dZ1, _eZ1, _0b, _bb, alpha) { var _do2 = _zn; var _eo2 = _nn; _Dk = _Dk % (_q42._DD1); if (_Dk < 0) { _Dk = _Dk + (_q42._DD1) } var _fo2 = []; _fo2[0] = _bb & 0xff; _fo2[1] = (_bb >> 8) & 0xff; _fo2[2] = (_bb >> 16) & 0xff; _fo2[3] = (alpha * 255) & 0xff; var _go2 = new _Gn(); _go2._Mo(_f3, _g3, 0.0); var _ho2 = new _Gn(); _ho2._Qo(_0b); var _io2 = new _Gn(); _io2._Mo( - _bo2 / _AD1, -_co2 / _AD1, 0.0); var _jo2 = new _Gn(); _jo2._No(_AD1 * _dZ1, _AD1 * _eZ1, 1.0); var _ko2 = new _Gn(); _ko2._Vo(_io2, _jo2); var _lo2 = new _Gn(); _lo2._Vo(_ko2, _ho2); var _mo2 = new _Gn(); _mo2._Vo(_lo2, _go2); var translate = new _Gn(); translate._Mo(0.5, 0.5, 0.0); var scale = new _Gn(); scale._No(1.0 / 32768.0, 1.0 / 32768.0, 1.0); var _no2 = new _Gn(); _no2._Vo(scale, translate); var _KD1 = _q42._JD1[_Dk]; var _oo2 = [], _po2 = 0, _qo2 = 0, _ro2 = !0; for (var _H3 = 0; _H3 < _KD1._LD1; _H3++) { var _Oy = _KD1._MD1[_H3]; for (var __9 = 0; __9 < _po2;) { var _so2 = _oo2[__9]; if (_so2._ND1 < _Oy._R3) { _sa._oj1(_4c._zl1); _sa._qj1(_4c._rl1); _sa._An(!1, !1, !1, !1); _sa._qn(!1); _qo2 += _t22(_ao2, _so2, _mo2, _no2, _bb, _fo2, !1); _sa._tj1(_po2 - 1); _sa._oj1(_4c._ul1); _sa._qj1(_4c._kl1); _sa._An(_do2._xk, _do2._yk, _do2._zk, _do2.alpha); _sa._qn(_eo2); _ro2 = !0; _po2--; for (var _eT = __9; _eT < _po2; _eT++) { _oo2[_eT] = _oo2[_eT + 1] } } else { __9++ } } if (_Oy._ND1 > 0) { _oo2[_po2++] = _Oy; _sa._mj1(!0); _sa._oj1(_4c._zl1); _sa._qj1(_4c._ql1); _sa._An(!1, !1, !1, !1); _sa._qn(!1); _ro2 = !1 } if (_po2 == 0) { _sa._mj1(!1); _ro2 = !0 } _qo2 += _t22(_ao2, _Oy, _mo2, _no2, _bb, _fo2, _ro2 ? _9m2: !1); if (_Oy._ND1 > 0) { _sa._tj1(_po2); _sa._oj1(_4c._ul1); _sa._qj1(_4c._kl1); _sa._An(_do2._xk, _do2._yk, _do2._zk, _do2.alpha); _sa._qn(_eo2); _ro2 = !0 } } if (_po2 > 0) { _sa._oj1(_4c._zl1); _sa._qj1(_4c._rl1); _sa._An(!1, !1, !1, !1); _sa._qn(!1); for (var __9 = 0; __9 < _po2; __9++) { var _so2 = _oo2[__9]; _qo2 += _t22(_ao2, _so2, _mo2, _no2, _bb, _fo2, !1) } } _sa._mj1(!1); _sa._An(_do2._xk, _do2._yk, _do2._zk, _do2.alpha); _sa._qn(_eo2) } function _rm2(_ik2, _to2, _uo2, _vo2, _wo2, _xo2, _yo2) { var _zo2 = []; _zo2[0] = _xo2[0], _zo2[1] = _xo2[1], _zo2[2] = _xo2[2], _zo2[3] = 0; var _Ao2 = new _Gn(); _Ao2._Vo(_to2._PC1, _uo2); var _Bo2 = 1.0; if (_yo2) { _Bo2 = _Co2(_to2, _Ao2) * _am2 } var _OD1 = [], _PD1 = [], _Do2 = []; for (var _H3 = 0; _H3 < 4; _H3++) { _OD1[_H3] = _to2._QD1[_H3]; _PD1[_H3] = _to2._RD1[_H3]; _Do2[_H3] = _to2._SD1[_H3] } var _Eo2 = 0; if (_to2.__y !== 0) { var _Fo2 = _ik2[_to2.index]; if (_Fo2.type === _nC1) { var _jk2 = _Fo2; for (var __9 = 0; __9 < _jk2._AC1.length; __9++) { var _Go2 = _jk2._AC1[__9]; for (var _eT = 0; _eT < _Go2._DC1; _eT++) { var _dD1 = _Go2._HC1[_eT]; if ((_dD1._fD1 >= 0) && (_dD1._jD1 > 0)) { var _Ho2 = _Go2._FC1[_dD1._fD1]; if ((_Ho2 !== null) && (_Ho2 !== undefined)) { var _MC1 = _Ho2.type; if (_MC1 === _qC1) { _Eo2 += _Io2(_to2, _Ho2, _dD1, _Ao2, _xo2, _zo2, _OD1, _PD1, _Do2, _yo2) } else if ((_MC1 == _rC1) || (_MC1 == _sC1)) { _Eo2 += _Jo2(_ik2, _to2, _MC1, _Ho2, _dD1, _vo2, _Ao2, _xo2, _zo2, _wo2, _OD1, _PD1, _Do2, _yo2) } } } if ((_dD1._gD1 >= 0) && (_dD1._lD1 > 0)) { var _1b = _Go2._GC1[_dD1._gD1]._1b; var _bD1 = []; _bD1[0] = (((_1b >> 0) & 0xff) * _xo2[0]) >> 8; _bD1[1] = (((_1b >> 8) & 0xff) * _xo2[1]) >> 8; _bD1[2] = (((_1b >> 16) & 0xff) * _xo2[2]) >> 8; _bD1[3] = (((_1b >> 24) & 0xff) * _xo2[3]) >> 8; for (var _V9 = 0; _V9 < 4; _V9++) { _bD1[_V9] = ((_bD1[_V9] * _OD1[_V9]) >> 8) + _PD1[_V9]; _bD1[_V9] = Math.max(0, Math.min(_bD1[_V9], 255)) } var _Ko2 = _bD1[0] | (_bD1[1] << 8) | (_bD1[2] << 16) | (_bD1[3] << 24); var _Lo2 = []; _Lo2[0] = ((_1b & 0xff) * _zo2[0]) >> 8; _Lo2[1] = (((_1b >> 8) & 0xff) * _zo2[1]) >> 8; _Lo2[2] = (((_1b >> 16) & 0xff) * _zo2[2]) >> 8; _Lo2[3] = (((_1b >> 24) & 0xff) * _zo2[3]) >> 8; for (var _V9 = 0; _V9 < 4; _V9++) { _Lo2[_V9] = ((_Lo2[_V9] * _OD1[_V9]) >> 8) + _Do2[_V9]; _Lo2[_V9] = _S9(0, _U9(_Lo2[_V9], 255)) } var _Mo2 = _Lo2[0] | (_Lo2[1] << 8) | (_Lo2[2] << 16) | (_Lo2[3] << 24); if (_yo2 && (_dD1._oD1 > 0)) { var _1c = _dD1._oD1 * 6; var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var _No2 = _7c * _2c._9c; _2c._9c += _1c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; _Eo2 += _dD1._oD1 * 2; for (var _V9 = 0; _V9 < _dD1._oD1; _V9++) { var _eX = _dD1._xD1[(_V9 * 2) + 0], _fX = _dD1._xD1[(_V9 * 2) + 1]; var _Oo2 = _dD1._tD1[(_eX * 2) + 0], _Po2 = _dD1._tD1[(_eX * 2) + 1]; var _Qo2 = _dD1._yD1[(_eX * 2) + 0], _Ro2 = _dD1._yD1[(_eX * 2) + 1]; var _So2 = _dD1._tD1[(_fX * 2) + 0], _To2 = _dD1._tD1[(_fX * 2) + 1]; var _Uo2 = _dD1._yD1[(_fX * 2) + 0], _Vo2 = _dD1._yD1[(_fX * 2) + 1]; var _G9 = (_Oo2 * _Ao2._F9[_Yo]) + (_Po2 * _Ao2._F9[_Zo]) + _Ao2._F9[_0p], _H9 = (_Oo2 * _Ao2._F9[_1p]) + (_Po2 * _Ao2._F9[_Rn]) + _Ao2._F9[_3p], _I9 = (_So2 * _Ao2._F9[_Yo]) + (_To2 * _Ao2._F9[_Zo]) + _Ao2._F9[_0p], _J9 = (_So2 * _Ao2._F9[_1p]) + (_To2 * _Ao2._F9[_Rn]) + _Ao2._F9[_3p]; _Qo2 *= _Bo2; _Ro2 *= _Bo2; _Uo2 *= _Bo2; _Vo2 *= _Bo2; var _2k = (_Qo2 * _Ao2._F9[_Yo]) + (_Ro2 * _Ao2._F9[_Zo]) + _G9, _3k = (_Qo2 * _Ao2._F9[_1p]) + (_Ro2 * _Ao2._F9[_Rn]) + _H9, _rB1 = (_Uo2 * _Ao2._F9[_Yo]) + (_Vo2 * _Ao2._F9[_Zo]) + _I9, _sB1 = (_Uo2 * _Ao2._F9[_1p]) + (_Vo2 * _Ao2._F9[_Rn]) + _J9; _ac[_No2 + 0] = _G9; _ac[_No2 + 1] = _H9; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _I9; _ac[_No2 + 1] = _J9; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _2k; _ac[_No2 + 1] = _3k; _cc[_No2] = _Mo2; _No2 += _7c; _ac[_No2 + 0] = _2k; _ac[_No2 + 1] = _3k; _cc[_No2] = _Mo2; _No2 += _7c; _ac[_No2 + 0] = _I9; _ac[_No2 + 1] = _J9; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _rB1; _ac[_No2 + 1] = _sB1; _cc[_No2] = _Mo2; _No2 += _7c } } var _1c = _dD1._lD1 * 3; var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var _No2 = _7c * _2c._9c; _2c._9c += _1c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; _Eo2 += _dD1._lD1; var _Wo2 = 0; for (var _V9 = _dD1._lD1 * 3; _V9 > 0; --_V9) { var index = _dD1._uD1[_Wo2++]; var _Xo2 = _dD1._tD1[index * 2]; var _Yo2 = _dD1._tD1[(index * 2) + 1]; var _f3 = (_Xo2 * _Ao2._F9[_Yo]) + (_Yo2 * _Ao2._F9[_Zo]) + _Ao2._F9[_0p]; var _g3 = (_Xo2 * _Ao2._F9[_1p]) + (_Yo2 * _Ao2._F9[_Rn]) + _Ao2._F9[_3p]; _ac[_No2 + 0] = _f3; _ac[_No2 + 1] = _g3; _cc[_No2] = _Ko2; _No2 += _7c } } } } } } return _Eo2 } function _Jo2(_ik2, _to2, _Zo2, __o2, _0p2, _vo2, _1p2, _xo2, _2p2, _wo2, _3p2, _4p2, _5p2, _yo2) { var _ac, _cc, _ec, _Kj = null, _Bo2 = 1.0, _6p2 = new _Gn(); if (_yo2) { _Bo2 = _Co2(_to2, _1p2) * _am2 } if (_Zo2 === _rC1) { var _7p2 = __o2; _Kj = _7p2._Ld; _6p2._Vo(_7p2._PC1, _vo2) } else if (_Zo2 === _sC1) { var _7p2 = __o2; if (_7p2._VC1 !== -1) { var _8p2 = _ik2[_7p2._VC1]; var _ho1 = _8p2._ho1; _Kj = { _Ga: _ho1 }; if (_ho1 !== null) { var _9p2 = new _Gn(); _9p2._No(1.0 / _ho1.width, 1.0 / _ho1.height, 1.0); _6p2._Vo(_7p2._PC1, _9p2); if ((_7p2._TC1 === _KB1) || (_7p2._TC1 === _MB1)) { _sa._9j1(0, !0) } else { _sa._9j1(0, !1) } } } } var _Eo2 = 0; if (_Kj !== null) { _Eo2 += _0p2._jD1; if (_yo2 && (_0p2._mD1 > 0)) { _Eo2 += _0p2._mD1 * 2; var _bD1 = []; for (var _V9 = 0; _V9 < 4; _V9++) { _bD1[_V9] = ((_xo2[_V9] * _3p2[_V9]) >> 8) + _4p2[_V9]; _bD1[_V9] = Math.max(0, Math.min(_bD1[_V9], 255)) } var _Ko2 = _bD1[0] | (_bD1[1] << 8) | (_bD1[2] << 16) | (_bD1[3] << 24); var _Lo2 = []; for (var _V9 = 0; _V9 < 4; _V9++) { _Lo2[_V9] = ((_2p2[_V9] * _3p2[_V9]) >> 8) + _5p2[_V9]; _Lo2[_V9] = Math.max(0, Math.min(_Lo2[_V9], 255)) } var _Mo2 = _Lo2[0] | (_Lo2[1] << 8) | (_Lo2[2] << 16) | (_Lo2[3] << 24); var _1c = _0p2._mD1 * 6; var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var _No2 = _7c * _2c._9c; _2c._9c += _1c; _ac = _2c._bc, _cc = _2c._dc, _ec = _2c._fc; var _ap2 = 0; for (_V9 = _0p2._mD1; _V9 > 0; _V9--) { var _eX = _0p2._vD1[_ap2++], _fX = _0p2._vD1[_ap2++]; var _bp2 = _eX * 2, _cp2 = _eX * 2; var _Oo2 = _0p2._qD1[_bp2]; _bp2++; var _Po2 = _0p2._qD1[_bp2]; var _Qo2 = _0p2._wD1[_cp2]; _cp2++; var _Ro2 = _0p2._wD1[_cp2]; _bp2 = _fX * 2; _cp2 = _fX * 2; var _So2 = _0p2._qD1[_bp2]; _bp2++; var _To2 = _0p2._qD1[_bp2]; var _Uo2 = _0p2._wD1[_cp2]; _cp2++; var _Vo2 = _0p2._wD1[_cp2]; var _G9 = (_Oo2 * _1p2._F9[_Yo]) + (_Po2 * _1p2._F9[_Zo]) + _1p2._F9[_0p], _H9 = (_Oo2 * _1p2._F9[_1p]) + (_Po2 * _1p2._F9[_Rn]) + _1p2._F9[_3p], _I9 = (_So2 * _1p2._F9[_Yo]) + (_To2 * _1p2._F9[_Zo]) + _1p2._F9[_0p], _J9 = (_So2 * _1p2._F9[_1p]) + (_To2 * _1p2._F9[_Rn]) + _1p2._F9[_3p]; _Qo2 *= _Bo2; _Ro2 *= _Bo2; _Uo2 *= _Bo2; _Vo2 *= _Bo2; var _2k = (_Qo2 * _1p2._F9[_Yo]) + (_Ro2 * _1p2._F9[_Zo]) + _G9, _3k = (_Qo2 * _1p2._F9[_1p]) + (_Ro2 * _1p2._F9[_Rn]) + _H9, _rB1 = (_Uo2 * _1p2._F9[_Yo]) + (_Vo2 * _1p2._F9[_Zo]) + _I9, _sB1 = (_Uo2 * _1p2._F9[_1p]) + (_Vo2 * _1p2._F9[_Rn]) + _J9; _Qo2 += _Oo2; _Ro2 += _Po2; _Uo2 += _So2; _Vo2 += _To2; _ac[_No2 + 0] = _G9; _ac[_No2 + 1] = _H9; _ec[_No2 + 0] = (_Oo2 * _6p2._F9[_Yo]) + (_Po2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_Oo2 * _6p2._F9[_1p]) + (_Po2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _I9; _ac[_No2 + 1] = _J9; _ec[_No2 + 0] = (_So2 * _6p2._F9[_Yo]) + (_To2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_So2 * _6p2._F9[_1p]) + (_To2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _2k; _ac[_No2 + 1] = _3k; _ec[_No2 + 0] = (_Qo2 * _6p2._F9[_Yo]) + (_Ro2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_Qo2 * _6p2._F9[_1p]) + (_Ro2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _cc[_No2] = _Mo2; _No2 += _7c; _ac[_No2 + 0] = _2k; _ac[_No2 + 1] = _3k; _ec[_No2 + 0] = (_Qo2 * _6p2._F9[_Yo]) + (_Ro2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_Qo2 * _6p2._F9[_1p]) + (_Ro2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _cc[_No2] = _Mo2; _No2 += _7c; _ac[_No2 + 0] = _I9; _ac[_No2 + 1] = _J9; _ec[_No2 + 0] = (_So2 * _6p2._F9[_Yo]) + (_To2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_So2 * _6p2._F9[_1p]) + (_To2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _rB1; _ac[_No2 + 1] = _sB1; _ec[_No2 + 0] = (_Uo2 * _6p2._F9[_Yo]) + (_Vo2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_Uo2 * _6p2._F9[_1p]) + (_Vo2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _cc[_No2] = _Mo2; _No2 += _7c } } var _1c = _0p2._jD1 * 3; var _2c = _sa._3c(_4c._5c, _Kj._Ga.__b, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var _No2 = _7c * _2c._9c; _2c._9c += _1c; _ac = _2c._bc, _cc = _2c._dc, _ec = _2c._fc; var _Wo2 = 0; for (var _V9 = _0p2._jD1 * 3; _V9 > 0; --_V9) { var index = _0p2._sD1[_Wo2++]; var _Xo2 = _0p2._qD1[index * 2]; var _Yo2 = _0p2._qD1[(index * 2) + 1]; var _f3 = (_Xo2 * _1p2._F9[_Yo]) + (_Yo2 * _1p2._F9[_Zo]) + _1p2._F9[_0p]; var _g3 = (_Xo2 * _1p2._F9[_1p]) + (_Yo2 * _1p2._F9[_Rn]) + _1p2._F9[_3p]; _ac[_No2 + 0] = _f3; _ac[_No2 + 1] = _g3; _cc[_No2] = _wo2; _ec[_No2 + 0] = (_Xo2 * _6p2._F9[_Yo]) + (_Yo2 * _6p2._F9[_Zo]) + _6p2._F9[_0p]; _ec[_No2 + 1] = (_Xo2 * _6p2._F9[_1p]) + (_Yo2 * _6p2._F9[_Rn]) + _6p2._F9[_3p]; _No2 += _7c } } return _Eo2 } function _Io2(_to2, __o2, _0p2, _1p2, _xo2, _2p2, _3p2, _4p2, _5p2, _yo2) { var _Bo2 = 1.0; if (_yo2) { _Bo2 = _Co2(_to2, _1p2) * _am2 } var _dp2 = !1; var _7p2 = __o2, _1b = _7p2._1b, _Eo2 = 0, _V9 = 0; var _bD1 = []; var _T9 = ((_1b >> 16) & 0xff), _jb = ((_1b >> 8) & 0xff), _W9 = ((_1b >> 0) & 0xff), _kb = ((_1b >> 24) & 0xff); _bD1[0] = (_T9 * _xo2[0]) >> 8; _bD1[1] = (_jb * _xo2[1]) >> 8; _bD1[2] = (_W9 * _xo2[2]) >> 8; _bD1[3] = (_kb * _xo2[3]) >> 8; for (_V9 = 0; _V9 < 4; _V9++) { _bD1[_V9] = ((_bD1[_V9] * _3p2[_V9]) >> 8) + _4p2[_V9]; _bD1[_V9] = _S9(0, _U9(_bD1[_V9], 255)) } var _Ko2 = _bD1[2] | (_bD1[1] << 8) | (_bD1[0] << 16) | (_bD1[3] << 24); var _Lo2 = []; _Lo2[0] = ((_1b & 0xff) * _2p2[0]) >> 8; _Lo2[1] = (((_1b >> 8) & 0xff) * _2p2[1]) >> 8; _Lo2[2] = (((_1b >> 16) & 0xff) * _2p2[2]) >> 8; _Lo2[3] = (((_1b >> 24) & 0xff) * _2p2[3]) >> 8; for (_V9 = 0; _V9 < 4; _V9++) { _Lo2[_V9] = ((_Lo2[_V9] * _3p2[_V9]) >> 8) + _5p2[_V9]; _Lo2[_V9] = _S9(0, _U9(_Lo2[_V9], 255)) } var _Mo2 = _Lo2[0] | (_Lo2[1] << 8) | (_Lo2[2] << 16) | (_Lo2[3] << 24); if (_dp2) {} else if (_yo2 && (_0p2._mD1 > 0)) { _Eo2 += _0p2._mD1 * 2; var _1c = _0p2._mD1 * 6; var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var _No2 = _7c * _2c._9c; _2c._9c += _1c; _ac = _2c._bc; _cc = _2c._dc; var _ap2 = 0; for (_V9 = _0p2._mD1; _V9 > 0; _V9--) { var _eX = _0p2._vD1[_ap2++], _fX = _0p2._vD1[_ap2++]; var _bp2 = _eX * 2, _cp2 = _eX * 2; var _Oo2 = _0p2._qD1[_bp2]; _bp2++; var _Po2 = _0p2._qD1[_bp2]; var _Qo2 = _0p2._wD1[_cp2]; _cp2++; var _Ro2 = _0p2._wD1[_cp2]; _bp2 = _fX * 2; _cp2 = _fX * 2; var _So2 = _0p2._qD1[_bp2]; _bp2++; var _To2 = _0p2._qD1[_bp2]; var _Uo2 = _0p2._wD1[_cp2]; _cp2++; var _Vo2 = _0p2._wD1[_cp2]; var _G9 = (_Oo2 * _1p2._F9[_Yo]) + (_Po2 * _1p2._F9[_Zo]) + _1p2._F9[_0p], _H9 = (_Oo2 * _1p2._F9[_1p]) + (_Po2 * _1p2._F9[_Rn]) + _1p2._F9[_3p], _I9 = (_So2 * _1p2._F9[_Yo]) + (_To2 * _1p2._F9[_Zo]) + _1p2._F9[_0p], _J9 = (_So2 * _1p2._F9[_1p]) + (_To2 * _1p2._F9[_Rn]) + _1p2._F9[_3p]; _Qo2 *= _Bo2; _Ro2 *= _Bo2; _Uo2 *= _Bo2; _Vo2 *= _Bo2; var _2k = (_Qo2 * _1p2._F9[_Yo]) + (_Ro2 * _1p2._F9[_Zo]) + _G9, _3k = (_Qo2 * _1p2._F9[_1p]) + (_Ro2 * _1p2._F9[_Rn]) + _H9, _rB1 = (_Uo2 * _1p2._F9[_Yo]) + (_Vo2 * _1p2._F9[_Zo]) + _I9, _sB1 = (_Uo2 * _1p2._F9[_1p]) + (_Vo2 * _1p2._F9[_Rn]) + _J9; _ac[_No2 + 0] = _G9; _ac[_No2 + 1] = _H9; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _I9; _ac[_No2 + 1] = _J9; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _2k; _ac[_No2 + 1] = _3k; _cc[_No2] = _Mo2; _No2 += _7c; _ac[_No2 + 0] = _2k; _ac[_No2 + 1] = _3k; _cc[_No2] = _Mo2; _No2 += _7c; _ac[_No2 + 0] = _I9; _ac[_No2 + 1] = _J9; _cc[_No2] = _Ko2; _No2 += _7c; _ac[_No2 + 0] = _rB1; _ac[_No2 + 1] = _sB1; _cc[_No2] = _Mo2; _No2 += _7c } } var _1c = _0p2._jD1 * 3; var _2c = _sa._3c(_4c._5c, null, _sa._6c, _1c); var _7c = _2c._8c() >> 2; var _No2 = _7c * _2c._9c; _2c._9c += _1c; _ac = _2c._bc; _cc = _2c._dc; _Eo2 += _0p2._jD1; var _Wo2 = 0; for (var _V9 = _0p2._jD1 * 3; _V9 > 0; --_V9) { var index = _0p2._sD1[_Wo2++]; var _Xo2 = _0p2._qD1[index * 2]; var _Yo2 = _0p2._qD1[(index * 2) + 1]; var _f3 = (_Xo2 * _1p2._F9[_Yo]) + (_Yo2 * _1p2._F9[_Zo]) + _1p2._F9[_0p]; var _g3 = (_Xo2 * _1p2._F9[_1p]) + (_Yo2 * _1p2._F9[_Rn]) + _1p2._F9[_3p]; _ac[_No2 + 0] = _f3; _ac[_No2 + 1] = _g3; _cc[_No2] = _Ko2; _No2 += _7c } return _Eo2 } function _Co2(_to2, _1p2) { if (_9m2) { if (_to2._Bo2 !== undefined) { return _to2._Bo2 } var _ep2 = _Uo(_Lo); var _fp2 = _Uo(_fm2); var _gp2 = _Uo(_em2); var _hp2 = new _Gn(); _hp2._Vo(_ep2, _fp2); var _ip2 = new _Gn(); _ip2._Vo(_hp2, _gp2); var _jp2 = new _Gn(); _jp2._Vo(_1p2, _ip2); var _kp2 = _sa._yh1, _lp2 = _sa._zh1; var _mp2 = []; _mp2[0] = 0.0; _mp2[1] = 0.0; _mp2[2] = 1.0; _mp2[3] = 0.0; _mp2[4] = 0.0; _mp2[5] = 1.0; var _np2 = []; for (var _H3 = 0; _H3 < 3; _H3++) { var _LG1 = (_mp2[_H3 * 2] * _jp2._F9[_JW1]) + (_mp2[(_H3 * 2) + 1] * _jp2._F9[_KW1]) + (_xn * _jp2._F9[_LW1]) + _jp2._F9[_MW1]; var index = (_H3 * 2) + 0; _np2[index] = (_mp2[_H3 * 2] * _jp2._F9[_Yo]) + (_mp2[(_H3 * 2) + 1] * _jp2._F9[_Zo]) + (_xn * _jp2._F9[__o]) + _jp2._F9[_0p]; _np2[index] = _np2[index] / _LG1; _np2[index] = _np2[index] * _kp2; index++; _np2[index] = (_mp2[_H3 * 2] * _jp2._F9[_1p]) + (_mp2[(_H3 * 2) + 1] * _jp2._F9[_Rn]) + (_xn * _jp2._F9[_2p]) + _jp2._F9[_3p]; _np2[index] = _np2[index] / _LG1; _np2[index] = _np2[index] * _lp2 } var _op2 = []; _op2[0] = _np2[2] - _np2[0]; _op2[1] = _np2[3] - _np2[1]; _op2[2] = _np2[4] - _np2[0]; _op2[3] = _np2[5] - _np2[1]; var _pp2 = 0.0, _Bo2 = 1.0, index = 0; for (var _H3 = 0; _H3 < 2; _H3++) { var length = _op2[index] * _op2[index]; index++; length += _op2[index] * _op2[index]; index++; if (length > 0.0) { length = Math.sqrt(length) } _pp2 = Math.max(length, _pp2) } _pp2 *= 0.5; if (_pp2 > 0.0) { _Bo2 = 1.0 / _pp2 } _to2._Bo2 = _Bo2; return _Bo2 } return 1.0 } function _pm2(_lG, _ZF, __F, _V8, _W8, _232, _332, _b32, _Sd, _at, _Pv, _Qv, _Gd) { var _2c, _882, _3o2, _ac, _cc, _ec; if (!_lG._Ga.__b) _0c(_lG); _2c = _sa._3c(_4c._5c, _lG._Ga.__b, _sa._6c, 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 6; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; var _G9 = -_232 * (_ZF - _lG._s5); var _H9 = -_332 * (__F - _lG._t5); var _I9 = _G9 + (_232 * _lG._u5); var _J9 = _H9 + (_332 * _lG._v5); if (Math.abs(_b32) < 0.001) { _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _V8 + _G9; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _W8 + _H9; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _I9; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _W8 + _J9 } else { var _la = Math.sin(_b32); var _ma = Math.cos(_b32); var _qw1 = _G9 * _ma; var _rw1 = _I9 * _ma; var _sw1 = _H9 * _ma; var _tw1 = _J9 * _ma; var _uw1 = _G9 * _la; var _vw1 = _I9 * _la; var _ww1 = _H9 * _la; var _xw1 = _J9 * _la; _ac[_gc + 0] = _ac[_lc + 0] = _V8 + _qw1 + _ww1; _ac[_gc + 1] = _ac[_lc + 1] = _W8 - _uw1 + _sw1; _ac[_ic + 0] = _ac[_jc + 0] = _V8 + _rw1 + _xw1; _ac[_ic + 1] = _ac[_jc + 1] = _W8 - _vw1 + _tw1; _ac[_hc + 1] = _W8 - _vw1 + _sw1; _ac[_hc + 0] = _V8 + _rw1 + _ww1; _ac[_kc + 0] = _V8 + _qw1 + _xw1; _ac[_kc + 1] = _W8 - _uw1 + _tw1 } _ec[_gc + 0] = _ec[_kc + 0] = _ec[_lc + 0] = _lG._f3 / _lG._Ga.width; _ec[_gc + 1] = _ec[_hc + 1] = _ec[_lc + 1] = _lG._g3 / _lG._Ga.height; _ec[_hc + 0] = _ec[_ic + 0] = _ec[_jc + 0] = (_lG._f3 + _lG._J3) / _lG._Ga.width; _ec[_ic + 1] = _ec[_jc + 1] = _ec[_kc + 1] = (_lG._g3 + _lG._K3) / _lG._Ga.height; var _kb = (_Gd * 255.0) << 24; _Sd = _kb | (_Sd & 0xffffff); if (_at == undefined) { _at = _Sd; _Pv = _Sd; _Qv = _Sd } else { _at = _at | _kb; _Pv = _Pv | _kb; _Qv = _Qv | _kb } if (_k12) { _Sd &= 0xfffefffe; _at &= 0xfffefffe; _Pv &= 0xfffefffe; _Qv &= 0xfffefffe; _at |= 0x00010000; _Pv |= 0x00000001; _Qv |= 0x00010001 } _cc[_gc] = _cc[_lc] = _Sd; _cc[_hc] = _at; _cc[_ic] = _cc[_jc] = _Pv; _cc[_kc] = _Qv } function _tm2(_Ye, _V8, _W8, _fh1) { _sa._Ij1(_Ye, _V8, _W8, _fh1) } function _sm2(_lG, _yA, _zA, _Aa, _Ba, _V8, _W8, __l, _0m, _QH, _Gd) { if (!_lG) return; if (!_lG._Ga) return; if (!_lG._Ga.complete) return; _QH &= 0xffffff; _QH |= (_Gd * 255) << 24; if (_yA < _lG._s5) { var _h32 = _lG._s5 - _yA; _V8 += _h32; _Aa -= _h32; _yA = 0 } else { _yA -= _lG._s5 } if (_zA < _lG._t5) { var _h32 = _lG._t5 - _zA; _W8 += _h32; _Ba -= _h32; _zA = 0 } else { _zA -= _lG._t5 } if (_Aa > (_lG._u5 - _yA)) _Aa = _lG._u5 - _yA; if (_Ba > (_lG._v5 - _zA)) _Ba = _lG._v5 - _zA; if (_Aa <= 0 || _Ba <= 0) return; _um2(_lG, _yA + _lG._f3, _zA + _lG._g3, _Aa, _Ba, _V8, _W8, _Aa * __l, _Ba * _0m, _QH) } function _Hm2(_aa, _ba, _x9, _y9, _yv) { var _2c, _882, _3o2, _ac, _cc, _ec; _aa = ~~_aa; _ba = ~~_ba; _x9 = ~~_x9; _y9 = ~~_y9; var _zA1 = _4c._5c; var _Ea = 6; if (_yv) { _zA1 = _4c._pd; _Ea = 8 } _2c = _sa._3c(_zA1, null, _sa._6c, _Ea); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _Ea; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; var _qp2 = _lc + _7c; var _rp2 = _qp2 + _7c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; var _1b = ~~ ((_Ad * 255.0) << 24) | (_Bd & 0xffffff); if (!_yv) { _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _aa; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _ba; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _x9; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _y9; _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _1b } else { _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = _cc[_kc] = _cc[_lc] = _cc[_qp2] = _cc[_rp2] = _1b; _ac[_lc + 0] = _ac[_rp2 + 0] = _ac[_qp2 + 0] = _ac[_gc + 0] = _aa; _ac[_rp2 + 1] = _ac[_ic + 1] = _ac[_hc + 1] = _ac[_gc + 1] = _ba; _ac[_kc + 0] = _ac[_jc + 0] = _ac[_ic + 0] = _ac[_hc + 0] = _x9; _ac[_jc + 1] = _ac[_kc + 1] = _ac[_lc + 1] = _ac[_qp2 + 1] = _y9 } } function _Im2(_aa, _ba, _x9, _y9, _Dv, _Ev, _9t, _at, _yv) { var _H3, _J3, _K3; _J3 = _Dv; _K3 = _Ev; if (_J3 > Math.abs(_x9 - _aa)) { _J3 = Math.abs(_x9 - _aa) } if (_K3 > Math.abs(_y9 - _ba)) { _K3 = Math.abs(_y9 - _ba) } _kN = (_Dd(_9t) & 0xffffff) | ((_Ad * 255.0) << 24); _lN = (_Dd(_at) & 0xffffff) | ((_Ad * 255.0) << 24); var _sp2 = _im2 / 4; var _zA1 = _4c._sd; var _Ea = ((_sp2 + 1) * 4) + 2; if (_yv) { _zA1 = _4c._qd } var _Nw = (_aa + _x9) * 0.5; var _Ow = (_ba + _y9) * 0.5; var _5o = Math.abs(_x9 - _aa) * 0.5 - _J3 * 0.5; var _6o = Math.abs(_y9 - _ba) * 0.5 - _K3 * 0.5; _2c = _sa._3c(_zA1, null, _sa._6c, _Ea); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; var _tp2 = index; _2c._9c += _Ea; _ac = _2c._bc; _cc = _2c._dc; _ac[index] = _Nw; _ac[index + 1] = _Ow; _cc[index] = _kN; index += _7c; for (_H3 = 0; _H3 <= _sp2; _H3++) { _ac[index] = (_Nw + _5o + _J3 * _jm2[_H3] / 2); _ac[index + 1] = (_Ow + _6o + _K3 * _km2[_H3] / 2); _cc[index] = _lN; index += _7c } for (_H3 = _sp2; _H3 <= (_sp2 * 2); _H3++) { _ac[index] = (_Nw - _5o + _J3 * _jm2[_H3] / 2); _ac[index + 1] = (_Ow + _6o + _K3 * _km2[_H3] / 2); _cc[index] = _lN; index += _7c } for (_H3 = (_sp2 * 2); _H3 <= (_sp2 * 3); _H3++) { _ac[index] = (_Nw - _5o + _J3 * _jm2[_H3] / 2); _ac[index + 1] = (_Ow - _6o + _K3 * _km2[_H3] / 2); _cc[index] = _lN; index += _7c } for (_H3 = (_sp2 * 3); _H3 <= (_sp2 * 4); _H3++) { _ac[index] = (_Nw + _5o + _J3 * _jm2[_H3] / 2); _ac[index + 1] = (_Ow - _6o + _K3 * _km2[_H3] / 2); _cc[index] = _lN; index += _7c; } _ac[index] = _ac[_tp2 + _7c]; _ac[index + 1] = _ac[_tp2 + _7c + 1]; _cc[index] = _lN; if (_yv) { _ac[_tp2] = _ac[_tp2 + _7c]; _ac[_tp2 + 1] = _ac[_tp2 + _7c + 1]; _cc[_tp2] = _cc[_tp2 + _7c] } } function _Jm2(_aa, _ba, _x9, _y9, _9t, _at, _Pv, _Qv, _yv) { var _2c, _882, _3o2, _ac, _cc, _ec; _aa = ~~_aa; _ba = ~~_ba; _x9 = ~~_x9; _y9 = ~~_y9; var _kb = ((_Ad * 255.0) << 24); _9t = _Dd(_9t) | _kb; _at = _Dd(_at) | _kb; _Pv = _Dd(_Pv) | _kb; _Qv = _Dd(_Qv) | _kb; var _zA1 = _4c._5c; var _Ea = 6; if (_yv) { _zA1 = _4c._pd; _Ea = 8 } _2c = _sa._3c(_zA1, null, _sa._6c, _Ea); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _Ea; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; var _qp2 = _lc + _7c; var _rp2 = _qp2 + _7c; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; var _1b = ~~ ((_Ad * 255.0) << 24) | (_Bd & 0xffffff); if (!_yv) { _ac[_gc + 0] = _ac[_kc + 0] = _ac[_lc + 0] = _aa; _ac[_gc + 1] = _ac[_hc + 1] = _ac[_lc + 1] = _ba; _ac[_hc + 0] = _ac[_ic + 0] = _ac[_jc + 0] = _x9; _ac[_ic + 1] = _ac[_jc + 1] = _ac[_kc + 1] = _y9; _cc[_gc] = _cc[_lc] = _9t; _cc[_ic] = _cc[_jc] = _Pv; _cc[_hc] = _at; _cc[_kc] = _Qv } else { _cc[_gc] = _cc[_rp2] = _9t; _cc[_hc] = _cc[_ic] = _at; _cc[_jc] = _cc[_kc] = _Pv; _cc[_lc] = _cc[_qp2] = _Qv; _ac[_lc + 0] = _ac[_rp2 + 0] = _ac[_qp2 + 0] = _ac[_gc + 0] = _aa; _ac[_rp2 + 1] = _ac[_ic + 1] = _ac[_hc + 1] = _ac[_gc + 1] = _ba; _ac[_kc + 0] = _ac[_jc + 0] = _ac[_ic + 0] = _ac[_hc + 0] = _x9; _ac[_jc + 1] = _ac[_kc + 1] = _ac[_lc + 1] = _ac[_qp2 + 1] = _y9 } } function _Sm2(_V8, _W8, _Sd) { var _2c, _ac, _cc, _ec; _2c = _sa._3c(_4c._od, null, _sa._6c, 1); var _7c = _2c._8c() >> 2; var _gc = _7c * _2c._9c; _2c._9c++; _ac = _2c._bc; _cc = _2c._dc; _ec = _2c._fc; var _1b = ~~ ((_Ad * 255.0) << 24) | _Dd(_Sd); _ac[_gc + 0] = ~~_V8; _ac[_gc + 1] = ~~_W8; _cc[_gc] = _1b } function _Om2(_aa, _ba, _x9, _y9, _fw, _gw, _yv) { var _2c, _ac, _cc, _ec; if (_yv) { _2c = _sa._3c(_4c._qd, null, _sa._6c, 4) } else { _2c = _sa._3c(_4c._5c, null, _sa._6c, 3) } var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 3; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; _ac = _2c._bc; _cc = _2c._dc; _ac[_gc + 0] = _aa; _ac[_gc + 1] = _ba; _ac[_hc + 0] = _x9; _ac[_hc + 1] = _y9; _ac[_ic + 0] = _fw; _ac[_ic + 1] = _gw; if (_yv) { _ac[_jc + 0] = _aa; _ac[_jc + 1] = _ba; _2c._9c++ } _cc[_gc] = _cc[_hc] = _cc[_ic] = _cc[_jc] = ((_Ad * 255.0) << 24) | _Bd } function _Km2(_aa, _ba, _x9, _y9, _9t, _at, _Tv, _yv) { if (_Tv) { _Jm2(_aa, _ba, _x9, _y9, _9t, _9t, _at, _at, _yv) } else { _Jm2(_aa, _ba, _x9, _y9, _9t, _at, _at, _9t, _yv) } } function _Lm2(_V8, _W8) { _Sm2(_V8, _W8, _ps) } function _Mm2(_V8, _W8) { return _Nm2(_V8, _W8) & 0x00ffffff } function _Nm2(_V8, _W8) { _V8 = ~~_V8; _W8 = ~~_W8; if (_Sn < 0) { _W8 = _sa._Bh1 - _W8 } return _sa._kk1(_V8, _W8) } function _Pm2(_aa, _ba, _x9, _y9, _fw, _gw, _js, _ks, _ls, _yv) { var _2c, _ac, _cc, _ec; var _kb = ((_Ad * 255.0) << 24); _js = _kb | _Dd(_js); _ks = _kb | _Dd(_ks); _ls = _kb | _Dd(_ls); if (_yv) { _2c = _sa._3c(_4c._qd, null, _sa._6c, 4) } else { _2c = _sa._3c(_4c._5c, null, _sa._6c, 3) } var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 3; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; _ac = _2c._bc; _cc = _2c._dc; _ac[_gc + 0] = _aa; _ac[_gc + 1] = _ba; _ac[_hc + 0] = _x9; _ac[_hc + 1] = _y9; _ac[_ic + 0] = _fw; _ac[_ic + 1] = _gw; if (_yv) { _ac[_jc + 0] = _aa; _ac[_jc + 1] = _ba; _2c._9c++ } _cc[_gc] = _js; _cc[_hc] = _ks; _cc[_ic] = _ls; _cc[_jc] = _js } function _Qm2(_aa, _ba, _x9, _y9, _9t, _at, _yv) { var _Nw = (_aa + _x9) / 2; var _Ow = (_ba + _y9) / 2; var _5o = Math.abs((_aa - _x9) / 2); var _6o = Math.abs((_ba - _y9) / 2); var _kb = ((_Ad * 255.0) << 24); _9t = _kb | _Dd(_9t); _at = _kb | _Dd(_at); var _up2; var _xb; if (_yv) { var _vp2 = _im2 + 1; _2c = _sa._3c(_4c._qd, null, _sa._6c, _vp2); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _vp2; _ac = _2c._bc; _cc = _2c._dc; for (var _H3 = 0; _H3 <= _im2; _H3++) { _ac[index] = (_Nw + (_5o * _jm2[_H3])); _ac[index + 1] = (_Ow + (_6o * _km2[_H3])); _cc[index] = _at; index += _7c } } else { var _wp2 = _im2 * 3; _2c = _sa._3c(_4c._5c, null, _sa._6c, _wp2); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += _wp2; _ac = _2c._bc; _cc = _2c._dc; for (var _H3 = 0; _H3 < _im2; _H3++) { _ac[index] = _Nw; _ac[index + 1] = _Ow; _cc[index] = _9t; index += _7c; _ac[index] = (_Nw + _5o * _jm2[_H3]); _ac[index + 1] = (_Ow + _6o * _km2[_H3]); _cc[index] = _at; index += _7c; _ac[index] = (_Nw + _5o * _jm2[_H3 + 1]); _ac[index + 1] = (_Ow + _6o * _km2[_H3 + 1]); _cc[index] = _at; index += _7c } } } function _Rm2(_V8, _W8, _Sw, _9t, _at, _yv) { _Qm2(_V8 - _Sw, _W8 - _Sw, _V8 + _Sw, _W8 + _Sw, _9t, _at, _yv) } function _Tm2(_aa, _ba, _x9, _y9) { _Vm2(_aa, _ba, _x9, _y9, 1.0, _ps, _ps) } function _Um2(_aa, _ba, _x9, _y9, _vh) { _Vm2(_aa, _ba, _x9, _y9, _vh, _ps, _ps) } function _Vm2(_aa, _ba, _x9, _y9, _vh, _9t, _at) { var _kb = ((_Ad * 255.0) << 24); _9t = _kb | _Dd(_9t); _at = _kb | _Dd(_at); var _0a = (_x9 - _aa); var _2a = (_y9 - _ba); var _R9 = (_0a * _0a) + (_2a * _2a); if (_R9 < 0.0001) return; _R9 = Math.sqrt(_R9); if (_R9 < 0.0001) return; _0a = 0.5 * _vh * _0a / _R9; _2a = 0.5 * _vh * _2a / _R9; _2c = _sa._3c(_4c._5c, null, _sa._6c, 6); var _7c = _2c._8c() >> 2; var index = _7c * _2c._9c; _2c._9c += 6; var _gc = index; var _hc = _gc + _7c; var _ic = _hc + _7c; var _jc = _ic + _7c; var _kc = _jc + _7c; var _lc = _kc + _7c; _ac = _2c._bc; _cc = _2c._dc; _ac[_gc + 0] = (_aa - _2a); _ac[_gc + 1] = (_ba + _0a); _ac[_hc + 0] = (_x9 - _2a); _ac[_hc + 1] = (_y9 + _0a); _ac[_ic + 0] = (_x9 + _2a); _ac[_ic + 1] = (_y9 - _0a); _ac[_jc + 0] = (_x9 + _2a); _ac[_jc + 1] = (_y9 - _0a); _ac[_kc + 0] = (_aa + _2a); _ac[_kc + 1] = (_ba - _0a); _ac[_lc + 0] = (_aa - _2a); _ac[_lc + 1] = (_ba + _0a); _cc[_gc] = _cc[_kc] = _cc[_lc] = _9t; _cc[_hc] = _cc[_ic] = _cc[_jc] = _at } function _xp2(_lG, _vh, _wh) { var _sk1 = _sa._mk1(_vh, _wh); _lG._yp2 = _sk1; _lG._tk1 = _sk1._tk1; _lG._Ga.__b = _sk1._fk1 } function _0n2(_vh, _wh, _XG) { var _Kj = new _Lj(); _Kj._Ga = document.createElement("surf"); _Kj._Od = _vh; _Kj._Pd = _wh; _Kj._Ga.width = _vh; _Kj._Ga.height = _wh; _Kj._Ga._Od = _vh; _Kj._Ga._Pd = _wh; if (_XG != undefined) { var _Tj = _Fj._Gh(_XG); if (_Tj && _Tj._yp2) { _sa._vk1(_Tj._yp2) } } _xp2(_Kj, _vh, _wh); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _vh; _Kj._K3 = _wh; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; if (_XG != undefined) { _Fj._gi(_XG, _Kj); _Kj._y5 = _XG } else { _Kj._y5 = _Fj._Wh(_Kj) } _Kj._ZG = _Kj; _Kj._Ga.complete = !0; _Kj._Da = []; _Kj._Ea = 0; _Kj._Fa = 4; _Kj.__G = 0; _Kj._0H = null; _Kj._QF = _Kj._Ga; return _Kj._y5 } _5H = _6H; function _2n2(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _hm2.push({ _tk1: _vT1, _zp2: _Sn, _Ap2: _sa._Ah1, _Bp2: _sa._Bh1, _jH: _N12, _kH: _O12, _lH: _P12, _mH: _Q12 }); _Sn = -1; _vT1 = _Tj._tk1; _sa._Wj1(_Tj._tk1); _8H = !1 } } function _1n2(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _hm2.push({ _tk1: _vT1, _zp2: _Sn, _Ap2: _sa._Ah1, _Bp2: _sa._Bh1, _jH: _N12, _kH: _O12, _lH: _P12, _mH: _Q12 }); _sa._Ah1 = _Tj._Od; _sa._Bh1 = _Tj._Pd; _fH.left = _gH.left; _fH.top = _gH.top; _fH._q9 = _gH._q9; _fH.bottom = _gH.bottom; _gH.left = 0; _gH.top = 0; _gH._q9 = _Tj._Od; _gH.bottom = _Tj._Pd; _hH._yh(_iH); _iH._jH = 0; _iH._kH = 0; _iH._lH = _Tj._Od; _iH._mH = _Tj._Pd; _iH._nH = 0; _iH._oH = 0; _iH._pH = _Tj._Od; _iH._qH = _Tj._Pd; _iH._Qg = 0; _iH._Sg = 0; _iH._rH = _Tj._Od; _iH._sH = _Tj._Pd; _iH._Rg = _iH._Qg + _iH._rH; _iH._Tg = _iH._Sg + _iH._sH; _vT1 = _Tj._tk1; _sa._Wj1(_Tj._tk1); _Sn = -1; _9H = _Ou; _aH = _Pu; _bH = _Qu; _cH = _Ru; _tH(0, 0, _Tj._Od, _Tj._Pd); _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH, _iH._0b); _8H = !0 } } function _3n2() { if (_8H) { _gH.left = _fH.left; _gH._q9 = _fH._q9; _gH.top = _fH.top; _gH.bottom = _fH.bottom; _iH._yh(_hH) } var _Cp2 = _hm2.pop(); if (_Cp2) { _Sn = _Cp2._zp2; _vT1 = _Cp2._tk1; _sa._Ah1 = _Cp2._Ap2; _sa._Bh1 = _Cp2._Bp2; if (_8H) { _tH(_9H, _aH, _bH, _cH); _uH(_Cp2._jH, _Cp2._kH, _Cp2._lH, _Cp2._mH, _iH._0b) } } else { _Sn = 1; _vT1 = null; _sa._Ah1 = _sa._yh1; _sa._Bh1 = _sa._zh1; if (_8H) { _tH(_9H, _aH, _bH, _cH); _uH(_iH._jH, _iH._kH, _iH._lH, _iH._mH, _iH._0b) } } _sa._Wj1(_vT1) } function _4n2(_Ch) { var _Tj = _Fj._Gh(_Ch); if (_Tj && _Tj._yp2) { _sa._vk1(_Tj._yp2); _Tj._Ga.__b = undefined; _Fj._di(_Ch) } } function _5n2(_Ch, _V8, _W8) { return _6n2(_Ch, _V8, _W8) & 0x00ffffff } function _6n2(_Ch, _V8, _W8) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _V8 = ~~_V8; _W8 = ~~_W8; _sa._lk1(_Tj._tk1, _V8, _W8) } return 0x00000000 } function _7n2(_Ch, _V8, _W8) { var _Tj = _Fj._Gh(_Ch); if (!_Tj) return; _V8 = ~~_V8; _W8 = ~~_W8; _yb._UF(_Tj, 0, 0, _Tj._Od, _Tj._Pd, _V8, _W8, _Tj._Od, _Tj._Pd, 0xffffffff) } function _8n2(_SH, _V8, _W8, _TH) { _2q("surface_copy() (WebGL)") } function _9n2(_SH, _V8, _W8, _TH, _VH, _WH, _XH, _YH) { var _Ej = _Fj._Gh(_SH); var _Qj = _Fj._Gh(_TH); if (_Ej != null && _Qj != null) {} _2q("surface_copy_part() (WebGL)") } function _cn2(_U8, _V8, _W8, _vh, _wh, _Aj, _Bj) { _2q("sprite_add_from_screen() (WebGL)"); return - 1 } function _bn2(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _V8 = ~~_V8; _W8 = ~~_W8; _vh = ~~_vh; _wh = ~~_wh; var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); var _Kd = _sa._7k1(_QF, _Tj._tk1, _V8, _W8, _vh, _wh, _Aj, _Bj); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _Kd._gk1; _Kj._K3 = _Kd._hk1; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _vh; _Kj._x5 = _wh; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; _Kj._Ga.__b = _Kd; _Kj._Ga._Od = _QF.width; _Kj._Ga._Pd = _QF.height; var _Ij = new _Jj(); _Ij._Mj = _Kj; return _Nj._Oj(_Ij) } debug("Surface " + _Ch + " does not exist"); return - 1 } function _an2(_V8, _W8, _vh, _wh, _Aj, _Bj) { _V8 = ~~_V8; _W8 = ~~_W8; var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); var _Kd = _sa._0k1(_QF, _V8, _W8, _vh, _wh, _Aj, _Bj, (_Sn > 0)); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _Kd._gk1; _Kj._K3 = _Kd._hk1; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _vh; _Kj._x5 = _wh; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; _Kj._Ga.__b = _Kd; _Kj._Ga.width = _J3; _Kj._Ga.height = _K3; _Kj._Ga._Od = _J3; _Kj._Ga._Pd = _K3; var _Ij = new _Jj(); _Ij._Mj = _Kj; return _Nj._Oj(_Ij) } function _dn2(_Ch, _V8, _W8, _vh, _wh, _Aj, _Bj, _ZF, __F) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _V8 = ~~_V8; _W8 = ~~_W8; _vh = ~~_vh; _wh = ~~_wh; var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); var _Kd = _sa._7k1(_QF, _Tj._tk1, _V8, _W8, _vh, _wh, _Aj, _Bj); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _Kd._gk1; _Kj._K3 = _Kd._hk1; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _vh; _Kj._x5 = _wh; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; _Kj._Ga.__b = _Kd; _Kj._Ga._Od = _QF.width; _Kj._Ga._Pd = _QF.height; var _TF = new _0G(); _TF._Z2 = "surface.copy"; _TF.width = _vh; _TF.height = _wh; _TF._Iy = new _Iq(); _TF._Iy._q9 = _TF.width; _TF._Iy.bottom = _TF.height; _TF._03 = !0; _TF._13 = !0; _TF.preload = !0; _TF._3G = 0; _TF._4G = !1; _TF._23 = _ZF; _TF._33 = __F; _TF._5G = !0; _TF._P9 = 1; _TF._gG = 0; _TF._6G = !1; _TF._7G = !1; _TF._Q9 = []; _TF._VF = []; _TF._8G = []; _TF._9G(); _TF._VF[0] = _Kj; var _1G = _Ry._2G(_TF); return _1G } debug("Surface " + _Ch + " does not exist"); return - 1 } function _en2(_U8, _Ch, _V8, _W8, _vh, _wh, _Aj, _Bj) { var _Tj = _Fj._Gh(_Ch); if (_Tj != null) { _V8 = ~~_V8; _W8 = ~~_W8; _vh = ~~_vh; _wh = ~~_wh; var _QF = document.createElement(_cq); var _RF = _QF.getContext('2d'); _SF(_RF); var _Kd = _sa._7k1(_QF, _Tj._tk1, _V8, _W8, _vh, _wh, _Aj, _Bj); var _Kj = new _Lj(); _Kj._f3 = 0; _Kj._g3 = 0; _Kj._J3 = _fG.width; _Kj._K3 = _fG.height; _Kj._s5 = 0; _Kj._t5 = 0; _Kj._u5 = _Kj._J3; _Kj._v5 = _Kj._K3; _Kj._w5 = _Kj._J3; _Kj._x5 = _Kj._K3; _Kj._y5 = _WF(_QF); _Kj._Ga = _Ha[_Kj._y5]; _Kj._Ga.__b = _Kd; _Kj._Ga._Od = _QF.width; _Kj._Ga._Pd = _QF.height; _fG = _Ry._Gh(_U8); _fG._VF[_fG._VF.length] = _Kj; _fG._P9++; return _U8 } debug("Surface " + _Ch + " does not exist"); return - 1 } function _fn2(_Ch) { var _OA = _PA._Gh(_Ch); if (_OA) { var _2c, _882, _3o2, _ac, _cc, _ec, _aa, _ba, _x9, _y9; var _xk = ~~ ((_Ad * 255.0) << 24) | (0xff0000 & 0xffffff); var _yk = ~~ ((_Ad * 255.0) << 24) | (0x00ff00 & 0xffffff); var _Ea = 6 * (_OA._HA * _OA._GA); _2c = _sa._3c(_4c._5c, null, _sa._6c, _Ea); _Dp2 = _2c._9c << 1; _3o2 = _2c._9c; _2c._9c += _Ea; _ac = _2c._bc; _cc = _2c._dc; for (var _g3 = 0; _g3 < _OA._HA; _g3++) { for (var _f3 = 0; _f3 < _OA._GA; _f3++) { var _1b = _yk; if (_OA._KA[_g3 + _OA._GA * _f3] < 0) _1b = _xk; _aa = ~~ (_OA._EA + _f3 * _OA._IA); _ba = ~~ (_OA._FA + _g3 * _OA._JA); _x9 = _aa + _OA._IA; _y9 = _ba + _OA._JA; _ac[_Dp2 + 10] = _ac[_Dp2 + 8] = _ac[_Dp2 + 0] = _aa; _ac[_Dp2 + 11] = _ac[_Dp2 + 3] = _ac[_Dp2 + 1] = _ba; _ac[_Dp2 + 6] = _ac[_Dp2 + 4] = _ac[_Dp2 + 2] = _x9; _ac[_Dp2 + 9] = _ac[_Dp2 + 7] = _ac[_Dp2 + 5] = _y9; _cc[_3o2] = _cc[_3o2 + 1] = _cc[_3o2 + 2] = _cc[_3o2 + 3] = _cc[_3o2 + 4] = _cc[_3o2 + 5] = _1b; _Dp2 += 12; _3o2 += 6 } } return } _Xg("Error: invalid mp_grid ID (mp_grid_draw)") } function _gn2(_Ch, _DC, _EC, _zC) { var _FC = _GC._a3[_Ch]; if (!_FC) return; var _2c, _No2, _ac, _cc, _ec, _7c; var _1b = ~~ ((_Ad * 255.0) << 24) | (_Bd & 0xffffff); var _0a, _2a, _jr; var _HC = 0; var _IC = _FC._JC(0); if (!_zC) { _DC = _DC - _IC._f3; _EC = _EC - _IC._g3 } else { _DC = 0; _EC = 0 } _HC = _Xi(_FC.length / 4.0); if (_HC == 0) return; var _Ea = _HC * 2; _2c = _sa._3c(_4c._pd, null, _sa._6c, _Ea); _7c = _2c._8c() >> 2; _No2 = _7c * _2c._9c; _2c._9c += _Ea; _ac = _2c._bc; _cc = _2c._dc; for (var _H3 = 0; _H3 < _HC; _H3++) { _IC = _FC._JC(_H3 / _HC); _aa = ~~ (_DC + _IC._f3); _ba = ~~ (_EC + _IC._g3); _cc[_No2 + 0] = _1b; _ac[_No2 + 0] = _aa; _ac[_No2 + 1] = _ba; _No2 += _7c; _IC = _FC._JC((_H3 + 1) / _HC); _x9 = ~~ (_DC + _IC._f3); _y9 = ~~ (_EC + _IC._g3); _cc[_No2 + 0] = _1b; _ac[_No2 + 0] = _x9; _ac[_No2 + 1] = _y9; _No2 += _7c } } function _Gm2(__p) { _sa._Hj1(__p) } function _Zm2(_zh, _Ni1) { _3m2 = _zh; _4m2 = _Ni1; _sa._Mi1(_3m2, _4m2) } function __m2(_Ep2) { if (_Ep2) { _2x(0); } else { _4x(_wu, _vu) } } function _hn2(_Ca) { if (_Ca) { return 1.0 / _Ca._vd._Od } return 1.0 } function _in2(_Ca) { if (_Ca) { return 1.0 / _Ca._vd._Pd } return 1 } function _jn2(_aj1, _Ye) { _sa._Jj1(_aj1, _Ye._vd.__b) } function _kn2(_Fp2) { if (_bm2[_Fp2] && _bm2[_Fp2]._zi1) { return 1 } return 0 } function _ln2(_Fp2) { var _ii1 = (_Fp2 == -1) ? _En() : _bm2[_Fp2]._zi1; if (_ii1) { _sa._Dn(_ii1) } } function _mn2(_Fp2, _Gp2) { var _ii1 = (_Fp2 == -1) ? _En() : _bm2[_Fp2]._zi1; if (_ii1) { return _sa._xj1(_bm2[_Fp2]._zi1, _Gp2) } return undefined } function _nn2(_Aj1, _Bj1) { if (_Aj1) { _sa._Hp2(_Aj1, _Bj1) } } function _on2(_Aj1, _Bj1) { if (_Aj1) { _sa._Cj1(_Aj1, _Bj1) } } function _pn2(_Aj1, _Bj1) { if (_Aj1) { _sa._Dj1(_Aj1, _Bj1) } } function _qn2(_Fp2, _Ye) { if (_bm2[_Fp2]) { var _ii1 = _bm2[_Fp2]; if (_ii1) { for (var _H3 = 0; _H3 < _ii1._Ai1.length; _H3++) { if (_ii1._Ai1[_H3] == _Ye) { return Number(_H3) } } } } return 0 } function _rn2(_2I) { _k12 = _2I } function _sn2(_Aj1, _tu, _Fj1) { if (_tu instanceof Array) { var _Fi1 = new Int32Array(_tu); _sa._Ej1(_Aj1, _Fi1, _Fj1) } else { alert('ERROR: shader_set_uniform_i_array() Data is not an array') } } function _tn2(_Aj1, _tu, _Fj1) { if (_tu instanceof Array) { var _Fi1 = new Float32Array(_tu); _sa._Gj1(_Aj1, _Fi1, _Fj1) } else { alert('ERROR: shader_set_uniform_f_array() Data is not an array') } } function _un2(_Aj1, _tu) { if (_tu instanceof Array) { var _Fi1 = new Float32Array(_tu); _sa._Dj1(_Aj1, _Fi1) } else { alert('ERROR: shader_set_uniform_matrix_array() Data is not an array') } } function _wn2(_3x) {} function _xn2(_Ip2) { var _Di1 = _sa._lj1(); for (var _Ei1 = 0; _Ei1 < _Di1; _Ei1++) { _jX1(_Ei1, _Ip2) } } function _yn2(_aj1, _Ip2) { _7m2[_aj1] = _Ip2 ? !0 : !1; _sa._9j1(_aj1, _7m2[_aj1]) } function _zn2(_lX1) { var _Di1 = _sa._lj1(); for (var _Ei1 = 0; _Ei1 < _Di1; _Ei1++) { _mX1(_Ei1, _lX1) } } function _An2(_aj1, _lX1) { _sa._hj1(_aj1, _lX1 ? _4c._Al1: _4c._Bl1) } function _Bn2() { return _7m2[0] }; function _Cn2(_Ca) { if (typeof(_Ca) == "object") { return 1.0 } else if ((_Ca != -1) && _Ha[_Ca]) { return 1.0 } return 0 } function _Dn2(_Ca) { if (typeof(_Ca) == "object") { return 1.0 } else if ((_Ca != -1) && _Ha[_Ca]) { return 1.0 } return 0 } function _vn2() { return 1 } function _En2(_Bn) { _5m2 = (_Bn > 0.5) ? !0 : !1; _sa._7j1(_5m2, _6m2) } function _Fn2(_bt) { _6m2 = _bt; _sa._7j1(_5m2, _6m2) } function _Gn2() { return (_5m2 ? 1.0 : 0.0) } function _Hn2() { return _6m2 } function _Ko(_ce, _Vl) { _gp[_ce] = new _Gn(_Vl); switch (_ce) { case _em2: _sa._Tn(_gp[_ce]); _sa._Un((_Sn < 0) ? _4c._Vn: _4c._Wn); break; case _fm2: _sa._Mn(_gp[_ce]); break; case _Lo: _sa._Oj1(_gp[_ce]); break } } function _Uo(_ce) { switch (_ce) { case _em2: case _fm2: case _Lo: return _gp[_ce]; break } } function _Qn2() { if (_Yp._v3) { for (var _H3 = 0; _H3 < _Yp._v3.length; _H3++) { var _yi1 = _Yp._v3[_H3]; _bm2[_H3] = _sa._ui1(_yi1._wo, _yi1._Jp2, _yi1._Kp2) } } return ! 0 } function _Xm2(_Cd) { _ps = _Cd; _Bd = _Dd(_Cd) } function _0c(_lG) { if (!_lG.__b) { var _Kd = _sa._Qj1(_lG._Ga); _lG._Ga.__b = _Kd; _lG._Ga._Od = _lG._Ga.width; _lG._Ga._Pd = _lG._Ga.height } } var _Lp2 = 0; var _Mp2 = 100; var canvas = null; var _Np2, _Op2, _Pp2, _Qp2, _Rp2, _Sp2, _Tp2, _Up2; var _U32 = !1; var _yb = null; var g_CurrentGraphics; var _Vp2 = null; var _yH = null; var _Wp2 = 0; var _Xp2 = !1; var _Yp2 = 0; var _Zp2 = 0; var __p2 = 0; var _0q2 = 0; var _Wp = 0; var _1q2 = 0; var _gH1 = 60; var _2q2; var _3q2 = new Date().getTime(); var _4q2; var _5q2 = null; var _RG = -1; var _BL = -1; var _CL = -1; var _ij2 = !0; var _6q2 = !0; var _AL = !0; var _7q2 = -1; var _8q2 = -1; var _TG = -1; var _UG = -1; var _SG = !1; var _zL = !0; var _DL = { _f3: 0, _g3: 0, _J3: 0, _K3: 0 }; var _qj2 = !1; if (window.chrome && window.chrome.app) { _U32 = !0; try { if (window && window['localStorage']) { _U32 = !1 } } catch(e) {} } window.onload = _9q2; window.requestAnimFrame = (function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(_tR, _ge) { _2q2 = window.setTimeout(_tR, 1000 / 60) } })(); var _Up = null; function _9p1() { if (_FK1 == _PK1) { _pE1() } var _I3 = document.getElementById(_cq); var _xr = _I3.parentNode; var load = document.createElement('canvas'); load.style.position = "absolute"; load.style.left = "0px"; load.style.top = "0px"; load.width = _I3.width; load.height = _I3.height; load.setAttribute("id", "loading_screen"); _xr.insertBefore(load, _I3.nextSibling); _Vp2 = load.getContext('2d'); _SF(_Vp2); _Vp2._Lu(); _Vp2.globalCompositeOperation = 'copy'; _Vp2.fillStyle = _vv(0x00000000); _Vp2.globalAlpha = 1; _Vp2._Lv(0, 0, _I3.width, _I3.height); _Vp2._Su() } function _ap1() { var _I3 = document.getElementById(_cq); var _R9 = document.getElementById("loading_screen"); var _xr = _I3.parentNode; _xr.removeChild(_R9); _Vp2 = null; _Xp2 = !1; } function _Og(_fh1, _322) { _322.left = 0; _322.top = 0; _L52 = _fh1; { while (_L52 != null) { _322.left += _L52.offsetLeft; _322.top += _L52.offsetTop; _L52 = _L52.offsetParent } } _322._q9 = _322.left + _bI; _322.bottom = _322.top + _cI } function _aq2(_lz) { _qT1 = []; _zp1 = []; _Ap1 = []; _Bp1 = 0; var _Pt = _lz.search; var _dr = _lz.protocol + "//" + _lz.host + _lz.pathname; _zp1[0] = _dr; _Ap1[0] = null; if (_Pt[0] == "?") _Pt = _Pt.substring(1, _Pt.length); var index = start = 0; var _yp1 = ""; var _cf = null; while (index < _Pt.length) { var _I3 = _Pt[index]; if (_I3 == "&") { if (_yp1 != "") { if (start != index) _cf = _Pt.substring(start, index); _zp1[_zp1.length] = _yp1; _Ap1[_Ap1.length] = _cf; _qT1[_yp1] = _cf; _Bp1++; _yp1 = ""; _cf = null } start = index + 1 } else if (_I3 == "=") { _yp1 = _Pt.substring(start, index); _cf = null; start = index + 1 } index++ } if (_yp1 != "") { if (start != index) _cf = _Pt.substring(start, index); _zp1[_zp1.length] = _yp1; _Ap1[_Ap1.length] = _cf; _qT1[_yp1] = _cf; _Bp1++; _yp1 = _cf = "" } } function _672() { _Np2 = canvas.style.position; _Op2 = canvas.style.left; _Pp2 = canvas.style.top; _Qp2 = canvas.style; _Rp2 = canvas.parentNode; _Sp2 = canvas.nextSibling; _Tp2 = !1; _Up2 = canvas.margin; if ((_Rp2 == document.body) || (canvas.mozRequestFullScreen) || (canvas.webkitRequestFullScreen)) { _Tp2 = !0 } } function _9q2() { debug('------- GameMaker_Init -------------'); if (!document.getElementById || !document.createElement) return; canvas = document.getElementById(_cq); _yb = null; if (!canvas) return; _aq2(window.location); _Yp = _U2; _UU1(); if (_FK1 == _PK1) { _YD1(canvas) } _LH1(); _CT1 = !1; if ((_Yp._A5._P5) && (_Yp._A5._P5 != 0)) { _GT1 = _Yp._A5._F5; var _bq2 = undefined; if (_yz != _BK1) { _bq2 = _Jn2(canvas) } if (_bq2) { _yb = _sa } else { if (_Yp._A5._P5 == 1) { _CT1 = !0 } _yb = canvas.getContext('2d'); } } else { _yb = canvas.getContext('2d') } g_CurrentGraphics = _yb; _QT1 = canvas.width; _RT1 = canvas.height; if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") { _4h = _9T1 } else if (_Yp._A5._R5 == !0) { _4h = _5h } if (_FK1 == _PK1) { _4h = _5h } if (_4h == _5h) { try { g_WebAudioContext = new webkitAudioContext() } catch(e) { debug('Web Audio API not supported in this browser'); _4h = _aT1 } _tE() } document.body.style._cq2 = "hidden"; _yH = _yb; _9w = canvas.width; _bw = canvas.height; _bI = _9w; _cI = _bw; if (_FK1 != _PK1) { _BL = _bI; _CL = _cI } _zL = (_Yp._A5.scale != 0); _Pg = new _Iq(); _Og(canvas, _Pg); _dI = _Pg.top; _eI = _Pg.left; _fI = _Pg._q9; _gI = _Pg.bottom; if (_Yp._A5._nr) { _8r(_Yp._A5._nr) } else if (_Yp._A5 && _Yp._A5._B5 && _Yp._A5._3r) { _Yp._A5._3r() } _672(); _SF(_yb); if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined") { document.body.oncontextmenu = function() { return ! 1 } } _mh(); _lV1 = document.getElementById('GM4HTML5_loadingscreen'); if ((_Yp._A5 && _Yp._A5._B5) || (_Yp._A5 && _Yp._A5._B5 == undefined)) { _Tp = !0 } if (_sa && _Tp) { debug("WebGL Enabled!"); debug("Max Texture Size=" + _sa._9i1()) } _rV1(); _JK(); if (_CT1) { _Wp2 = -2 } else { if (_Tp) _w6._M02 = _Yp._A5._B5; _7p1 = ""; _8p1 = function() {}; if (_Yp._A5) { if (_Yp._A5._6p1) { _7p1 = _Yp._A5._6p1 } } if (_7p1 != "") { __V1(_Yp); _Wp2 = -1 } else { _4W1(_Yp); _Wp2 = 0 } } if (typeof(_Yp._A5.GenerateSpotifyApp) != "undefined") { if (_sa) _5q2 = setInterval(_dq2, 1000 / (30)); else _5q2 = setInterval(_dq2, 1000 / (20)) } else { requestAnimFrame(_dq2); } } function _dq2() { if (typeof(_Yp._A5.GenerateSpotifyApp) == "undefined" || _5q2 == null) { requestAnimFrame(_dq2) } switch (_Wp2) { case - 2 : { if (_Xp2) _ap1(); _eq2(_yb, _bI, _cI); break } case - 1 : if (_jV1 == _kV1) { _4W1(_Yp); _Wp2 = 0; if (!_Xp2) { _9p1(); _Xp2 = !0 } _7p1(_Vp2, _bI, _cI, _iV1, _tF, _lV1) } break; case 0: if (!_Xp2) { _9p1(); _Xp2 = !0 } if (_tF >= _iV1) { _tF = _iV1; _Wp2 = 1 } _cW1(); _7p1(_Vp2, _bI, _cI, _iV1, _tF, _lV1); break; case 1: _ap1(); _qW1(_Yp); _Wp2 = 2; break; case 2: _8p1(); _fq2(); _Wp2 = 3; _w6._N_1 = new Date().getTime(); break; case 3: _gq2(); break } } function _hq2(_Z12, _f3, _g3, _b5, text) { _Z12.fillStyle = _b5; _Z12.lineStyle = _b5; _Z12.font = "14px Verdana";; _Z12.textAlign = "center"; _Z12.fillText(text, _f3, _g3); _Z12.textAlign = "left" } function _eq2(_Z12, _Aa, _Ba) { _Z12.fillStyle = _Uj(0x151515, 1.0); _Z12.fillRect(0, 0, _Aa, _Ba); _hq2(_Z12, _Aa / 2, (_Ba / 2), _Uj(0x8d8f90, 1.0), "WebGL is Required to run this application.") } function _6W1(_yb, _Aa, _Ba, _iq2, _jq2, _kq2) { _yb.globalAlpha = 1; if (_kq2) { _yb.save(); _yb.fillStyle = _Uj(0, 1); _yb.globalCompositeOperation = 'copy'; _yb.fillRect(0, 0, _Aa, _Ba); _yb.restore(); _yb.drawImage(_lV1, 0, 0, _Aa, _Ba) } else { var _lq2 = (_Aa / 100) * 50; var _mq2 = 2; var _f3 = (_Aa - _lq2) / 2; var _g3 = 10 + (_Ba - _mq2) / 2; _yb.fillStyle = _Uj(0x151515, 1.0); _yb.fillRect(0, 0, _Aa, _Ba); if (_jq2 != 0) { var _J3 = (_lq2 / _iq2) * _jq2; _yb.fillStyle = _Uj(0x404040, 1.0); _yb.fillRect(_f3, _g3, _lq2, _mq2); _yb.fillStyle = _Uj(0x8d8f90, 1.0); _yb.fillRect(_f3, _g3, _J3, _mq2) } _hq2(_yb, _Aa / 2, (_Ba / 2), _Uj(0x8d8f90, 1.0), "Loading") } } function _nq2(_Bj2) { _Nj._zg(); var _oq2 = _Bj2._HD._d5; for (var _H3 = 0; _H3 < _oq2.length; _H3++) { _Nj._Wh(_oq2[_H3]); var _hZ1 = _Nj._Gh(_H3); var _pq2 = _Nj._Xj(_H3); _w6._T_1[_H3] = _hZ1._Q3; _w6._U_1[_H3] = _hZ1._7Z1; _w6._V_1[_H3] = _hZ1.index; _w6._W_1[_H3] = _hZ1._f3; _w6._X_1[_H3] = _hZ1._g3; if (_pq2) { _w6._Y_1[_H3] = _pq2._Mj._J3; _w6._Z_1[_H3] = _pq2._Mj._K3 } else { _w6._Y_1[_H3] = 0; _w6._Z_1[_H3] = 0 } _w6.___1[_H3] = _hZ1._8Z1; _w6._002[_H3] = _hZ1._9Z1; _w6._102[_H3] = _hZ1._dZ1; _w6._202[_H3] = _hZ1._eZ1; _w6._402[_H3] = _hZ1._bZ1; _w6._302[_H3] = _hZ1._aZ1; _w6._502[_H3] = _hZ1._iX1; _w6._602[_H3] = _hZ1.alpha } _w6._R_1 = _Bj2._Vh2 } function _qq2(_Mg2, _rq2) { if (_H8) _H8._tj2(); var _sq2 = _H8; _LD = -1; _dy._g9(_bL1, 0); _n82(); var _65 = []; if (_sq2 != null) { for (var _H3 = _sq2._Fy.length - 1; _H3 >= 0; _H3--) { var _Ay = _sq2._Fy._Gh(_H3); if (_Ay._65) { _65[_65.length] = _Ay; _Ay._tq2 = !0 } } for (var _H3 = _65.length - 1; _H3 >= 0; _H3--) { _sq2._Fy._MK(_65[_H3]) } if (_sq2._Th2 === !1) { _sq2._Di2() } else { for (var _H3 = _sq2._Fy.length - 1; _H3 >= 0; _H3--) { var _Ay = _sq2._Fy._Gh(_H3); _Ay._Oy._v42(_Ay) } } } _dh._zg(); _0f._zg(); _Og2(); _H8 = _FD._Gh(_Mg2); var _uq2 = _H8._Th2; if (_uq2 === !0 && _H8._Uh2 === !1) { _uq2 = !1 } if (_uq2 === !1) { _H8._zW1(_H8._HD); _H8._Mi2() } else { _H8._7i2(_H8._Hn1); _H8._8i2(_H8._In1); _H8._9i2(_H8._Sh2); _H8._bi2(_H8._Rh2); _H8._R02(_H8._Th2); _H8._Mi2(); for (_H3 = _H8._Fy.length - 1; _H3 >= 0; _H3--) { var _Ay = _H8._Fy._Gh(_H3); _Ay._Oy._w42(_Ay) } } _w6._F_1 = _H8.id; _H8._Hi2(); _7j2(); _nq2(_H8); if (_uq2 === !1) { _H8._yi2(); _H8._Di2(); _H8._Di2(); _Fy = new _ne2(); var _vq2 = _H8._HD._h5; for (var _R9 = 0; _R9 < _H8._HD._h5.length; _R9++) { var _AZ = !1; var _wq2 = _H8._HD._h5[_R9]; if (_wq2.index >= 0) { for (var _vb = _65.length - 1; _vb >= 0; _vb--) { if (_wq2.id == _65[_vb].id) { _AZ = !0; break } } if (!_AZ) { var _QA = _H8._w42(_wq2._f3, _wq2._g3, _wq2.id, _wq2.index, _wq2._E3, _wq2._F3, _wq2._i5, _wq2._b5); _QA._tq2 = !1 } } } var _vq2 = _H8._HD._h5; for (var _R9 = 0; _R9 < _H8._HD._h5.length; _R9++) { var _wq2 = _H8._HD._h5[_R9]; var _QA = _dy._Gh(_wq2.id); if (_QA && (_QA._tq2 == !1)) { _QA._tq2 = !0; if (!_DT1) { if (_wq2._wi2) _wq2._wi2(_QA); _QA._g9(_0j, 0, _QA, _QA) } else { _QA._g9(_0j, 0, _QA, _QA); if (_wq2._wi2) _wq2._wi2(_QA) } } } } for (var _vb = 0; _vb < _65.length; _vb++) { _H8._Fy._Wh(_65[_vb]); _65[_vb]._Sy() } if (_rq2) { _dy._g9(_8L1, 0) } if ((_uq2 == !1) && (_H8.__h2 != null)) { _xq2 = new _YU1(); _H8.__h2(_xq2); _xq2 = null } _dy._g9(_aL1, 0); _H8._Uh2 = !0 } function _yq2(_zq2) { _qq2(_zq2, !1) } function _fq2() { _w6.__6 = 0; _w6._I_1 = -1; _JT1 = 0; _KT1 = -1; _LT1 = 0; _MT1 = 0; _qq2(_FD._MD(0).id, !0); _Yp2 = _Zp2 = _TJ(); _0q2 = ~~ (_Yp2 / 1000000) + 4; _w6._w02 = _gH1; _w6._x02 = _gH1 } function _Aq2() { _hT1 = []; _iT1 = []; _RG1 = -1; _QG1 = -1; _PG1 = 0; _H8._Fy._zg(); _H8._0i2._zg(); var _3i = _Ys._Gv1; for (var _H3 = 0; _H3 < _3i.length; _H3++) { var _li = _3i[_H3]; _li._yI1._zg(); _li._Zs._zg() } _dy._zg() } function _Bq2() { _dh._o82() } function _Cq2() { if (_H8._r42.length > 0) _H8._xj2(); if (_H8._Fy._oe2 >= 0) _H8._Fy._r82() } function _Dq2() { if (_H8._kD) { _H8._kD._Ag(_H8._Sh2) } else { _dy._m62() } } function _Eq2() { if ((_H8._kD == null) || (_H8._kD == undefined)) { _2I1() } } function _Fq2() { _w6._M_1 = (_4q2 - _w6._N_1) * 1000; _w6._N_1 = _4q2; _dh._w72(); _MH1(); _0f._Ag(); _dy._l62(); _dy._n62(); _Cq2(); if (_LD != -1) return; _dy._g9(_6L1, 0); _Cq2(); if (_LD != -1) return; if (_To1) { _To1 = !1; _dy._g9(_PL1, 0) } _xq._2Z1(); _Cq2(); if (_LD != -1) return; _II1(); _Cq2(); if (_LD != -1) return; _RI1(); _Cq2(); if (_LD != -1) return; _k82(); _Cq2(); if (_LD != -1) return; _fI1(); _Cq2(); if (_LD != -1) return; _dy._g9(_5L1, 0); _Cq2(); if (_LD != -1) return; _Dq2(); _NH1(); _Cq2(); if (_LD != -1) return; _ay(); _PI(); _Cq2(); if (_LD != -1) return; _Eq2(); _Cq2(); if (_LD != -1) return; _dy._g9(_7L1, 0); _Cq2(); if (_LD != -1) return; _4h2(); if (_H8 != null) { _H8._tj2(); if (_zT1) { _H8._6b(); _Cq2() } } _H8._Pi2(); _Bq2(); _rE() } function _7j2() { var left, _q9, top, bottom; left = 0; _q9 = -999999; top = 0; bottom = -999999; if (_H8._Kg) { for (var _H3 = 0; _H3 < _H8._Mg.length; _H3++) { _Ng = _H8._Mg[_H3]; if (_Ng._Q3) { if (_q9 < _Ng._nH + _Ng._pH) _q9 = _Ng._nH + _Ng._pH; if (bottom < _Ng._oH + _Ng._qH) bottom = _Ng._oH + _Ng._qH; } } } else { left = 0; _q9 = _H8._Hn1; top = 0; bottom = _H8._In1; _eT1._pH = _eT1._lH = _q9; _eT1._qH = _eT1._mH = bottom } if (_6q2) { if (!_AL) { _BL = _7q2; _CL = _8q2 } } else { _BL = _bI; _CL = _cI; if (_VG(_RG)) { _1H(_RG); _RG = -1 } } _AL = _6q2; _jI = _bI; _kI = _cI; _lI = _BL / (_q9 - left); _mI = _CL / (bottom - top); var _T9 = new _Iq(); _T9.left = left; _T9.top = top; _T9._q9 = _q9; _T9.bottom = bottom; _gH = _T9; _uL() } function _P02() { var _J3 = 640; if (typeof(window.innerWidth) == 'number') { _J3 = window.innerWidth } else if (document.documentElement && document.documentElement.clientWidth) { _J3 = document.documentElement.clientWidth } else if (document.body && document.body.clientWidth) { _J3 = document.body.clientWidth } return _J3 } function _Q02() { var _K3 = 480; if (typeof(window.innerHeight) == 'number') { _K3 = window.innerHeight } else if (document.documentElement && document.documentElement.clientHeight) { _K3 = document.documentElement.clientHeight } else if (document.body && document.body.clientHeight) { _K3 = document.body.clientHeight } return _K3; } var _Gq2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; function _VZ1(_2u, length) { var _4u = ""; var _Hq2, _Iq2, _Jq2 = ""; var _Kq2, _Lq2, _Mq2, _Nq2 = ""; var _H3 = 0; do { _Hq2 = _2u.charCodeAt(_H3++); _Iq2 = _2u.charCodeAt(_H3++); _Jq2 = _2u.charCodeAt(_H3++); _Kq2 = _Hq2 >> 2; _Lq2 = ((_Hq2 & 3) << 4) | (_Iq2 >> 4); _Mq2 = ((_Iq2 & 15) << 2) | (_Jq2 >> 6); _Nq2 = _Jq2 & 63; if (isNaN(_Iq2)) { _Mq2 = _Nq2 = 64 } else if (isNaN(_Jq2)) { _Nq2 = 64 } _4u = _4u + _Gq2.charAt(_Kq2) + _Gq2.charAt(_Lq2) + _Gq2.charAt(_Mq2) + _Gq2.charAt(_Nq2); _Hq2 = _Iq2 = _Jq2 = ""; _Kq2 = _Lq2 = _Mq2 = _Nq2 = "" } while ( _H3 < length ); return _4u } function _Oq2(data, _Pq2, _Qq2, _UZ1, _Rq2) { var _Bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var _Ct, _Dt, _Et, _Ft, _Gt, _Ht, _It, _Jt; var _H3 = 0; var _Kt = _UZ1; var _Lt = ""; if (!data) { return data } data += ''; do { _Ft = _Bt.indexOf(data.charAt(_H3++)); _Gt = _Bt.indexOf(data.charAt(_H3++)); _Ht = _Bt.indexOf(data.charAt(_H3++)); _It = _Bt.indexOf(data.charAt(_H3++)); _Jt = _Ft << 18 | _Gt << 12 | _Ht << 6 | _It; _Ct = _Jt >> 16 & 0xff; _Dt = _Jt >> 8 & 0xff; _Et = _Jt & 0xff; if (_Ht == 64) { _Qq2[_Kt++] = _Ct; if (_Kt >= _Pq2) return _Qq2 } else if (_It == 64) { _Qq2[_Kt++] = _Ct; if (_Kt >= _Pq2) return _Qq2; _Qq2[_Kt++] = _Dt; if (_Kt >= _Pq2) return _Qq2 } else { _Qq2[_Kt++] = _Ct; if (_Kt >= _Pq2) return _Qq2; _Qq2[_Kt++] = _Dt; if (_Kt >= _Pq2) return _Qq2; _Qq2[_Kt++] = _Et; if (_Kt >= _Pq2) return _Qq2 } } while ( _H3 < data . length ); if (_Rq2 && _Sq2 < _Pq2) { _Qq2[_Sq2++] = '\0' } return _Qq2 } function _Tq2() { _Og(canvas, _Pg); _dI = _Pg.top; _eI = _Pg.left; _fI = _Pg._q9; _gI = _Pg.bottom; if (_U2._A5) { if (!_U2._A5._F5) { _yb.mozImageSmoothingEnabled = !1; _yb.webkitImageSmoothingEnabled = !1; _yb.imagerendering = "pixelated"; _yb.imageSmoothingEnabled = !1; _yb.msInterpolationMode = "nearest-neighbor" } } if ((_QT1 != canvas.width) || (_RT1 != canvas.height)) { _To1 = !0 } _QT1 = canvas.width; _RT1 = canvas.height; var _J3 = _P02(); var _K3 = _Q02(); if ((_AT1) && (!_HT1)) { if ((_hI != _J3) || (_iI != _K3)) { _HT1 = !0; _AT1 = !1 } if (canvas.mozRequestFullScreen) { if (!document.mozFullScreen) { _HT1 = !0; _AT1 = !0 } } } if (_HT1) { _HT1 = !1; if (_AT1) { _J3 = _9w; _K3 = _bw; _AT1 = !1; canvas.style.position = _Np2; canvas.style.left = _Op2; canvas.style.top = _Pp2; canvas.style.margin = _Up2; canvas.style = _Qp2; if (!_Tp2) { if (canvas.parentNode != _Rp2) { _Rp2.insertBefore(canvas, _Sp2) } } } else { _AT1 = !0; _T6(0, 0); if (!_Tp2) { if (canvas.parentNode == _Rp2) { _Rp2.removeChild(canvas); document.body.insertBefore(canvas, null) } } } canvas.width = _J3; canvas.height = _K3; _bI = canvas.width; _cI = canvas.height; _eI = canvas.offsetLeft; _fI = _eI + _bI; _dI = canvas.offsetTop; _gI = _eI + _cI; _hI = _bI; _iI = _cI; _jI = _J3; _kI = _Uq2 = 1; _mI = 1; _7j2() } if (_FK1 == _PK1) { if (_Zp2 > (_UD1 + 1000000)) { _tE1(); _UD1 = _Zp2 } } } var _Vq2 = 0; var _Wq2 = 0.0; function _gq2() { _Zp2 = _TJ(); if (_Zp2 < _Yp2 || ((_Zp2 - _Yp2) > 2000000)) { _Yp2 = _Zp2; _0q2 = _Yp2 } if (_H8._I8() <= 0) { _H8._9i2(1) } _4q2 = new Date().getTime(); _Wp = ~~ (_Zp2 - _Yp2); _Wq2 = ~~ (1000000.0 / _H8._I8()) - _Wp; __p2 = max(0, _Wq2); __p2 = min(__p2, 1000000.0); var _Xq2 = 1000000.0 / _H8._I8(); if (__p2 > 14000) return; _Yp2 = _Zp2 + __p2; if (_Yp2 < _0q2) { _0q2 = _Yp2 } if (~~_Yp2 > (_0q2 + 1000000)) { _gH1 = _1q2; _1q2 = 0; _0q2 = ~~_Yp2; _Yp2 = 0 } _1q2++; _w6._w02 = _gH1; if (!_Ro1) { _Mk2 = 0; _Tq2(); if (_H8 === null) { _eT1._Rg = _eT1._rH = _eT1._pH = _eT1._lH = _bI; _eT1._Tg = _eT1._sH = _eT1._qH = _eT1._mH = _cI } else { _7j2() } if (_LD < 0) _m22(); { _Fq2() } if (_Vq2 < _Mk2) _Vq2 = _Mk2; if (_LD < 0) _o22(); switch (_LD) { case - 1 : break;; case _QD: case _UK1: _Yq2 = !1; return; case _SK1: _Aq2(); _FD._Dj2(); _fq2(); break; case _TK1: _qW1(); break; default: _yq2(_LD) } } if (_Yp._A5 && _Yp._A5._B5 && _Yp._A5._Zq2) { _Yp._A5._Zq2(); } }